Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ“‚ Browser Automation
  3. Safari MCP
Safari MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 11:46:11 AM

Safari MCP

User RatingsBe the first to rate and review this MCP server!
View Repository183 GitHub StarsTotal stargazers on GitHub for the source repository (183 stars).Visit Website
browserautomationsafarimacoswebkit

Native Safari browser automation for AI agents on macOS using 97 tools without Chrome dependencies.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldnโ€™t automatically confirm this listing starts correctly

The install command below didn't complete successfully in our automated test.

npx -y safari-mcp

npm notice npm notice New major version of npm available! 10.1.0 -> 12.0.2 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v12.0.2> npm notice Run `npm install -g npm@12.0.2` to update! npm notice npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for safari-mcp@2.15.12: wanted {"os":"darwin"} (current: {"os":"linux"}) npm ERR! notsup Valid os: darwin npm ERR! notsup Actual os: linux npm ERR! A complete log of this run can be found in: /home/user/.npm/_logs/2026-0

This is an experimental automated check and can have false negatives โ€” missing environment variables, a slow cold install, etc. It doesnโ€™t necessarily mean somethingโ€™s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "achiya-automation-safari-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "safari-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (80) Directory Badge Claim listing Alternatives๐Ÿ“‚ More in Browser Automation

Overview

Safari MCP enables AI agents to automate the real Safari browser on macOS, preserving all logged-in sessions and cookies. It uses native WebKit with significantly lower CPU usage compared to Chrome-based solutions, running Safari in the background without stealing focus. This server is ideal for macOS users who want efficient, session-persistent browser automation without relying on Chromium or headless browsers.

Use cases

โ€ขAutomate web navigation and interactions in Safari
โ€ขFill forms and handle complex front-end frameworks like React and Vue
โ€ขCapture screenshots and access network/storage data
โ€ขOperate Safari in the background with low CPU overhead
โ€ขMaintain logged-in sessions for Gmail, GitHub, Slack, and others

Key features

โ€ข97 native browser automation tools
โ€ขNo Chrome, Puppeteer, Playwright, or WebDriver dependencies
โ€ขUses the real Safari browser with all user sessions intact
โ€ขOptimized for Apple Silicon with ~60% less CPU usage than Chrome
โ€ขBackground operation without window stealing
โ€ขPersistent osascript process for fast command execution (~5ms)

Capabilities & Tool Schemas (80) ~1.1k tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Safari MCP.

safari_navigate

Navigate to URL (auto HTTPS, wait for load)

safari_go_back

Go back in history

safari_go_forward

Go forward in history

safari_reload

Reload page (optional hard reload)

safari_read_page

Get title, URL, and text content

safari_get_source

Get full HTML source

Documentation Overview

Safari MCP Server โ€” 97 native browser automation tools for AI agents on macOS

๐Ÿฆ Safari MCP

The browser for your coding agent.

Your real Safari, logged in โ€” no Chrome, no heat, no headless.

npm version npm downloads License: MIT macOS

Install in VS Code ยท VS Code Insiders ยท Install in Cursor

97 tools ยท No Chrome/Puppeteer/Playwright needed ยท ~5ms per command ยท 60% less CPU than Chrome

Quick Start ยท All 97 Tools ยท Examples ยท Why Safari MCP? ยท Architecture ยท Changelog

Safari MCP Demo

โŒ Without Safari MCP

Your AI agent needs to browse. So it either:

  • Spins up Chromium via Playwright โ€” with no logins, no cookies, no sessions
  • Uses Chrome DevTools MCP โ€” and melts your fan running a second browser
  • Relies on headless scrapers โ€” blocked by Cloudflare, reCAPTCHA, and bot detection

โœ… With Safari MCP

Your AI drives the Safari you're already logged into โ€” Gmail, GitHub, Ahrefs, Slack, banking.

Native WebKit. ~60% less CPU. Background operation. 97 tools. One npx command. macOS only.

๐Ÿ“ฐ Featured on freeCodeCamp: How to Connect Your AI Coding Agent to a Browser on macOS ยท HackerNoon: Reverse-Engineering React, Shadow DOM, and CSP

