Mcp Mapmyindia

io.github.bhuvnsh由 GitHub 帳號 bhuvnsh 發布v0.1.0更新於 Oct 24, 2026

MCP server for India maps - place search, nearby discovery, & directions powered by the Mappls API.

概覽

AI 產生的概覽

本機 MCP 伺服器,封裝 Mappls / MapMyIndia 地圖 API,讓助理在印度範圍內進行地理編碼、地點搜尋、周邊探索與路線查詢。

可以做什麼
將地址或地名轉換為座標,並把座標反查為可讀地址(geocode、reverse_geocode)。依關鍵字搜尋與自動補全地點,並透過 Mappls eLoc 地點 ID 取得地點詳細資訊。以參考位置為中心,依關鍵字探索周邊地點。取得兩點之間的逐步導航路線,支援中途點。計算多個起點與終點之間的行駛距離與時間。
適用情境
適合需要印度在地位置資訊的情境:把印度地址解析為座標、尋找附近的地點或商家,或規劃兩點之間的路線與行車時間。
執行需求
透過 npx 在本機執行,需要 Node.js 18 或更新版本。需要 Mappls 帳號,可用 MAPPLS_API_KEY 提供 API 金鑰,或以 MAPPLS_CLIENT_ID 與 MAPPLS_CLIENT_SECRET 提供 OAuth 憑證。需要可連線至 Mappls API 的網路。
安裝前請注意
需要 Mappls API 憑證,屬於機密:MAPPLS_API_KEY 或 MAPPLS_CLIENT_SECRET。這些憑證會寫入助理的設定檔,請妥善保護該檔案。查詢內容與座標會傳送給 Mappls 的第三方 API。README 的 OAuth 範例所用套件名稱與已發布的套件不一致,安裝前請先確認套件名稱。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Mapmyindia,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-mapmyindia

MCP Server for Mappls / MapMyIndia APIs

[CI] [npm version] [License: MIT]

An MCP (Model Context Protocol) server that exposes Mappls / MapMyIndia APIs as tools for AI assistants like Claude. Enables geocoding, reverse geocoding, place search, nearby discovery, routing, and distance calculations — all focused on India's mapping data.


Tools

ToolDescription
geocodeConvert an address or place name to coordinates
reverse_geocodeConvert coordinates (lat/lng) to a human-readable address
places_searchAutocomplete and search for places by query string
nearbyDiscover nearby places by keyword around a reference location
directionsGet turn-by-turn directions between two points (supports waypoints)
distance_matrixCompute travel distance and time between multiple origins and destinations
place_detailFetch detailed information for a place using its eLoc (Mappls place ID)

Setup

Get API credentials

Register at https://apis.mappls.com to get either:

  • An API key (simpler, for personal/testing use)
  • OAuth client credentials (recommended for production)

Authentication

Set one of the following in your environment:

Option A — OAuth (Client Credentials): RECOMMENDED

bash
export MAPPLS_CLIENT_ID=your_client_idexport MAPPLS_CLIENT_SECRET=your_client_secret

Option B — API Key:

bash
export MAPPLS_API_KEY=your_api_key_here

Usage with Claude Desktop

Add to your claude_desktop_config.json:

OAuth
{  "mcpServers": {    "mapmyindia": {      "command": "npx",      "args": ["-y", "@bhuvsh/mcp-mapmyindia"],      "env": {        "MAPPLS_CLIENT_ID": "your_client_id",        "MAPPLS_CLIENT_SECRET": "your_client_secret"      }    }  }}

Or with API key:

json
{  "mcpServers": {    "mapmyindia": {      "command": "npx",      "args": ["-y", "@bhuvnsh/mcp-mapmyindia"],      "env": {        "MAPPLS_API_KEY": "your_api_key_here"      }    }  }}

Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Development

bash
# Clone and installgit clone https://github.com/bhuvnsh/mcp-mappls.gitcd mcp-mapplsnpm install
# Buildnpm run build
# Run testsnpm test
# Watch mode (dev)npm run dev

Requirements

  • Node.js >= 18
  • A Mappls API key or OAuth client credentials

Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change. Pull requests should include tests.


License

MIT

來源:README.md,提交 84ab874

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分