Skip to content
Claude Code

Apple Safari for Claude Code

io.github.mgcrea/mcp-apple-safari

Read and act on Safari — history, tabs and reading list, writes off by default

client:Claude Code transport:stdio runtime:npm

Install Apple Safari in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add mcp-apple-safari -e APPLE_SAFARI_ALLOW_WRITES=<APPLE_SAFARI_ALLOW_WRITES> -e APPLE_SAFARI_ALLOW_CODES=<APPLE_SAFARI_ALLOW_CODES> -e APPLE_SAFARI_ALLOW_NETWORK=<APPLE_SAFARI_ALLOW_NETWORK> -e APPLE_SAFARI_ALLOW_COOKIES=<APPLE_SAFARI_ALLOW_COOKIES> -e APPLE_SAFARI_COOKIE_HOSTS=<APPLE_SAFARI_COOKIE_HOSTS> -e APPLE_SAFARI_DOWNLOAD_DIR=<APPLE_SAFARI_DOWNLOAD_DIR> -e APPLE_SAFARI_NETWORK_CHUNK_CHARS=<APPLE_SAFARI_NETWORK_CHUNK_CHARS> -- npx -y @mgcrea/mcp-apple-safari

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Apple Safari in other clients