Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By KristianLiv0.1.0MITIn 1 marketplace
Let Claude control Safari on macOS: open and switch tabs, read pages, click, type, scroll, run JavaScript and take screenshots.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
safari, browser, automation, macos, mcp
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
English | 简体中文
Let Claude drive Safari on macOS. A Claude Code plugin wrapping a zero-dependency MCP server that controls your real Safari — with your logged-in sessions — through Apple Events (osascript / JXA).
No Xcode, no Safari extension, no npm install.
Unofficial project. Not affiliated with Anthropic or Apple.
| Tool | What it does |
|---|---|
tabs_list | List every window and tab |
tab_open / tab_select / tab_close | Open, switch to, or close a tab |
navigate | Load a URL, or go back / forward / reload, and wait for the page to load |
get_page_text | Visible text of the page, optionally limited to a CSS selector |
read_page | Outline of the page; interactive elements carry a [ref_N] id |
find | Search elements by text and get their refs |
click | Click by ref, CSS selector, or viewport coordinates (right-click and double-click supported) |
type | Fill inputs, textareas and rich-text editors, pick <select> options, set checkboxes; optionally press Enter |
press_key | Send a key to an element |
scroll | Scroll the page or a container, or bring an element into view |
wait_for | Wait for an element or text to appear or disappear |
run_javascript | Run JavaScript in the page (await supported) |
screenshot | Capture the tab; when possible the toolbar is cropped off so image pixels map to click coordinates |
claude plugin marketplace add KristianLi/safari-mcp
claude plugin install safari@safari-mcp
This installs the MCP server and a skill that teaches Claude how to use it.
Clone the repository anywhere, then point your client at server/index.mjs.
Claude Code:
claude mcp add --scope user safari -- node /absolute/path/to/safari-mcp/server/index.mjs
Claude Desktop — add this to ~/Library/Application Support/Claude/claude_desktop_config.json, then quit and reopen the app:
{
"mcpServers": {
"safari": {
"command": "node",
"args": ["/absolute/path/to/safari-mcp/server/index.mjs"]
}
}
}
If the app cannot find node, use its absolute path (for example /opt/homebrew/bin/node).
These are macOS and Safari security settings. The server never changes them; when one is missing, the affected tool returns the steps below instead.
read_page, find, click, type, press_key, scroll, wait_for and run_javascript.screenshot). System Settings ▸ Privacy & Security ▸ Screen & System Audio Recording: enable the app running Claude, then restart it.Without 2 and 3, tabs_list, tab_open, tab_select, tab_close, navigate and get_page_text still work.
Read this before turning the settings on.
read_page never returns the contents of password fields, and tab_close refuses to act when it has no explicit target.Claude ──MCP/stdio──▶ server/index.mjs ──osascript──▶ server/bridge.jxa.js ──Apple Events──▶ Safari
└─ do JavaScript ─▶ server/page.mjs (runs in the page)
server/index.mjs — MCP protocol and tool definitions. Tool calls run one at a time.server/bridge.jxa.js — tab management, page text, and do JavaScript.server/page.mjs — code that runs inside the page: builds the element outline and refs, synthesizes clicks and input.server/png.mjs — crops the browser toolbar off window screenshots.skills/safari/SKILL.md — the skill that teaches Claude the workflow.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub kristianli/safari-mcp --plugin safariPlugins from other owners that cover similar ground