safari-mcp

Native Safari browser automation for AI agents. 98 tools via AppleScript — zero overhead, keeps logins, runs silently in background. Drop-in alternative to Chro

What is safari-mcp?

Native Safari browser automation for AI agents. 98 tools via AppleScript — zero overhead, keeps logins, runs silently in background. Drop-in alternative to Chrome DevTools MCP with 40-60% less CPU/heat on Apple Silicon.

Overview of safari-mcp

What it is

Safari MCP is a native Safari browser automation tool for AI agents. It provides 98 tools via AppleScript, enabling AI coding agents to control the user's real Safari browser without launching a separate browser instance. It runs silently in the background and preserves all existing logins, cookies, and sessions. It is designed as a drop-in alternative to Chrome DevTools-based MCP servers, with lower CPU and heat usage on Apple Silicon. It requires macOS and Node.js 20+ and is open source under the MIT license.

Key features

  • 98 tools covering navigation, clicks, forms, screenshots, network, storage, and accessibility - Zero heat: uses native WebKit on Apple Silicon with approximately 60% less CPU than Chrome - Keeps all existing logins, cookies, and sessions (e.g., Gmail, GitHub, Ahrefs, Slack)
  • Runs in the background without stealing the active window - No browser dependencies: no Puppeteer, Playwright, or WebDriver required - Persistent process reuses a single osascript command for ~5ms per command - Framework-compatible: supports React, Vue, Angular, Svelte form filling via native setters

Use cases

  • AI coding agents that need to browse the web with full access to the user's logged-in sessions (e.g., Gmail, GitHub, Ahrefs, Slack, banking)
  • Automating web tasks such as navigation, clicking, filling forms, taking screenshots, and reading page state - Running multiple concurrent AI agent sessions against the same Safari profile, with each agent having its own isolated tab state - Replacing Chrome DevTools-based MCP servers to reduce CPU usage and heat on Apple Silicon laptops

Getting started

Prerequisites: macOS (any version with Safari), Node.js 20+, and Safari settings with “Show features for web developers” and “Allow JavaScript from Apple Events” enabled. Install and run with one command: bash npx safari-mcp Or install globally: bash npm install -g safari-mcp For detailed configuration instructions for various MCP clients (Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Cline, Continue, Goose, LM Studio, Zed), see the repository README.

License and pricing

Licensed under MIT. It is open source with no stated pricing.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/achiya-automationsafari-mcp.svg)](https://yunodb.com/tools/achiya-automationsafari-mcp?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/achiya-automationsafari-mcp?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/achiya-automationsafari-mcp.svg" alt="Featured on YunoDB" height="20"></a>