mcpbeat Sign in

Apple Safari MCP Server

local only

Apple Safari runs on your own machine — the client starts it, so there is no endpoint to ping. 418 installs a week from npm. Last commit 22 Oct 2026.

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

Installs per day peak 240 · avg 46 · +354% w/w
a month agotoday
418
Installs / week
npm · @mgcrea/mcp-apple-safari
5
Stars
2 open issues
22 Oct 2026
Last commit
32 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 2 h ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

    return execSync(cmd, { encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim();
Dumps the whole environment apps/apple/tsdown.servers.config.ts:76
    __GIT_COMMIT__: JSON.stringify(process.env.GIT_COMMIT || tryGit("git rev-parse --short HEAD")),
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Builds a database query by concatenation .github/workflows/ci.yml:873
      - name: Sign the update 🔏
        env:
          SPARKLE_ED_PRIVATE_KEY: ${{ secrets.SPARKLE_ED_PRIVATE_KEY }}

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-apple-safari -- npx -y @mgcrea/mcp-apple-safari
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-apple-safari": {
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-safari"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-apple-safari]
command = "npx"
args = ["-y", "@mgcrea/mcp-apple-safari"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-apple-safari": {
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-safari"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-apple-safari": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mgcrea/mcp-apple-safari"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: APPLE_SAFARI_ALLOW_WRITES (Register the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them), APPLE_SAFARI_ALLOW_CODES (Return one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Credential fields stay redacted whatever this says), APPLE_SAFARI_ALLOW_NETWORK (Register apple_safari_network_record, _list and _get, which record what a page you allowed the extension on fetches and read the responses. Its own gate rather than allowWrites, because it is a read; off means the tools do not exist. Headers named like credentials are masked, bodies are not. Reloading a tab to record and saving a body to a file still need APPLE_SAFARI_ALLOW_WRITES), APPLE_SAFARI_DOWNLOAD_DIR (Where apple_safari_network_get's saveAs writes a file. Defaults to ~/Downloads. A name is kept to its basename and an existing file is never replaced unless asked), APPLE_SAFARI_NETWORK_CHUNK_CHARS (Characters of a body the server asks the page for per command when it reads a large body. Defaults to 262144, which was measured to work; how far above that Safari's native-message channel goes is unmeasured).

Alternatives to Apple Safari

same job, measured the same way
Apple Reminders
by mgcrea

Search, read and act on Apple Reminders — lists, due dates, writes off by default

370 installs/wk local only
Apple Maps
by mgcrea

Read and act on Apple Maps — favourites, Guides and recents, writes off by default

299 installs/wk local only
Apple Mail
by mgcrea

Search, read and act on Apple Mail — threads, attachments, body search, writes off by default

400 installs/wk local only
Apple Notes
by mgcrea

Search, read and act on Apple Notes — folders, attachments, writes off by default

329 installs/wk local only
Apple Calendar
by mgcrea

Search, read and act on Apple Calendar — ranges, free-time lookup, writes off by default

457 installs/wk local only
Apple Contacts
by mgcrea

Search and read Apple Contacts — resolves numbers and emails to names, writes off by default

272 installs/wk local only
Apple Messages
by mgcrea

Search and read Apple Messages — chats and decoded text, sending off by default

319 installs/wk local only
IMAP mailbox
by ni-c

Read, search and organise any IMAP mailbox, with writes off by default

211 installs/wk local only

Apple Safari — questions

Answers built from our own checks of this server.

Why is there no uptime for Apple Safari?
Apple Safari runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @mgcrea/mcp-apple-safari was installed 418 times last week.
How do I connect Apple Safari?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @mgcrea/mcp-apple-safari straight from npm; nothing to host, nothing to sign up for.
How many people use Apple Safari?
The npm package @mgcrea/mcp-apple-safari was installed 418 times in the last week. Week over week that is +354%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Apple Safari open source?
Yes — it is published under the MIT licence, written in TypeScript, 5 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.