Server data from the Official MCP Registry
Forward and reverse geocoding, place search, and distance via OpenStreetMap Nominatim. No key.
Forward and reverse geocoding, place search, and distance via OpenStreetMap Nominatim. No key.
This is a well-designed geocoding MCP server with proper authentication, good code quality, and permissions that match its purpose. The server correctly implements rate-limiting and user-agent policies required by OpenStreetMap's Nominatim API. No security vulnerabilities or malicious patterns detected. Minor improvements around error handling and input validation could be made. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
6 files analyzed Β· 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: GEOCODE_USER_AGENT
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-danishashko-geocode-mcp": {
"env": {
"GEOCODE_USER_AGENT": "your-geocode-user-agent-here"
},
"args": [
"-y",
"geocode-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
Turn place names and addresses into coordinates (and back) for Claude Desktop and any MCP-compatible client, powered by OpenStreetMap Nominatim. Forward & reverse geocoding, place/POI search, and distance between locations β all from natural language. No API key required.
npm package:
geocode-mcpΒ Β·Β GitHub repo:danishashko/geocode-mcp.
Geocoding is something LLMs can't reliably do on their own β this gives Claude real, current coordinates from OpenStreetMap. Every tool returns human-readable markdown by default, or structured JSON on request (response_format: "json"). Lightweight (Python standard library + mcp only), no API key.
Add this to your Claude Desktop config and restart Claude:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"geocode": {
"command": "npx",
"args": ["-y", "geocode-mcp"],
"env": {
"GEOCODE_USER_AGENT": "your-app-name your@email.com"
}
}
}
}
OpenStreetMap asks every client to send a descriptive User-Agent with contact info. Set GEOCODE_USER_AGENT to your own name/email (a default is provided so it works out of the box). On first launch the npx wrapper creates an isolated Python environment and installs the dependency (one-time, ~a minute). You need Python 3.10+ and Node.js 16+.
npm install -g geocode-mcp
{
"mcpServers": {
"geocode": {
"command": "geocode-mcp",
"env": { "GEOCODE_USER_AGENT": "your-app-name your@email.com" }
}
}
}
| Tool | What it returns | Parameters |
|---|---|---|
geocode | Ranked coordinate matches for an address/place/landmark | query, limit, country_codes |
reverse_geocode | The address at a given latitude/longitude | latitude, longitude |
search_places | Places/POIs matching a description, with coordinates | query, limit, country_codes |
distance_between | Straight-line distance between two named places | origin, destination, unit |
Every tool also accepts response_format ("markdown", the default, or "json"). country_codes is an optional comma-separated ISO 3166-1 alpha-2 filter (e.g. us or us,ca).
Once the server is connected, just ask Claude:
"OpenStreetMap is rate-limiting requests" Nominatim's public server allows ~1 request/second. This server self-throttles, but if you still hit it, wait a moment.
"No locations found"
Try a more specific or differently-worded query, or add a country_codes filter to disambiguate.
"Command not found" / "Python not found"
Ensure Python 3.10+ and Node.js 16+ are installed and on your PATH. On macOS/Linux, try python3.
Tools not showing up in Claude
If you would rather run the Python file directly instead of via npx:
1. Download the server and install the dependency
pip install mcp
(or pip3 on macOS/Linux)
2. Point Claude Desktop at it
{
"mcpServers": {
"geocode": {
"command": "python3",
"args": ["/absolute/path/to/geocode_mcp.py"],
"env": { "GEOCODE_USER_AGENT": "your-app-name your@email.com" }
}
}
}
On Windows use "command": "python" and a path like "C:\\path\\to\\geocode_mcp.py".
3. Restart Claude Desktop.
User-Agent and self-throttles to ~1 request/second. Please don't use it for bulk/heavy workloads against the public server.distance_between returns straight-line (great-circle) distance, not driving/route distance.country_codes to narrow ambiguous names (e.g. "Springfield").See CHANGELOG.md for the full version history.
This tool uses the OpenStreetMap Nominatim API but is not affiliated with or endorsed by the OpenStreetMap Foundation. Geocoding data Β© OpenStreetMap contributors, licensed under the Open Database License. Use is subject to the Nominatim Usage Policy.
Daniel Shashko
MIT Β© Daniel Shashko
Be the first to review this server!
by Modelcontextprotocol Β· Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno Β· Developer Tools
Toleno Network MCP Server β Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace Β· Developer Tools
Create, build, and publish Python MCP servers to PyPI β conversationally.