No install? Use cloud.anythingmcp.com directly.
Sign in, install the Nominatim (OpenStreetMap) in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
Free, no-auth geocoding using OpenStreetMap's Nominatim service. Forward + reverse geocoding + place lookup + search. 4 tools.
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Nominatim (OpenStreetMap)、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Nominatim (OpenStreetMap) + Gemini
Free, no-auth geocoding using OpenStreetMap's Nominatim service. Forward + reverse geocoding + place lookup + search. 4 tools.
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
(none — public API)
步骤 1 — 获取凭证
org).
Setup: NO API KEY REQUIRED. Just install the connector. The base URL is https://nominatim.openstreetmap.org.
HOWEVER — usage policy you MUST respect (otherwise you'll get banned):
- Max 1 request per second per IP. The connector does NOT throttle for you — your agent must self-limit. For bulk usage, run a self-hosted Nominatim or use a paid Nominatim host.
- User-Agent header REQUIRED — every request must identify you. The connector pins
User-Agent: AnythingMCP (https://anythingmcp.com)automatically. - No heavy bulk geocoding — if you need >100 requests/hour, switch to MapTiler / OpenCage / Mapbox / Google.
- …
步骤 2 — 安装 adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
步骤 3 — 在 Gemini 中添加连接器
Gemini CLI 从 ~/.gemini/settings.json (Windows: %APPDATA%\gemini\settings.json) 读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- 从 AnythingMCP 获取你的 MCP API key。
- 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp—Nominatim (OpenStreetMap)应显示为可用。 - Vertex AI Studio: 将
https://cloud.anythingmcp.com/mcp传入请求的tools数组,使用相同的 Bearer 头。
可用工具
| Tool | What it does |
|---|---|
nominatim_search | Forward geocode (free-text address → coordinates + structured address) |
nominatim_reverse | Reverse geocode (coordinates → address) |
nominatim_lookup | Look up known OSM IDs (N1234, W5678, R9012 for nodes/ways/relations) |
nominatim_status | Service status check |
FAQ
Gemini 1.5 Pro 或 2.x 支持 MCP 吗? 支持 — Gemini CLI ≥ 0.4 与 Vertex AI tools API 均接受带 Bearer 头的 MCP httpUrl 连接器。
下一步
这份指南对您有帮助吗?