safari-bookmarks-mcp
Provides tools to list, search, add, move, remove, edit, and empty Safari bookmarks and folders, allowing programmatic management of Safari bookmarks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@safari-bookmarks-mcplist bookmarks from the Bookmarks Menu"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
safari-bookmarks-mcp
Manage Safari bookmarks through an MCP server or CLI.
Built on safari-bookmarks-cli by Marty (evilmarty), extended with MCP support and modern tooling. Apache 2.0.
macOS note: 10.14+ requires Full Disk Access for the terminal app you're running from.
MCP server
Add to your client config — uvx handles installation automatically:
.mcp.json (Claude Code, project scope):
{
"mcpServers": {
"safari-bookmarks": {
"command": "uvx",
"args": ["safari-bookmarks-mcp", "--file", "~/Library/Safari/Bookmarks.plist"]
}
}
}Or use the bootstrap command to generate config for Claude Code, OpenCode, Codex, and Gemini:
uvx --from safari-bookmarks-mcp safari-bookmarks bootstrap --client claude --client opencode --scope local --writeScopes: local (project-level), global (user-level), both.
Server flags:
--readonly— block all write operations--confirm-write— allow writes (default requiresdry_run=Trueper call)
Tools: list_bookmarks, search_bookmarks, snapshot, add_bookmark, add_folder, move_item, remove_item, edit_item, empty_folder. All write tools accept dry_run=True to preview changes without saving.
Related MCP server: safari-reading-list-mcp
CLI
uvx --from safari-bookmarks-mcp safari-bookmarks --helpsafari-bookmarks list
safari-bookmarks list "BookmarksMenu"
safari-bookmarks add --title "Example" --url "http://example.com" "BookmarksMenu"
safari-bookmarks add --title "New Folder" --folder "BookmarksBar"
safari-bookmarks move "BookmarksMenu" "Example" --to "BookmarksBar" "New Folder"
safari-bookmarks remove "BookmarksBar" "New Folder"
safari-bookmarks empty "BookmarksBar" "New Folder"Default file: ~/Library/Safari/Bookmarks.plist. Override with -f <path>.
Development
git clone https://github.com/chikingsley/safari-bookmarks-mcp.git
just setup # create .venv and install deps
just check # ruff + ty + pytestThis server cannot be deployed
Maintenance
Related MCP Connectors
Search, label, and manage your X (Twitter) bookmarks from any MCP client via Tweetsmash
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Search and save to your Purl read-it-later knowledge base from any MCP client.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Related MCP Servers
- FlicenseAqualityDmaintenanceA bookmark management MCP server that enables saving, searching, and managing bookmarks with tags and read/unread status, providing tools, resources, and prompts for integration.4-
- FlicenseAqualityCmaintenanceEnables exporting Apple Safari Reading List entries to JSON and adding new items via MCP on macOS.3-
- AlicenseAqualityAmaintenanceManages Chrome's synced bookmarks through an MCP server and Chrome extension, enabling operations like listing, searching, adding, moving, and deduplicating bookmarks.17136 npmMIT
- FlicenseAqualityCmaintenanceEnables AI assistants to search, browse, add, and delete Chrome and Edge bookmarks through the MCP protocol, using a local FastMCP server that directly reads and modifies browser bookmark files.5-