
Apple Maps
io.github.mgcrea由 GitHub 账号 mgcrea 发布v1.37.1更新于 Nov 8, 2026
Read and act on Apple Maps — favourites, Guides and recents, writes off by default
概览
读取 macOS 地图 App 中已保存的地点(收藏、指南和最近记录),并可选地添加或删除收藏。
- 可以做什么
- 列出已保存地点:收藏、指南、某个指南内的地点、未归入指南的地点以及最近记录
- 按名称、标签或地址搜索已保存地点,并按引用获取单个地点
- 运行诊断,说明打开了什么、解析了哪些列以及无法做什么
- 开启写入后,添加收藏(通过地图 App 生成记录)或删除收藏行
- 由 Cupertino.app 托管时,可保存或移除地点库条目,并把地点归入某个指南
- 适用场景
- 适合让助手回答关于这台 Mac 上已保存地点的问题,或整理收藏与指南;不适合查找新地点或获取路线。
- 运行要求
- 仅限 macOS,通过 npx 在本地运行,需要 Node.js。必须为运行该服务器的 App(而非地图 App)授予完全磁盘访问权限,否则会返回错误。可选变量:APPLE_MAPS_ALLOW_WRITES、APPLE_MAPS_STORE、APPLE_MAPS_INDEX_MODE、APPLE_MAPS_MAX_RESULTS、APPLE_MAPS_SEED_TIMEOUT_MS、APPLE_MAPS_EXPOSE_PROMPTS、APPLE_MAPS_DEBUG。
安装
在 SourceWeft 中
- 打开 控制台中的 Apple Maps,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@mgcrea/mcp-apple-maps
MCP server for the macOS Maps app: the places you have saved.
What it reads
Favourites, collections (Guides) and recents, with names, addresses and real coordinates, from Maps' Core Data store.
What it writes
Only with APPLE_MAPS_ALLOW_WRITES=1. Both are unregistered rather than refused when it is off, so a
client that has not opted in is never told they exist.
Three more press controls on a place card through Accessibility rather than writing SQL, and are registered only when Cupertino.app hosts this server: the grant belongs to the app, so a package run from npm has no way to reach them and is never told they exist.
Each opens Maps, brings its window forward and leaves the place in your Recents.
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 with APPLE_MAPS_ALLOW_WRITES set: favourites through the store, and the Places
library and Guide membership through Maps' own interface. 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 — a malformed row reaches
every device on the account. That is why a place record is never fabricated: adding a favourite opens
maps:// so that Maps itself mints the record, and only then is it copied. The place is left in
your Recents whether or not you keep the favourite, and resolving it over the network can take tens
of seconds.
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
APPLE_MAPS_ALLOW_WRITES (off) registers the tools under What it writes.
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.
来源:packages/maps/README.md,提交 5aea2ad
工具
0版本历史
17- v1.37.0Nov 7, 2026
- v1.36.2Nov 4, 2026
- v1.36.1Nov 3, 2026
- v1.35.0Oct 30, 2026
- v1.34.0Oct 29, 2026
- v1.31.0Oct 26, 2026
- v1.30.0Oct 22, 2026
- v1.29.1Oct 21, 2026
- v1.28.0Oct 13, 2026
- v1.27.0Oct 13, 2026
- v1.26.0Oct 6, 2026
- v1.25.0Oct 3, 2026
- v1.24.1Sep 29, 2026
- v1.24.0Sep 27, 2026
- v1.23.0Sep 19, 2026
- v1.22.1Sep 16, 2026
- v1.21.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分