๐ŸŽ Apple shipped an official Safari MCP (July 2026 โ€” Safari Technology Preview 247+ and the Safari 27 beta). It's built on safaridriver for isolated debugging sessions. safari-mcp drives the real Safari you're already logged into โ€” on the stable Safari that ships with macOS today, with 97 tools. See the full comparison below.


Highlights

  • 97 tools โ€” navigation, clicks, forms, screenshots, network, storage, accessibility, and more
  • Zero heat โ€” native WebKit on Apple Silicon, ~60% less CPU than Chrome
  • Your real browser โ€” keeps all logins, cookies, sessions (Gmail, GitHub, Ahrefs, etc.)
  • Background operation โ€” Safari stays in the background, no window stealing
  • No browser dependencies โ€” no Puppeteer, no Playwright, no WebDriver, no Chrome
  • Persistent process โ€” reuses a single osascript process (~5ms per command vs ~80ms)
  • Framework-compatible โ€” React, Vue, Angular, Svelte form filling via native setters

In users' own words

Not solicited testimonials โ€” quotes lifted from the public issue tracker, each linked to the thread it came from.

"I run multiple Pi sessions/subagents against my normal Safari profile in parallel. Sharing its cookies and logins is intentional." โ€” @maxim, on running concurrent agents against a real browser

"The server has a deliberate tab-ownership model โ€ฆ the code is careful about this, and for the default case that's the right safety posture." โ€” @turner-moore, on why the guards refuse to touch your tabs

"Direct local validation from the package: Safari MCP doctor 6/6." โ€” @jrepp, who found and fixed a queue-alignment bug in the focus helper


Quick Start

Prerequisites

  • macOS (any version with Safari)
  • Node.js 20+
  • Safari โ†’ Settings โ†’ Advanced โ†’ Show features for web developers โœ“
  • Safari โ†’ Develop โ†’ Allow JavaScript from Apple Events โœ“

Install (one command)

Terminal
npx safari-mcp

That's it โ€” no global install needed. Or install permanently:

Terminal
npm install -g safari-mcp

Configure your MCP client

All clients run Safari MCP the same way โ€” npx safari-mcp. Pick your editor:

Claude Code
Terminal
claude mcp add safari -- npx safari-mcp

Or edit ~/.mcp.json:

