MCPInstall

Apple Maps

by mgcrea 6 stars mgcrea/cupertino

Read and act on Apple Maps — favourites, Guides and recents, writes off by default

READMEHEAD

@mgcrea/mcp-apple-maps

MCP server for the macOS Maps app: the places you have saved.

{
  "mcpServers": {
    "apple-maps": { "command": "npx", "args": ["-y", "@mgcrea/mcp-apple-maps"] }
  }
}

What it reads

Favourites, collections (Guides) and recents, with names, addresses and real coordinates, from Maps' Core Data store.

ToolWhat
apple_maps_list_favoritesthe places saved as favourites
apple_maps_list_collectionsthe Guides
apple_maps_list_collection_placeswhat is filed in one Guide
apple_maps_list_unfiled_placessaved places filed in no Guide
apple_maps_list_recentswhere you have looked recently
apple_maps_search_placesall three at once, by name, label or address
apple_maps_get_placeone place, by ref
apple_maps_diagnosticswhat opened, which columns resolved, what it cannot do

What it writes

Run from npm, nothing. This package only reads Maps: with no Cupertino hosting it, it registers no write tool, whatever APPLE_MAPS_ALLOW_WRITES says. Until 2026-11-11 it wrote favourites as SQL straight into the store. The watch that day found those inserts never mirrored to iCloud, and saw Maps turn favourites like them into saved places, so that route was removed (docs/maps.md).

In Cupertino, with writes on, five tools save through Maps' own Core Data model inside Cupertino.app, so each change is recorded the way a change made in Maps is. The write tools are unregistered rather than refused when writes are off, so a client that has not opted in is never told they exist.

ToolWhat
apple_maps_add_favoritepin a place
apple_maps_remove_favoriteunpin a place, by ref; as in Maps, it stays in your library as a saved place
apple_maps_save_placesave a place to the library, in no Guide (not the same as Pinned)
apple_maps_remove_saved_placeremove a saved place, by ref
apple_maps_add_place_to_guidefile a saved place (by ref) or a new one (by name) in an existing Guide, read back after

None of them brings Maps forward or presses anything. A place record can only be minted by Maps, so unless the place is already in the store near the coordinate given, Maps resolves it from its name: it is left in your Recents, and resolving it can take tens of seconds. Sync was measured on macOS 27.2 (Maps model checksum CaxhFkDDBEvVUHzx/wKUv4k+QehKTgcfEuPWR91+uhk=), every tool on a Mac and an iPhone on 2026-11-11: on that model a write reaches your other devices through iCloud even with Maps closed, as Maps' background service uploads it, seen with one write made while Maps was quit. On another Maps model version each answer's sync says sync is not yet measured, and the place should be checked on another device.

What it does not do

It reads what is saved on this Mac. It does not search Apple's map of the world, geocode an address, give directions or compute a travel time. Those are network calls to Apple's services, not data on your disk.

It writes only in Cupertino, with writes on: pins, the Places library and Guide membership. Everything else here is read-only. The store is mirrored to iCloud by NSPersistentCloudKitContainer, so a write is an edit to one replica of a synchronising object graph underneath a running app. That is why a place record is never fabricated: Maps itself mints it, and only then is it copied.

Full Disk Access is mandatory

Not an optimisation. Maps ships no scripting dictionary, so there is no Apple Events lane to fall back to — without the grant this server returns an error, never an empty list. Grant it to the app running the server, not to Maps.

If a listing comes back empty, that means you have saved nothing of that kind. Run apple_maps_diagnostics to tell the two apart.

Configuration

VariableDefaultWhat
APPLE_MAPS_STOREdiscoveredexplicit store path, for tests and forensic copies
APPLE_MAPS_INDEX_MODEautoauto / ro / immutable / off
APPLE_MAPS_MAX_RESULTS50default result ceiling
APPLE_MAPS_SEED_TIMEOUT_MS30000how long a write waits for Maps to resolve a place
APPLE_MAPS_EXPOSE_PROMPTSonregister the prompt and cupertino://maps/* resources
APPLE_MAPS_DEBUGoffverbose logging on stderr

APPLE_MAPS_ALLOW_WRITES (off) registers the tools under What it writes when Cupertino hosts this server. Run from npm it registers nothing.

See docs/maps.md for the phase-0 measurements, including the three separate occasions on which this store was declared not to exist.

Licence

MIT.

More Location Services MCP servers

Similar servers from the same category.

Baidu Map logo

Baidu Map

baidu-maps

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。关于MCP协议,详见MCP官方文档。 目前提供的MCP工具列表包含8个核心API接口和MCP协议的对接, 涵盖逆地理编码、地点检索、路线规划等。 依赖MCP Python SDK和MCP Typescript SDK开发,任意支持MCP协议的智能体助手(如Claude、Cursor以及千帆AppBuilder等)都可以快速接入。

maplocation
Google Maps logo

Google Maps

modelcontextprotocol

Location services, directions, and place details

location
FlightClaw logo

FlightClaw

flightclaw

Search, price-track and book flights from about 300 airlines, paid on a hosted checkout link.

Location Services
jiangshan-map logo

jiangshan-map

DeanChensj

Interactive historical atlas of China that resolves ancient and modern places, classical poetry sites, dynastic boundaries, city administrative genealogies, and historical figure trajectories.

Location Services