Skip to content
MCP server
Registry

Geocoding MCP Server

Forward and reverse geocoding, place search, and distance via OpenStreetMap Nominatim. No key.

Geocoding scores 54 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 3 tools. Filed under Maps and location. GitHub shows 1 stars. Package registries report about 79 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by danishashkoMITPython1 stars
Trust score
54Fair
Trust score 54 of 100, Fair

Fair trust

54 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 54 comes from

22 + 10 + 1 + 10 + 4 + 7 = 54. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "danishashko-geocode-mcp": {      "command": "npx",      "args": [        "-y",        "geocode-mcp@1.0.2"      ],      "env": {        "GEOCODE_USER_AGENT": ""      }    }  }}

Environment variables

NameRequiredNotes
GEOCODE_USER_AGENTOptionalDescriptive User-Agent with contact info requested by OpenStreetMap, e.g. 'your-app your@email.com'

Tools3Tool docs quality grade D

All capabilities

About

Geocoding MCP Server πŸ—ΊοΈ

npm version npm downloads Python License: MIT

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.

🎯 What You Get

  • πŸ“ Geocode β€” address/place/landmark β†’ latitude & longitude
  • πŸ”„ Reverse geocode β€” coordinates β†’ human-readable address
  • πŸ”Ž Place search β€” find POIs/places by description
  • πŸ“ Distance β€” straight-line distance between two named places

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.

πŸš€ Quick Start

Add this to your Claude Desktop config and restart Claude:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %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+.

Prefer a global install?

npm install -g geocode-mcp
{
  "mcpServers": {
    "geocode": {
      "command": "geocode-mcp",
      "env": { "GEOCODE_USER_AGENT": "your-app-name your@email.com" }
    }
  }
}

πŸ”§ Available Tools

ToolWhat it returnsParameters
geocodeRanked coordinate matches for an address/place/landmarkquery, limit, country_codes
reverse_geocodeThe address at a given latitude/longitudelatitude, longitude
search_placesPlaces/POIs matching a description, with coordinatesquery, limit, country_codes
distance_betweenStraight-line distance between two named placesorigin, 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).

πŸ’¬ Example Prompts

Once the server is connected, just ask Claude:

  • "What are the coordinates of the Eiffel Tower?"
  • "What's at latitude 40.7484, longitude -73.9857?"
  • "Find bookstores in Paris."
  • "How far is it from London to Edinburgh in miles?"
  • "Geocode '1600 Pennsylvania Avenue' β€” US only."

πŸ› Troubleshooting

"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

  1. Confirm the config file is valid JSON (no trailing commas).
  2. Fully quit and reopen Claude Desktop.

Using a different model or provider (LiteLLM, OpenRouter, NVIDIA NIM, a local model) This server never talks to a model. Your client starts it as a local process and speaks JSON-RPC over stdin/stdout, so changing ANTHROPIC_BASE_URL or swapping the model behind your client has no effect on it. If tools stop firing after a switch like that, check two things: the model has to support function calling, and a proxy configured to drop unsupported parameters can silently strip your tool definitions, which produces no error at all. Run /mcp in your client (or claude mcp list) to confirm the server is connected before suspecting the server.

πŸ› οΈ Manual Installation (Alternative)

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.

πŸ”’ Privacy & Usage Policy

  • Uses OpenStreetMap's free Nominatim API β€” public, no key.
  • Requests go straight from your machine to OpenStreetMap. Nothing is stored or proxied.
  • Per the Nominatim Usage Policy, the server sends a descriptive User-Agent and self-throttles to ~1 request/second. Please don't use it for bulk/heavy workloads against the public server.
  • Data Β© OpenStreetMap contributors, available under the ODbL.

πŸ“ Notes

  • distance_between returns straight-line (great-circle) distance, not driving/route distance.
  • Results are ranked by relevance/importance; use country_codes to narrow ambiguous names (e.g. "Springfield").
  • Reverse geocoding near water or remote areas may return no address.

πŸ“‹ Changelog

See CHANGELOG.md for the full version history.

πŸ“š Resources

βš–οΈ Legal Disclaimer

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.

πŸ‘€ Author

Daniel Shashko

πŸ“„ License

MIT Β© Daniel Shashko

Frequently asked questions

What is Geocoding MCP Server?

Forward and reverse geocoding, place search, and distance via OpenStreetMap Nominatim. No key.

How do I install Geocoding MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Geocoding MCP Server runs locally from the npm package geocode-mcp with the command npx -y geocode-mcp@1.0.2.

Is Geocoding MCP Server free and open source?

Yes. Geocoding MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Geocoding MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Geocoding MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Geocoding MCP Server provide?

Geocoding MCP Server provides 3 tools: distance_between, reverse_geocode, and search_places. See the full tool list for descriptions and parameters.

How is Geocoding MCP Server's trust score calculated?

Geocoding MCP Server scores 54 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

β€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server