## โ 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](https://www.freecodecamp.org/news/how-to-connect-your-ai-coding-agent-to-a-browser-on-macos/) ยท [HackerNoon: Reverse-Engineering React, Shadow DOM, and CSP](https://hackernoon.com/i-had-to-reverse-engineer-react-shadow-dom-and-csp-to-automate-safari-without-chrome)
> ๐ **Apple shipped an official Safari MCP** (Safari Technology Preview 247, July 2026). It's built on `safaridriver` for isolated debugging sessions. safari-mcp drives the **real Safari you're already logged into** โ on stable Safari, 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
---
## Quick Start
### Prerequisites
- macOS (any version with Safari)
- Node.js 18+
- Safari โ Settings โ Advanced โ **Show features for web developers** โ
- Safari โ Develop โ **Allow JavaScript from Apple Events** โ
### Install (one command)
```bash
npx safari-mcp
```
That's it โ no global install needed. Or install permanently:
```bash
npm install -g safari-mcp
```
### Configure your MCP client
All clients run Safari MCP the same way โ `npx safari-mcp`. Pick your editor: