Safari MCP
UnclaimedNative 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.
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'safari-mcp' -- 'npx' '-y' 'safari-mcp'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in Search & Web
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
40 of 40 tools
Documented tools (40)
From project documentation. A server handshake does not verify each tool’s description or behavior.
safari_clear_field
Clear input field
safari_click
Click by CSS selector, visible text, or coordinates
safari_click_and_read
Click then return the updated page — saves a round-trip (React Router + full loads)
safari_click_and_wait
Click + wait for navigation
safari_close_tab
Close tab
safari_double_click
Double-click (select word, etc.)
safari_eval_file
Execute JavaScript read from a file path (avoids huge inline scripts)
safari_evaluate
Execute arbitrary JavaScript, return result
safari_fill
Fill input (React/Vue/Angular compatible)
safari_fill_and_submit
Fill form + submit in one call
safari_fill_form
Batch fill multiple fields
safari_get_element
Element details (tag, rect, attrs, visibility)
safari_get_source
Get full HTML source
safari_go_back
Go back in history
safari_go_forward
Go forward in history
safari_hover
Hover over element
safari_list_tabs
List all tabs (index, title, URL)
safari_navigate
Navigate to URL (auto HTTPS, wait for load)
safari_navigate_and_read
Navigate + read in one call
safari_new_tab
Open new tab (background, no focus steal)
safari_press_key
Press key with modifiers
safari_react_select_list_options
List a react-select v5 dropdown's options without opening it
safari_react_select_set
Set a react-select v5 value via React fiber — bypasses the menu UI
safari_read_page
Get title, URL, and text content
safari_reload
Reload page (optional hard reload)
safari_replace_editor
Replace all content in a code editor (Monaco, CodeMirror, Ace, ProseMirror)
safari_right_click
Right-click (context menu)
safari_save_pdf
Export page as PDF
safari_screenshot
Screenshot as PNG (viewport or full page)
safari_screenshot_element
Screenshot a specific element
safari_scroll
Scroll up/down by pixels
safari_scroll_to
Scroll to exact position
safari_scroll_to_element
Smooth scroll to element
safari_select_option
Select dropdown option
safari_switch_tab
Switch to tab by index
safari_type_text
Type real keystrokes (JS-based, no System Events)
safari_verify_state
Verify an editor's framework-level state matches expected — catch stale DOM before Submit
safari_wait
Wait for specified milliseconds
safari_wait_for
Wait for element, text, or URL change
safari_wait_for_new_tab
Wait for a new tab (e.g. OAuth popup) and auto-switch to it
Tool change history
FAQ
Questions about Safari MCP Server
- How do I connect Safari MCP Server to Claude?
- Run `claude mcp add safari-mcp -- npx -y safari-mcp` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Safari MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Safari MCP Server do?
- Safari MCP Server documents 40 tools to the agent, including safari_clear_field, safari_click, safari_click_and_read. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.