Apple Safari
by github.com/mgcrea · v1.43.0 · updated Nov 20, 2026
Read and act on Safari — history, tabs and reading list, writes off by default
Run it locally
Install the package and point your AI client at it.
npm
npx -y @mgcrea/[email protected]Environment variables
APPLE_SAFARI_ALLOW_WRITESRegister the mutating tools. Off by default, and the gate decides whether the write tools exist at all rather than merely refusing — an agent with writes off cannot see them.
APPLE_SAFARI_ALLOW_CODESReturn one-time codes: a one-time-code field in apple_safari_page_elements, and apple_safari_find_codes for a code a page shows as text. Its own gate rather than allowWrites, because it is a read. Credential fields stay redacted whatever this says.
APPLE_SAFARI_ALLOW_NETWORKRegister apple_safari_network_record, _list and _get, which record what a page you allowed the extension on fetches and read the responses. Its own gate rather than allowWrites, because it is a read; off means the tools do not exist. Headers named like credentials are masked, bodies are not. Reloadi...
APPLE_SAFARI_ALLOW_COOKIESRegister apple_safari_cookies, which lists the cookies Safari would send to an open page, HttpOnly ones included, through the extension's cookies permission. Its own gate rather than allowWrites, because it is a read; off means the tool does not exist. Not enough on its own: only sites in APPLE_SAFA...
APPLE_SAFARI_COOKIE_HOSTSComma-separated registrable domains whose cookies apple_safari_cookies may read, like "yahoo.com"; each covers the domain and its subdomains. Empty, the default, means no site is readable. An entry with no dot is ignored.
APPLE_SAFARI_DOWNLOAD_DIRWhere saveAs writes a file, for apple_safari_network_get and apple_safari_cookies. Defaults to ~/Downloads. A name is kept to its basename and an existing file is never replaced unless asked.
APPLE_SAFARI_NETWORK_CHUNK_CHARSCharacters of a body the server asks the page for per command when it reads a large body. Defaults to 262144, which was measured to work; how far above that Safari's native-message channel goes is unmeasured.
More from github.com/mgcrea
Apple Reminders
github.com/mgcrea
Search, read and act on Apple Reminders — lists, due dates, writes off by default
Apple Notes
github.com/mgcrea
Search, read and act on Apple Notes — folders, attachments, writes off by default
Apple Mail
github.com/mgcrea
Search, read and act on Apple Mail — threads, attachments, body search, writes off by default
Apple Maps
github.com/mgcrea
Read Apple Maps — favourites, Guides and recents; writes only when Cupertino hosts it
Apple Calendar
github.com/mgcrea
Search, read and act on Apple Calendar — ranges, free-time lookup, writes off by default
Apple Contacts
github.com/mgcrea
Search and read Apple Contacts — resolves numbers and emails to names, writes off by default
More MCP servers
Verify API
github.com/mgdsn
Evidence-backed verification for citations, packages, repos, cases, filings, drugs, x402 sellers.
Double Check
github.com/mgleonard-ops
AI-powered scam detection for suspicious texts, emails, and screenshots. US-focused.
Tapsite
github.com/mgriffen
MCP server for web inspection, design system extraction, and accessibility audits
Anchorr Mcp
github.com/mgthompo1
Agent-native CRM. 25 tools — contacts, deals, sequences, enrichment waterfall, audit log.
Fundlens
github.com/mguay22
SEC fund holdings for AI agents: who holds X, what changed, returns, flows, and fund overlap.
VOC Amazon Reviews
github.com/mguozhen
Amazon review intelligence via Shulex OpenAPI. 10 marketplaces, verified-purchase & Vine signals.