more-io/claude-apple-bridges
About
Swift CLI bridges giving Claude Code native access to Apple Reminders, Calendar, Contacts, Notes, Mail and tmux — includes Claude Code skill with full command reference
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalClaude Apple Bridges
Swift CLI tools that give Claude Code native access to Apple apps — Reminders, Calendar, Contacts, Notes, Mail, and tmux. Includes a Claude Code skill (/apple-bridges) with complete command reference for all bridges.
Usage Examples with Claude Code
Once set up, you can ask Claude naturally in any Claude Code session. Here are real-world examples:
Task & Project Management
"What's on my todo list for today?"
Claude checks your Reminders and summarizes open items with due dates and priorities.
"I just finished the login bug fix — mark the GitHub issue and the reminder as done."
Claude closes the GitHub issue and calls reminders-bridge complete in one step.
"Add a reminder to my 'Work' list to review the PR tomorrow morning."
Claude creates the reminder with a due date set to tomorrow at 9:00.
Calendar-Aware Scheduling
"I want to work on the Android release tomorrow — find a free slot and set a reminder."
Claude checks calendar-bridge tomorrow, finds a free window, and sets the reminder due date accordingly — no double-booking.
"What do I have going on this week? Block some time for code review."
Claude reads your calendar for each day, spots gaps, and adds events or reminders where they fit.
"Schedule our next planning session for next Monday at 10am in my Work calendar."
Claude calls calendar-bridge add directly without you having to open Calendar.
Contacts Lookup
"What's Rob's phone number?"
Claude searches your Contacts and returns the number directly — no need to open the Contacts app.
"Add Alex to my contacts: +49 123 456789, [email protected]"
Claude calls contacts-bridge add and confirms once saved.
"Show me all details for my contact Thomas."
Claude returns name, phone, email, address and birthday in one view.
Development Workflow Integration
"Start working on issue #42 — create a reminder to track it and add the 'in progress' label."
Claude adds a GitHub label, creates a Reminders entry with the issue number in the notes, and sets a due date.
"We finished the feature — close the issue, complete the reminder, and write the release note."
Claude handles all three in one go.
"What are my open todos related to this project?"
Claude reads your Reminders list and cross-references with open GitHub issues for a full picture.
End-of-Day / Planning
"Summarize what we did today and create reminders for anything we didn't finish."
Claude reviews the session, identifies incomplete work, and adds follow-up reminders with appropriate due dates.
"Set reminders for all open todos so they show up in my Calendar tomorrow after my meetings."
Claude reads tomorrow's calendar first to avoid conflicts, then sets due times in the free slots.
Bridges
reminders-bridge
Access and manage Apple Reminders from Claude Code.
reminders-bridge lists List all reminder lists
reminders-bridge create-list <name> Create a new list
reminders-bridge rename-list <old> <new> Rename an existing list
reminders-bridge delete-list <name> Delete a list (and all its reminders)
reminders-bridge items <list> Show all reminders in a list
reminders-bridge incomplete <list> Show only incomplete reminders
reminders-bridge today Show reminders due today (all lists)
reminders-bridge overdue Show all overdue reminders (all lists)
reminders-bridge search <query> Search by title/notes across all lists
reminders-bridge add <list> <title> [notes] Add a new reminder
[--due <datetime>] [--repeat <freq>] [--interval <n>] … optionally due + repeating in one call
reminders-bridge set-due <list> <title> <datetime> Set due date (YYYY-MM-DD HH:mm)
reminders-bridge set-repeat <list> <title> <freq> [n] Set repeat: daily|weekly|monthly|yearly, every n; none removes it
reminders-bridge set-notes <list> <title> <notes> Set or update notes
reminders-bridge rename <list> <oldTitle> <newTitle> Rename a reminder (title only, preserves notes/due)
reminders-bridge complete <list> <title> Mark a reminder as complete
reminders-bridge delete <list> <title> [--force] Delete a reminder (dry-run without --force)
A repeat needs a due date — EventKit repeats from it, so the weekday or day of month comes from the due date. set-repeat on a reminder without one fails with exit 1 and tells you to run set-due first; add --repeat without --due is rejected before anything is created. Output reads back as [repeats: weekly] / [repeats: monthly (every 2)] in items, incomplete and search.
calendar-bridge
Read and write Apple Calendar events from Claude Code.
calendar-bridge calendars List all calendars
calendar-bridge today Show today's events
calendar-bridge tomorrow Show tomorrow's events
calendar-bridge week Show this week's events
calendar-bridge events <YYYY-MM-DD> Show events for a date
calendar-bridge free-slots <YYYY-MM-DD> Show free time slots (08:00–20:00)
calendar-bridge search <query> Search events by title (next 365 days)
calendar-bridge add <cal> <title> <start> <end> Add event (YYYY-MM-DD HH:mm)
calendar-bridge add-all-day <cal> <title> <YYYY-MM-DD> Add all-day event
calendar-bridge delete <cal> <title> <YYYY-MM-DD> [--force] Delete event (dry-run without --force)
contacts-bridge
Search and manage Apple Contacts from Claude Code.
contacts-bridge search <query> Search by name, email or phone
contacts-bridge show <name> Show full details for a contact
contacts-bridge add <firstName> <lastName> [phone] [email] Add a new contact
contacts-bridge update <name> phone <value> [label] Add a phone (append, keeps existing)
contacts-bridge update <name> email <value> [label] Add an email (append, keeps existing)
contacts-bridge remove <name> phone|email <value> Remove a matching phone/email
contacts-bridge delete <name> [--force] Delete a contact (dry-run without --force)
contacts-bridge birthdays-today Contacts with birthday today
contacts-bridge birthdays-upcoming <days> Upcoming birthdays in next N days
notes-bridge
Read and write Apple Notes from Claude Code.
notes-bridge accounts List all accounts
notes-bridge folders [account] List folders (default: iCloud)
notes-bridge list [folder] [account] List notes with modification date
notes-bridge search <query> Search by title and content across all accounts
notes-bridge read <title> [--html] [account] Read note content (plain text; --html for raw HTML)
notes-bridge add <folder> <title> <body|--file path> [account] Create a new note
notes-bridge append <title> <text|--file path> [account] Append text to an existing note
notes-bridge update <title> <body|--file path> [account] Replace a note's content (title kept)
notes-bridge move <title> <folder> [account] Move a note to another folder
notes-bridge delete <title> [--force] [account] Delete a note (dry-run without --force)
Formatting: The body and text parameters support HTML — Notes.app renders it natively. A
plain newline — from --file or from a $'a\nb' argument — becomes a line break, so a text file
keeps its shape; a newline that merely separates two block tags does not add an empty line.
Titles: Notes takes a note's title from the first line of its body, so the bridge writes it
there as a heading. read and read --html hand that line back, and feeding their output into
update does not produce a second title. A note in "Recently Deleted" is never found by title —
only the live note is read, moved, changed or deleted.
# Plain text note
notes-bridge add "Ideas" "Shopping" "Milk, Bread, Eggs"
# Rich note with HTML formatting
notes-bridge add "Work" "Meeting Notes" "<b>Attendees:</b> Tobias, Heiko<br><br><ul><li>Discussed Q1 roadmap</li><li>Next steps: review PR</li></ul>"
# Append a formatted section
notes-bridge append "Meeting Notes" "<br><b>Follow-up:</b><br><ul><li>Send report by Friday</li></ul>"
Supported HTML tags: <b>, <i>, <u>, <br>, <ul>, <ol>, <li>, <h1>–<h3>, <a href="...">, <p>
mail-bridge
Read and send Apple Mail messages from Claude Code.
mail-bridge accounts List all email accounts
mail-bridge mailboxes [account] List mailboxes (default: first account)
mail-bridge list [mailbox|account] [account] [count] List recent messages (auto-detects account names)
mail-bridge unread [mailbox|account] [account] [--all] [--max N] [--since X] List unread — fast (server-side filter); --all = every account
mail-bridge search <query> [max_results] [account] [--unread] [--since X] Search subject/sender — output includes <mid:...> for each hit
mail-bridge read <index> [mailbox] [account] Read message (unread status preserved)
mail-bridge read <index> [mailbox] [account] --mark-read Read message and mark as read
mail-bridge read <index> [mailbox] [account] --raw Read raw RFC822 source (HTML + MIME attachments)
mail-bridge read --mid <message-id> [account] [--mark-read] [--raw] Read by RFC822 message-id (no listing needed) — fetches full body
mail-bridge send <to> <subject> <body> [/attachment] [--from <email>] Opens compose window — user reviews and sends manually
mail-bridge send <to> <subject> <body> [/attachment] [--from <email>] --force Sends directly without UI
mail-bridge delete <index> [mailbox] [account] [--force] Move to Trash (dry-run without --force)
--since accepts Nd / Nw / Nm (days/weeks/months), a bare integer (days), or YYYY-MM-DD.
Unread / search performance: both commands push the filter into Mail.app via a whose clause, so Mail scans the mailbox internally instead of the bridge fetching every message's properties over IPC. On a 50k-message INBOX the old behaviour took minutes; the filtered variant returns in ~1s per account. Use --since 7d to narrow further on servers that index slowly.
# All unread across every account, last 7 days, cap at 20
mail-bridge unread --all --since 7d --max 20
# Only unread results when searching
mail-bridge search "invoice" --unread --since 30d
--mid example — fetch a specific message without knowing its INBOX index:
search now prints an <mid:...> token for every hit (RFC822 Message-ID).
Pass it to read --mid to fetch the full message directly — no expensive
list walk required, and Mail.app downloads the body if it was only
partially cached.
mail-bridge search "invoice" 50 [email protected] --since 90d
# Found 7 message(s) (last 90d):
# <mid:[email protected]> Invoice #4711 — [email protected] (3/15)
# ...
mail-bridge read --mid "[email protected]" [email protected] --raw > /tmp/mail.eml
--raw example — extract PDF attachments from invoice emails:
# Dump the raw message source (RFC822, includes HTML body + MIME attachments)
mail-bridge read 42 INBOX [email protected] --raw > /tmp/mail.eml
# Then parse with Python to save any PDF attachment
python3 <<'EOF'
import email
raw = open('/tmp/mail.eml').read().split('\n---\n', 1)[1]
msg = email.message_from_string(raw)
for part in msg.walk():
fn = part.get_filename() or ''
if fn.endswith('.pdf'):
open(f'/tmp/{fn}', 'wb').write(part.get_payload(decode=True))
print('Saved', fn)
EOF
Use --raw when the default plain-text body strips URLs, images, or attachments you need (e.g. Stripe invoice links, PDF receipts, ticket attachments).
Send examples:
# Ask Claude to draft a reply → compose window opens in Mail.app for review:
mail-bridge send [email protected] "Betreff" "Hallo Heiko, ..."
# Claude sends automatically without user interaction (explicit intent required):
mail-bridge send [email protected] "Betreff" "Hallo Heiko, ..." --force
# With attachment and explicit sender:
mail-bridge send [email protected] "Report" "See attached." /tmp/report.pdf --from [email protected] --force
--html-file arrives quoted, and that is Mail, not the bridge. Mail does not
take assigned HTML as the message body. It wraps it in
Apple-Mail-URLShareWrapperClass and a <blockquote type="cite">, and the
plain-text alternative it derives from that blockquote arrives with > in front
of every line. The HTML part itself is intact and HTML clients show no quote —
the blockquote is styled to inherit colour, padding and margin. AppleScript
cannot set the text part: assigning content after html content replaces the
HTML inside the wrapper instead of adding a text alternative, which costs the
HTML and keeps the quoting. Measured on macOS 27.2 (Apple FB11734014). The
bridge says so on stderr on every --html-file send rather than let it surprise
anyone, and it tells you when a <body> argument is being ignored because
--html-file supplies the body.
A send that fails, fails fast. Mail stops answering Apple events while a
dialog sits in front of it, and a script waiting on it would hang for the Apple
event default of two minutes — long enough for an unattended caller to time out,
kill the bridge, and leave the message Mail already built on screen as an unsent
compose window, one more per retry. The send therefore runs under an explicit
timeout of 30 seconds, plus 15 per attachment, and closes the message again
before exiting non-zero — Mail files it under Drafts, so nothing stays on screen
and nothing is lost. MAIL_BRIDGE_TIMEOUT=<seconds> overrides the timeout for a
slow server or a large attachment.
tmux-bridge
Read and write tmux session contents from Claude Code — great for end-of-day summaries and interactive terminal control.
tmux-bridge sessions List all running sessions
tmux-bridge windows [session] List windows in a session
tmux-bridge panes [session] List all panes with path and command
tmux-bridge read <target> [lines] Read pane content (e.g. main:1.1, default: 1000 lines)
tmux-bridge write <target> <text> [--no-enter] Send keystrokes to a pane
tmux-bridge snapshot [session] [lines] Capture all panes at once (default: 5000 lines)
Write examples:
# Send a command (text + Enter)
tmux-bridge write main:0.0 "ls -la"
# Send text without pressing Enter
tmux-bridge write main:0.0 "partial input" --no-enter
Typical workflow: run your work in named tmux sessions, then ask Claude at the end of the day:
"Read tmux-bridge snapshot and summarize what I worked on today."
Large panes (fixed 18.09.2026): before this fix, read and snapshot could hang forever on a pane with a lot of scrollback. The bridge waited for tmux capture-pane to exit before reading its output — but once that output is bigger than the pipe buffer (16 KB, which macOS grows to 64 KB at most), tmux blocks on write and never exits. Whether a pane of ~30 KB hung depended on how far the buffer had grown, so it looked random; above 64 KB it hung every time. The bridge now drains the pipe first and waits second. test.sh builds a >64 KB pane and fails with a timeout if the deadlock ever returns. If a watcher or orchestrator reading panes through the bridge seemed to stall, rebuild with make install-tmux.
messages-bridge
Read and send Apple Messages (iMessage / SMS) from Claude Code.
messages-bridge chats [count] List recent conversations (default: 20)
messages-bridge unread [count] List unread incoming messages (default: 20)
messages-bridge list <chat|handle> [count] List messages of a conversation (default: 20)
messages-bridge search <query> [count] Search message bodies (default: 20)
messages-bridge read <chat|handle> [count] Full untruncated messages (default: 10)
messages-bridge send <handle> <text> [/path/to/attachment ...]
Send a message, optionally with files
A conversation can be addressed by phone number, email address, group name, or contact name:
messages-bridge list "Anna Muller" 10
messages-bridge send "+491701234567" "On my way"
# with files — each is delivered as its own message after the text
messages-bridge send "+491701234567" "Here are the documents" ~/Documents/offer.pdf ~/Documents/terms.pdf
# files only, no text
messages-bridge send "[email protected]" "" ~/Pictures/floorplan.png
How it reads: straight from ~/Library/Messages/chat.db, opened read-only. Apple stores the body of many newer messages only as an archived NSAttributedString in attributedBody and leaves text empty — about a quarter of the rows here. The bridge decodes that typedstream, so those messages do not come back blank. Sender names are resolved through Contacts; unknown handles are shown as-is.
Permissions: reading needs Full Disk Access for the terminal; sending needs Automation -> Messages. The Automation prompt appears on first send, but Full Disk Access must be granted manually in System Settings before the first read.
A file transfer is verified, not assumed. Messages accepts the AppleScript
send before it tries to hand the file over, so a refused file used to be
reported as sent. With files, send now checks chat.db afterwards: exit 0
means every file really went out, exit 1 that Messages refused one (on macOS
27.2 it refuses every file offered by AppleScript — error 34 in the message
row), and exit 2 that the transfer could not be confirmed within the wait (10s,
MESSAGES_BRIDGE_VERIFY_TIMEOUT=<seconds>, =0 skips the check). The check
reads chat.db, so without Full Disk Access a file send ends in exit 2 rather
than a false success. Text-only sends are unchanged.
Note:
senddelivers immediately and asks nothing. Any "confirm before sending" rule belongs in your Claude Code instructions, not in the tool.
If send fails with AppleEvent timed out (-1712): Messages.app's scripting interface is wedged, not missing. The giveaway is that even a trivial script such as tell application "Messages" to get name of every account hangs. Quit Messages.app and reopen it — sending works again immediately.
Setup
1. Compile
# Install all bridges at once (recommended)
git clone https://github.com/more-io/claude-apple-bridges.git
cd claude-apple-bridges
make install
Optional: Persistent TCC permissions with a Developer certificate
By default, bridges are ad-hoc signed. macOS TCC may re-prompt for permissions in new terminal sessions (especially remote/SSH). If you have an Apple Developer certificate, pass CODESIGN_IDENTITY for persistent grants:
make install CODESIGN_IDENTITY="Apple Development: Your Name (TEAMID)"
Or install individually:
make install-reminders
make install-calendar
make install-contacts
make install-notes
make install-mail
make install-messages
Manual compile (without make)
# reminders-bridge
cat > /tmp/reminders-info.plist << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSRemindersFullAccessUsageDescription</key>
<string>Claude Code needs access to Reminders to manage tasks.</string>
</dict>
</plist>
EOF
swiftc reminders-bridge.swift -o ~/.claude/reminders-bridge \
-framework EventKit \
-Xlinker -sectcreate -Xlinker __TEXT -Xlinker __info_plist -Xlinker /tmp/reminders-info.plist
codesign --force --sign - --identifier com.claude.reminders-bridge ~/.claude/reminders-bridge
# contacts-bridge
cat > /tmp/contacts-info.plist << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSContactsUsageDescription</key>
<string>Claude Code needs access to Contacts to look up and manage contacts.</string>
</dict>
</plist>
EOF
swiftc contacts-bridge.swift -o ~/.claude/contacts-bridge \
-framework Contacts \
-Xlinker -sectcreate -Xlinker __TEXT -Xlinker __info_plist -Xlinker /tmp/contacts-info.plist
codesign --force --sign - --identifier com.claude.contacts-bridge ~/.claude/contacts-bridge
# calendar-bridge
cat > /tmp/calendar-info.plist << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSCalendarsFullAccessUsageDescription</key>
<string>Claude Code needs access to Calendar to schedule and view events.</string>
</dict>
</plist>
EOF
swiftc calendar-bridge.swift -o ~/.claude/calendar-bridge \
-framework EventKit \
-Xlinker -sectcreate -Xlinker __TEXT -Xlinker __info_plist -Xlinker /tmp/calendar-info.plist
codesign --force --sign - --identifier com.claude.calendar-bridge ~/.claude/calendar-bridge
# notes-bridge
swiftc notes-bridge.swift -o ~/.claude/notes-bridge
codesign --force --sign - --identifier com.claude.notes-bridge ~/.claude/notes-bridge
# mail-bridge
swiftc mail-bridge.swift -o ~/.claude/mail-bridge
codesign --force --sign - --identifier com.claude.mail-bridge ~/.claude/mail-bridge
2. Grant permissions
Run each binary once from Terminal to trigger the macOS permission dialog:
~/.claude/reminders-bridge lists
~/.claude/calendar-bridge today
~/.claude/contacts-bridge search "test"
~/.claude/notes-bridge accounts
~/.claude/mail-bridge accounts
~/.claude/messages-bridge chats
Then approve in System Settings → Privacy & Security → Reminders / Calendars / Contacts / Automation. Notes and Mail access is granted automatically via AppleScript on first use.
messages-bridge additionally needs Full Disk Access for your terminal (to read chat.db) — that one is not prompted for, grant it in System Settings → Privacy & Security → Full Disk Access and restart the terminal.
3. Add to Claude Code allowed tools
Add the bridges to your global ~/.claude/settings.json so they work across all projects without confirmation prompts:
{
"permissions": {
"allow": [
"Bash(~/.claude/reminders-bridge*)",
"Bash(~/.claude/calendar-bridge*)",
"Bash(~/.claude/contacts-bridge*)",
"Bash(~/.claude/notes-bridge*)",
"Bash(~/.claude/mail-bridge*)",
"Bash(~/.claude/tmux-bridge*)",
"Bash(~/.claude/messages-bridge*)"
]
}
}
Requirements
- macOS 13+
- Swift (comes with Xcode or
xcode-select --install) - Claude Code, or Claude Desktop with
apple-bridges-mcp
Testing
After installing, run the integration test suite to verify everything works:
make test
35 tests cover all commands across all three bridges — exit codes, output validation, and argument handling. No data is modified during tests.
Skills
Skills are structured prompt templates that Claude Code can load automatically when a bridge topic comes up. Instead of relying solely on CLAUDE.md for bridge documentation, the skill provides complete command syntax, parameters, and usage examples on demand.
What Skills Do
When you type /apple-bridges in Claude Code (or when Claude detects you're asking about Reminders, Calendar, Contacts, Notes, Mail, or tmux), the skill loads:
- SKILL.md — Overview of all bridges with a quick reference table
- Detail files — Full documentation per bridge, loaded only when needed
This keeps context usage minimal while giving Claude complete knowledge of every command.
Install Skills
Skills are included with make install:
make install # Installs bridges AND skills
make install-skills # Install skills only
This copies the skill files to ~/.claude/skills/apple-bridges/.
Manual Install
cp -r skills/apple-bridges ~/.claude/skills/
Verify
Start a new Claude Code session and type /apple-bridges — it should be available as a slash command.
Claude Desktop
Claude Desktop reaches local tools through MCP servers, so a skill alone can't run the bridges there. apple-bridges-mcp is a small MCP server with no dependencies that exposes each installed bridge as a read tool and a write tool.
Install
make install-mcp
Then add the server to ~/Library/Application Support/Claude/claude_desktop_config.json, using the absolute path that make install-mcp prints, and restart Claude Desktop:
{
"mcpServers": {
"apple-bridges": {
"command": "/Users/you/.claude/apple-bridges-mcp"
}
}
}
How It Works
- Two tools per bridge:
<bridge>_readfor commands that only read and<bridge>_writefor commands that change data, such asreminders_readandreminders_write. Each takesargs, the same arguments you'd type after the binary name, as an array. - Fixed command lists: the first argument must be a command on that tool's side. Anything else is refused before the bridge runs.
- Descriptions stay current: each tool's description is the bridge's own usage output, cut to that tool's commands. A new bridge command appears once it is added to a side in
apple-bridges-mcp.swift. - No shell: the server runs the binary directly, so each array element is exactly one argument and quoting never matters.
- 30-second timeout: a call that runs longer is stopped and returns an error. A stopped write may still take effect, so check before retrying.
- 256 KB output ceiling: a longer answer is cut and says how much was dropped, so a
tmux snapshotor a long mail thread cannot fill the whole conversation. - Installed bridges only: a bridge that isn't in
~/.claudedoesn't appear as a tool.
Permissions
macOS asks on behalf of apple-bridges-mcp, not Claude, so each grant covers the bridges and not the whole Claude app. Approve the prompt the first time a tool needs Reminders, Calendars, Contacts, or Automation (Notes, Mail, Messages).
messages-bridge also needs Full Disk Access, which macOS never prompts for. In System Settings → Privacy & Security → Full Disk Access, click +, press Cmd+Shift+. to show hidden folders, and add ~/.claude/apple-bridges-mcp. Then restart Claude Desktop.
Rebuilding the server with the default ad-hoc signature can make macOS ask again. Build with CODESIGN_IDENTITY (see Compile) to keep grants across rebuilds.
Claude Desktop asks for approval per tool, not per command. That's why reads and writes are separate tools: you can always allow reminders_read and still approve each reminders_write. A read tool really only reads — mail_read refuses read --mark-read, because that flag would change data behind a tool marked read-only. Run mail-bridge read … --mark-read from the command line if you want it.
Don't allow a write tool for a session
Never put a *_write tool on "always allow". Every write reaches the real account: a sent message can't be recalled, a deleted reminder or note is gone, and an added calendar event is on the calendar other people see. Approve each one.
tmux_write is remote control of this Mac, not a tmux feature. It types keystrokes into any pane — including panes running a shell or another AI agent — and a keystroke that reaches a shell does whatever you could do at that prompt. That is why it sits alone on the write side, with reading in tmux_read: allow the reading, approve every write. If you don't use the bridges with tmux, don't install tmux-bridge at all and the tools won't exist.
Mail, Messages and Notes hand back text other people wrote. It's data, never instructions, no matter how it's phrased. A mail that asks for a file to be sent, or a message that spells out a command, is telling you what its author wants — and mail send --html-file, messages send <file> or notes add/append/update --file would carry it right back out, which makes mail-to-mail a complete chain if a write tool is standing by on "always allow". Keep the writes under your own approval and the chain can't close.
Contributing
Pull requests are welcome! When adding a new bridge:
- Create
<name>-bridge.swiftin the repo root - Add compile instructions to
README.mdandCLAUDE.md - Add the permission grant step to
README.md - Add usage examples to
README.md - Add the bridge to the
bridgeslist inapple-bridges-mcp.swift, with every command on the read or the write side
See CLAUDE.md for developer notes and the branching workflow.
About
Claude Apple Bridges is built and maintained by the team behind 4later, the app that keeps links, documents, photos, voice memos and notes in one place on iPhone, iPad and Mac, with an AI summary for every entry and a connector that lets Claude search what you saved. The bridges grew out of our own daily work with Claude Code; we publish them because they are useful far beyond 4later.
Try 4later: https://get.4laterapp.com/?src=apple-bridges
License
MIT — see LICENSE for details.
Explore related projects
Loading…