config.json
{
  "mcpServers": {
    "safari": {
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}
Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "safari": {
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}

Restart Claude Desktop after saving.

Cursor

One-click: Install in Cursor

Or edit .cursor/mcp.json in your project:

config.json
{
  "mcpServers": {
    "safari": {
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}
VS Code / VS Code Insiders

One-click: Install in VS Code

Or edit .vscode/mcp.json:

config.json
{
  "servers": {
    "safari": {
      "type": "stdio",
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}
Windsurf

Edit .windsurf/mcp.json in your project (or ~/.codeium/windsurf/mcp_config.json globally):

config.json
{
  "mcpServers": {
    "safari": {
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}
Cline

Open Cline in VS Code โ†’ click the MCP icon โ†’ Edit MCP Settings โ†’ add:

config.json
{
  "mcpServers": {
    "safari": {
      "command": "npx",
      "args": ["safari-mcp"]
    }
  }
}
Continue

Edit ~/.continue/config.yaml (or .continue/config.yaml in workspace):

yaml
mcpServers:
  - name: safari
    command: npx
    args:
      - safari-mcp
Goose

Edit ~/.config/goose/config.yaml:

yaml
extensions:
  safari:
    name: safari
    type: stdio
    cmd: npx
    args:
      - safari-mcp
    enabled: true
LM Studio

Open LM Studio โ†’ Settings โ†’ MCP Servers โ†’ Add Server:

  • Name: safari
  • Command: npx
  • Args: safari-mcp
Zed

Open Zed โ†’ Settings โ†’ search for "Context Servers" and add:

config.json
{
  "context_servers": {
    "safari": {
      "command": {
        "path": "npx",
        "args": ["safari-mcp"]
      }
    }
  }
}
Alternative: Homebrew
bash
brew install achiya-automation/tap/safari-mcp
Alternative: from source
bash
git clone https://github.com/achiya-automation/safari-mcp.git
cd safari-mcp && npm install

Usage Workflow

The recommended pattern for AI agents using Safari MCP:

Code
1. safari_snapshot        โ†’ Get page state (accessibility tree)
2. safari_click/fill/...  โ†’ Interact with elements by ref
3. safari_snapshot        โ†’ Verify the result

Element targeting โ€” tools accept multiple targeting strategies:

StrategyExampleBest for
CSS selector#login-btn, .submitUnique elements
Visible text"Sign In", "Submit"Buttons, links
Coordinatesx: 100, y: 200Canvas, custom widgets
Ref from snapshotref: "e42"Any element from accessibility tree

Tip: Start with safari_snapshot to get element refs, then use refs for precise targeting. This is faster and more reliable than CSS selectors.


Running several agents at once

Multiple agents or subagents driving one Safari at the same time will fight over the active tab โ€” unless you run them against a shared HTTP daemon instead of one process per client:

bash
SAFARI_MCP_HTTP=1 SAFARI_MCP_HTTP_PORT=9225 npx safari-mcp

Then point every client at it:

config.json
{ "mcpServers": { "safari-mcp": { "type": "http", "url": "http://127.0.0.1:9225/mcp" } } }

One daemon, many sessions โ€” and each session gets its own tab state. The server keys activeTabIndex, the ownership flag and a unique tab marker off the MCP session id, so session A physically cannot read or steer session B's tab.

Two properties make this safe rather than merely tidy:

  • Tab identity is a marker, not an index. Each session stamps a unique id into the page it opens, so ownership survives navigation and survives the user reordering or closing other tabs. An index alone would silently drift onto the wrong tab.

  • It fails closed. If a session's marked tab can't be re-found, every tool refuses instead of falling back to whatever tab is in front โ€” because that tab is usually yours:

    Code
    Tab tracking lost โ€” refusing to fall back to "current tab of window"
    (would target the user's active tab). Call safari_new_tab to reopen.
    

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Browser Automation View all alternatives
  • ClaudeForSafari logoClaudeForSafari

    Safari Web Extension + Node.js MCP bridge giving Claude Desktop full control over Safari โ€” navigate, read pages, click elements, fill forms, and manage tabs. No Playwright or WebDriver dependency.

    ๐Ÿ“‚ Browser Automation6 views
    Compare vs ClaudeForSafari โ†’
  • MCP Server Apple Shortcuts logoMCP Server Apple Shortcuts

    An MCP Server Integration with Apple Shortcuts

    ๐Ÿ“‚ Browser Automation1 views
    Compare vs MCP Server Apple Shortcuts โ†’
  • Iwdp MCP logoIwdp MCP

    iOS Safari debugging via ios-webkit-debug-proxy โ€” MCP server with full WebKit Inspector Protocol support (DOM, CSS, Network, Storage, Debugger, and more)

    ๐Ÿ“‚ Browser Automation3 views
    Compare vs Iwdp MCP โ†’
  • Yutu logoYutu

    A fully functional MCP server and CLI for YouTube to automate YouTube operation

    ๐Ÿ“‚ Browser Automation4 views
    Compare vs Yutu โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
183
Stargazers on the source repository.
npm downloads
7.2k
Package downloads in the last 30 days.
Last commit
2d ago
Most recent push to the default branch.
Install check
Inconclusive
Install command did not finish in our automated test.
Tools exposed
80
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Safari MCP

Safari MCP runs exclusively on macOS with Safari installed.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSafari MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/achiya-automation-safari-mcp?style=directory)](https://allmcps.com/mcp/achiya-automation-safari-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/achiya-automation-safari-mcp"><img src="https://allmcps.com/api/badge/achiya-automation-safari-mcp?style=directory" alt="Safari MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ“‚Browser Automation
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
AuthNo auth required
LicenseMIT
ClientsClaude Desktop, Cursor
Last updatedSep 9, 2026
10/10 checks healthy over the last 32d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars183
GitHub Star CountTotal stargazers on GitHub representing community popularity (183 stars).
Last commit2d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 9, 2026
npm downloads7,165/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
65Quality signal: Great ยท 65/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools27/30
Adoption & activity12/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev ยท safari-mcp (npm)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ“‚ Browser Automation โ†’Best MCP servers for Browser Automation โ†’Alternatives to Safari MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code