Opencage Geocoding MCP

An MCP (Model Context Protocol) server that provides geocoding capabilities using the OpenCage geocoding API. It runs locally over stdio via the published package.

People connecting maps & location tools to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-12 · ★ 19 · #25 OF 56 MAINTAINED MAPS & LOCATION · VERIFIED 2026-08-25

MIT · JavaScript servers · how we verify → /methodology

01 · Install Opencage Geocoding MCP

before you install - you'll need

OPENCAGE_API_KEY

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add opencagedata-opencage-geocoding-mcp -- npx -y @opencage/mcp-opencage-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "opencagedata-opencage-geocoding-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@opencage/mcp-opencage-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @opencage/mcp-opencage-server - the @opencage scope differs from the repo owner (opencagedata); confirm it's the project's official package

registry namespace io.github.OpenCageData is GitHub-verified and matches the repo owner

03 · Who maintains Opencage Geocoding MCP

opencage-geocoding-mcp is maintained by opencagedata. It's the only MCP server we track from this author; the repo dates to May 2025.

04 · Facts

category
maps & location - ranked #25 of 56 actively-maintained maps & location servers as of 2026-08-25.
registry
io.github.OpenCageData/opencage-geocoding-mcp (active, first published 2025-09-11)
packages
npm:@opencage/mcp-opencage-server

05 · Opencage Geocoding MCP FAQ

What is Opencage Geocoding MCP?

An MCP (Model Context Protocol) server that provides geocoding capabilities using the OpenCage geocoding API. It runs locally over stdio via the published package.

Is Opencage Geocoding MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-12. We re-verify nightly.

How do I install Opencage Geocoding MCP?

Run `npx -y @opencage/mcp-opencage-server`. The README documents one environment variable (OPENCAGE_API_KEY) to set first. You can also paste the ready-made client config above.

Does Opencage Geocoding MCP run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to Opencage Geocoding MCP

More maps & location MCP servers · Optifeed Radar · Oh My Wind · Solar MCP · Leafengines · Biolit

More JavaScript MCP servers · Spec Score MCP · Gmail Postmaster Tools · Outlook SNDS · Orbis API Marketplace · Orderly MCP · see all