Apple Contacts
io.github.JonathanRReed/apple-contacts-mcp · 25 stars · Python · MIT
MCP server Inspect and search Apple Contacts on macOS, and resolve a contact into a message-ready recipient.
Install
The repo has no one-line install. Follow its README.
Published as
- PyPI
apple-contacts-mcpstdio - mcpb
https://github.com/JonathanRReed/Apple-MCPs/releases/download/v1.1.0/apple-contacts-1.1.0.mcpbstdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
APPLE_CONTACTS_MCP_SAFETY_MODEOptional | Env var | Safety mode for Contacts operations: safe_readonly, safe_manage, or full_access. |
Files
Apple Contacts MCP
MCP server for Apple Contacts on macOS.
Provides access to contacts for lookup, search, and recipient resolution. Use before sending messages to resolve names into phone numbers or email addresses.
When to use
- Contact-only workflows
- Recipient validation before messaging
- Contact lookup separated from the all-in-one server
What It Does
- List and search contacts
- Full contact detail lookup
- Message recipient resolution
- Tool discovery helpers
search_toolsandget_tool_infofor context-constrained clients - Create, update, and delete contacts
- Duplicate detection and merge-candidate suggestions (
contacts_find_duplicates,contacts_suggest_merge_candidates) - Phone number and email method editing with labels
- Directory resources and recipient-check prompts
- Health and permission checks:
contacts_health,contacts_permission_guide,contacts_recheck_permissions
Install On This Mac
Quick start (uvx, from PyPI)
With uv installed:
uvx apple-contacts-mcp
No clone, no venv management.
From a clone
git clone https://github.com/JonathanRReed/Apple-MCPs.git cd Apple-MCPs uv sync --all-packages
This builds one workspace environment with every server's entry point in .venv/bin (for example .venv/bin/apple-contacts-mcp). You can also point an MCP client at AppleContacts-MCP/start.sh, which prefers uv run and falls back to a plain venv bootstrap (Python 3.11+ required).
Install In AI Agents
Generic MCP client config
{
"mcpServers": {
"apple-contacts": {
"command": "uvx",
"args": ["apple-contacts-mcp"],
"env": {
"APPLE_CONTACTS_MCP_SAFETY_MODE": "safe_manage"
}
}
}
}
Running from a clone instead? Use /path/to/Apple-MCPs/AppleContacts-MCP/start.sh as the command with empty args.
Claude Code example
claude mcp add --transport stdio --scope project apple-contacts -- uvx apple-contacts-mcp
Safety Modes
safe_readonlysafe_managefull_access
Transport
stdio is the default and recommended transport. Set APPLE_CONTACTS_MCP_TRANSPORT=streamable-http (with optional APPLE_CONTACTS_MCP_HOST and APPLE_CONTACTS_MCP_PORT) to serve Streamable HTTP instead.
Search Behavior
Name and organization searches use Contacts.app's filtered lookup. A no-match name returns an empty result without scanning the whole address book. Phone queries with a numeric/punctuation base, including recognized extension suffixes (ext, ext., extension, extn., x, #, and ;ext=) and an optional tel: prefix, retain the paginated directory fallback for method-value matching. Email queries containing @ retain it too. Extension matching keeps the base number and extension separate, requires the exact extension, and allows local-number suffix matching. Recipient resolution chooses the matching phone method and rejects multiple distinct matching methods.
Literal control characters and complex emoji returned by Contacts are decoded on the Python side without changing their text.
macOS Permissions
- Contacts access is required
contacts_healthreports whether Contacts access is currently available
Launch Checklist
- Add
uvx apple-contacts-mcp(or a clone'sAppleContacts-MCP/start.sh) to your MCP client - Reload or reconnect the client so the Contacts tool surface is loaded into context
- Call
contacts_healthfirst - If Contacts access is blocked, call
contacts_permission_guide - After changing macOS permissions, call
contacts_recheck_permissions
Prompting Notes
tools/listreturns the full Contacts tool surface. Context-constrained clients can usesearch_toolsfirst, thenget_tool_infofor the Contacts tool they need.- Run Contacts before any iMessage or Mail action when the user gives a person name.
- Resolve by name, phone number, or email before acting.
- If multiple contacts match, confirm the intended person before sending.
- When updating a person, pass explicit
phonesoremailsarrays only when you intend to replace that method set. - Keep a labeled phone or email on the contact before routing Messages or Mail through it.
Related
Native Contacts access
Contacts uses CNContactStore by default, so reads and writes do not wait for Contacts.app. First use compiles the packaged Swift helper with Xcode Command Line Tools and caches an application bundle under ~/.apple-mcps/build. Set APPLE_CONTACTS_MCP_HELPER_BUILD_DIR to choose another build directory. Grant Contacts access to your MCP host when macOS asks.
Set APPLE_CONTACTS_MCP_BACKEND=applescript to use the previous backend. The native backend returns first and last names directly and preserves phone/email update semantics: omit a collection to keep it, or pass [] to clear it. Contact notes require a separate macOS entitlement; a nonempty note is rejected before a native write. The AppleScript backend remains available for notes.
The native helper compiles an immutable source snapshot into a bundle named by its full SHA-256 hash. A source change during compilation is rejected, and a concurrent build cannot replace an installed bundle. Different source versions keep separate executables with the same Contacts permission identity.
The native helper is adapted from Jaume Puig's work in JaumeAP/Apple-MCPs.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 25
- License
- MIT
- Language
- Python
- Last push
- 2026-10-10
- Forks
- 3
- MCP Registry
- io.github.JonathanRReed/apple-contacts-mcp
- Topics
- apple, mcp, mcpserver, ai-agent, apple-calendar, apple-mail, apple-notes, apple-reminders, apple-shortcuts, applescript, automation, claude, imessage, macos, model-context-protocol, productivity, python
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k