
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 分
请在仓库或注册中心条目中声明许可证。