MapRouter
dev.maprouter由 maprouter.dev 發布官方發布者v0.1.1更新於 Oct 29, 2026
Maps, geocoding and time zones for AI coding agents, on OpenStreetMap, with hard prepaid spend caps.
概覽
MapRouter 為程式開發助理提供以 OpenStreetMap 為基礎的地理編碼、時區與 MapLibre 地圖程式碼,並設有預付消費上限。
- 可以做什麼
- 建立專案金鑰並回傳環境變數設定列
- 將地址或地點轉為座標,也可將座標反查為地址
- 提供邊輸入邊搜尋的地點建議,以及某點的 IANA 時區、UTC 偏移與日光節約時間
- 產生含標記、可直接使用的 MapLibre 程式碼,支援 HTML、React、Vue 或 Svelte
- 查詢餘額、免費額度與金鑰上限,並可調降金鑰的每日或每月預算
- 適用情境
- 適合開發助理為應用程式加入地圖、地址查詢或時區功能時使用,不必手動串接地圖服務商即可取得地理編碼與現成的 MapLibre 程式碼片段。預付上限適合希望對地圖 API 支出設定硬性上限的團隊。
- 執行需求
- 託管端點以 GitHub 登入,無需複製金鑰。本機 stdio 方式需要 Node 22.18 或更新版本,以及來自 MapRouter 應用程式的金鑰,透過環境變數 MAPROUTER_SECRET_KEY 傳入。說明指出 npm 套件尚未發布,本機使用可能需要複製儲存庫。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 MapRouter,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/dev.maprouter%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"maprouter": {
"type": "http",
"url": "https://mcp.maprouter.dev/mcp"
}
}
}README
MapRouter MCP server
Maps your agent can set up, and a bill that can't run away.
This MCP server lets a coding agent add a working map to an app: it creates MapRouter keys, geocodes addresses, and writes MapLibre code for HTML, React, Vue or Svelte. MapRouter is prepaid, so the agent can read usage and lower budgets but can never add credits or raise a budget.
Use the hosted server (recommended)
No key to copy: it signs you in with GitHub.
Claude Code plugin
This repo is also a Claude Code plugin marketplace. The plugin adds the hosted server and an
add-a-map skill:
Run it locally
For clients that only run local servers. (The npm package is not published yet; until then,
clone this repo and point your client at node src/stdio.ts.) Create a secret key at https://app.maprouter.dev.
Requires Node 22.18 or later.
Tools
Map data © OpenStreetMap contributors.
Use it as a library
Licence
MIT
來源:README.md,提交 9a2c623
工具
0版本歷史
1- v0.1.1最新Oct 29, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分