Get the FREE Ultimate OpenClaw Setup Guide →

mcp

MCP server to access free geocoding

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio geocoding-ai-mcp npx -y @geocoding-ai/mcp

How to use

Geocoding MCP Server provides geocoding capabilities by integrating with the Nominatim API through the MCP framework. This server exposes a geocoding service that can be consumed by MCP clients (such as Claude Desktop or other MCP-enabled apps) to translate human-readable addresses into geographic coordinates and related location data. To use it, configure an MCP client to connect to the geocoding MCP server using the npx-based startup specified in the README, which effectively runs the @geocoding-ai/mcp package as an MCP server. Once running, you can send geocoding queries (for example, address strings) and receive structured results including latitude, longitude, and locality information. The setup is designed to be drop-in for MCP ecosystems, so it can be combined with other MCP servers and clients in your workflow.

How to install

Prerequisites:

  • Node.js >= 18.0.0
  • npm (comes with Node.js) or npm-compatible tooling

Installation steps:

  1. Ensure Node.js is installed and accessible from your terminal: node -v npm -v

  2. Install and/or run the MCP server using npx (as shown in the README) to start the geocoding MCP server:

# Start the MCP server via npx (no local install required per the README setup)
npx -y @geocoding-ai/mcp
  1. If you prefer to pin and reuse a local setup, install the package locally and start the server similarly:
npm i -D @geocoding-ai/mcp
npx -y @geocoding-ai/mcp
  1. Configure your MCP client (e.g., Claude Desktop) to connect to the server using the provided configuration in the project’s README (claude_desktop_config.json example).

Example Claude Desktop configuration snippet (from README):

{
  "mcpServers": {
    "geocoding": {
      "command": "npx",
      "args": [
        "-y",
        "@geocoding-ai/mcp"
      ]
    }
  }
}
  1. Start your client and invoke the geocoding MCP service through the configured server name (e.g., geocoding).

Note: The MCP server relies on the Nominatim API for geocoding queries, so ensure your environment has internet access and be aware of API usage limits and terms.

Additional notes

Tips and considerations:

  • Rate limits: Geocoding queries are routed through the Nominatim API. Respect usage policies and implement caching where possible to reduce redundant requests.
  • Environment: If running behind a proxy or corporate network, ensure outbound HTTP(S) access is permitted for API calls.
  • Configuration: The README shows an npx-based startup. If you prefer a persistent local install, pin the package version in your package.json and manage the process with a PM2-style runner or your system service manager.
  • Client integration: This MCP server is designed to work within the MCP ecosystem. Use MCP-compatible clients (like Claude Desktop) and refer to the MCP quickstart docs for wiring multiple servers together in a single workflow.
  • Debugging: If no responses are returned, verify network access to the Nominatim API, check that the MCP server process is running, and confirm the client is correctly configured to connect to the server.

Related MCP Servers

Sponsor this space

Reach thousands of developers