
930m310n
io.github.930m310n由 GitHub 帳號 930m310n 發布v1.0.7更新於 Oct 25, 2026
MCP server for the Geomelon geographic API — stdio and remote HTTP transports
概覽
面向 Geomelon 地理 API 的 MCP 伺服器,讓助理查詢城市、國家、地區與語言,並提供免金鑰的示範模式。
- 可以做什麼
- 依名稱、國家代碼、地區、人口範圍或排序方式搜尋城市,並取得城市詳細資料、譯名、聚落類型與城市間距離。尋找座標附近或某城市附近的城市,並在一次呼叫中比較兩個城市。列出並檢視國家,包括譯名、行政區與人口最多的城市。列出並檢視地區與語言。使用免費的國家限定城市名前綴自動完成,這是唯一免 API 金鑰的工具。
- 適用情境
- 適合助理需要結構化地理參考資料的情境:解析地名、比較城市、計算距離,或為旅遊、在地化與資料補充任務取得國家與地區背景資訊。
- 執行需求
- 需要 Node.js 18 以上版本,透過 npx 以 stdio 程序或本機 HTTP 伺服器方式執行。需要已訂閱 Geomelon API 的 RapidAPI 金鑰,透過 GEOMELON_API_KEY 提供,才能使用完整工具集;沒有金鑰時僅自動完成工具可用。HTTP 傳輸會讀取 PORT,且使用用戶端時伺服器必須保持執行。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 930m310n,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
geomelon-mcp
MCP server for the Geomelon geographic API. Exposes cities, countries, regions, and languages as tools any MCP-compatible AI client can call.
Looking for other ways to integrate? See all official libraries at geomelon.dev/libraries.
Two transports are included:
Requirements
- Node.js 18+
- A RapidAPI key with the Geomelon API subscribed — optional, see keyless demo mode below
Keyless demo mode
No GEOMELON_API_KEY? Run the server anyway — it starts up with just the search_cities_autocomplete tool, backed by the free oneshot host, no signup required. Every other tool needs a key. This is the fastest way to try the server before subscribing on RapidAPI.
Try it with zero setup
Geomelon also runs a public hosted instance of this same keyless demo — no npx, no local process. Point any remote-MCP-capable client (Claude web/desktop connectors, ChatGPT connectors, MCP Inspector, etc.) at:
It exposes only search_cities_autocomplete, same as running the server yourself with no API key. For the full 22-tool set, run your own instance (below) with your RapidAPI key.
Claude Code (HTTP)
Create a .env file in the directory you'll run the server from:
Start the server (dotenv loads .env automatically):
Register it with Claude Code:
Verify it's connected:
The server must be running whenever you use Claude Code. To use a different port set PORT=your_port and update the URL in the claude mcp add command accordingly.
Claude Desktop (stdio)
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Restart Claude Desktop after saving.
Cursor / Windsurf / Cline (stdio)
Add to your editor's MCP config:
Remote / hosted HTTP server
Create a .env file on your server:
Start the server:
Then register with any MCP client using http://your-host:3000/mcp as the URL.
The HTTP transport is stateless — each request is independent, no session management needed. CORS is wide open (Access-Control-Allow-Origin: *) since this transport is meant to be reachable by browser-based remote-MCP clients too. GET / (or /health) returns a small JSON status object — useful for uptime checks — reporting whether the instance has a key configured ("mode": "full" or "mode": "keyless-demo").
Available tools
Cities
Countries
Regions
Languages
Oneshot prefix search (free, no API key)
See geomelon.dev/free-city-autocomplete-api for supported country/language pairs and the underlying HTTP endpoint.
Compound tools
These tools chain multiple API calls internally to save round-trips.
來源:README.md,提交 195f4de
工具
0版本歷史
1- v1.0.7最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。