Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Opencage Geocoding MCP

by OpenCageDataversion 1.0.3i★ 19iRuns on your computer
Registry nameio.github.OpenCageData/opencage-geocoding-mcp

How to install

What it does

MCP server for OpenCage geocoding API

  • Connects Runs on your computer
  • Account or key Needs YOUR_API_KEY
  • Category Travel, maps & weather

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Opencage Geocoding MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "opencage-geocoding": { "command": "npx", "args": [ "-y", "@opencage/mcp-opencage-server" ], "env": { "YOUR_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Opencage Geocoding MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Opencage Geocoding MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "opencage-geocoding": {
          "command": "npx",
          "args": [
            "-y",
            "@opencage/mcp-opencage-server"
          ],
          "env": {
            "YOUR_API_KEY": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Opencage Geocoding MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Opencage Geocoding MCP or shows a Opencage Geocoding MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Opencage Geocoding MCP yet

Opencage Geocoding MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Opencage Geocoding MCP

  • You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Travel, maps & weather that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Opencage Geocoding MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user opencage-geocoding --env YOUR_API_KEY=your-value -- npx -y @opencage/mcp-opencage-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Opencage Geocoding MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Opencage Geocoding MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user opencage-geocoding --env YOUR_API_KEY=your-value -- npx -y @opencage/mcp-opencage-server

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Opencage Geocoding MCP listed as connected

  6. Try it

    Use Opencage Geocoding MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Opencage Geocoding MCP or shows a Opencage Geocoding MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Opencage Geocoding MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "opencage-geocoding": { "command": "npx", "args": [ "-y", "@opencage/mcp-opencage-server" ], "env": { "YOUR_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Opencage Geocoding MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Opencage Geocoding MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Opencage Geocoding MCP settings, YOUR_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Opencage Geocoding MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Opencage Geocoding MCP or shows a Opencage Geocoding MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Opencage Geocoding MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Opencage Geocoding MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "opencage-geocoding": { "type": "stdio", "command": "npx", "args": [ "-y", "@opencage/mcp-opencage-server" ], "env": { "YOUR_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Opencage Geocoding MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Opencage Geocoding MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Opencage Geocoding MCP settings, YOUR_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Opencage Geocoding MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Opencage Geocoding MCP or shows a Opencage Geocoding MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Opencage Geocoding MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user opencage-geocoding --env YOUR_API_KEY=your-value -- npx -y @opencage/mcp-opencage-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "opencage-geocoding": {
      "command": "npx",
      "args": [
        "-y",
        "@opencage/mcp-opencage-server"
      ],
      "env": {
        "YOUR_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "opencage-geocoding": {
      "command": "npx",
      "args": [
        "-y",
        "@opencage/mcp-opencage-server"
      ],
      "env": {
        "YOUR_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "opencage-geocoding": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@opencage/mcp-opencage-server"
      ],
      "env": {
        "YOUR_API_KEY": "your-value"
      }
    }
  }
}

Values you fill in

  • YOUR_API_KEY secret required env
    Your API key for the service

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
31/wk
Connection
Runs on your computer
Latest versioni
1.0.3
Published to registryi
Sep 12, 2025
Code last changedi
Nov 13, 2026
Maker
OpenCageData
Packages
npm: @opencage/mcp-opencage-server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account OpenCageData, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Travel, maps & weatheri

  • More stars than 98% of the other 1892 servers in this category
  • Published to the registry more recently than 0% of the other 1892 servers in this category
  • Basic checks equal to or better than 100% of the other 1892 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Opencage Geocoding MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: YOUR_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (1.0.3) reached the registry 14 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Mu, Killbottleneck, Award Travel Finder, Whimsical, HasData Google Maps

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

by microGrowing★ 439Updated 3 months ago

Runs in the cloud✓ micro.mu

Killbottleneck

Free-to-self-host goal and process maps for humans and AI agents, with REST API and MCP.

by tengolabsEarly↓ 83/wk★ 14Updated 8 days ago

Runs on your computer✓ service owner · killbottleneck.com

Award Travel Finder

Search award flight availability and points pricing across 27 airlines and 23 loyalty programs.

by AwardTravelFinderEarly★ 14Updated 3 months ago

Runs in the cloud✓ service owner · awardtravelfinder.com

Whimsical

Create and edit flowcharts, mind maps, wireframes, and docs in Whimsical, or search your workspace.

by WhimsicalCodeEarly★ 11Updated 2 months ago

Runs in the cloud✓ service owner · whimsical.com

HasData Google Maps

Google Maps places, reviews, contributor history, photos and posts as JSON. No Google Cloud.

by HasDataEarly↓ 93/wk★ 10Updated 2 months ago

Computer or cloud✓ service owner · hasdata.com
  • Mu — Runs in the cloud, nothing to install · No key needed
  • Killbottleneck — Installs on your computer · Needs a key
  • Award Travel Finder — Runs in the cloud, nothing to install · No key needed
  • Whimsical — Runs in the cloud, nothing to install · No key needed
  • HasData Google Maps — Cloud or install on your computer · Needs a key

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

OpenCage Geocoding MCP Server

An MCP (Model Context Protocol) server that provides geocoding capabilities using the OpenCage geocoding API. This server allows you to convert between addresses and geographic coordinates.

PLEASE NOTE: the examples shown here are based on an integration with claude.ai's desktop client. MCP as a concept is supported by other services, but may require a slightly different configuration.

Features

  • Forward Geocoding: Convert addresses or place names to coordinates (latitude/longitude)
  • Reverse Geocoding: Convert coordinates to addresses
  • API Status Monitoring: Check your API usage and rate limits (assuming your penCage account has hard limits).

Prerequisites

  1. Node.js (version 20 or higher)
  2. OpenCage geocoding API Key: Sign up on the OpenCage website to get a free-trial geocoding API key

Installation

  1. Is MCP the right tool?

This MCP is the right tool for small amounts of geocoding, for example while manually prompting an LLM.

If however, you want to process larger volumes of data, for example CSV files full of address or coordinates, or connecting to database full of data, it is almost certainly both faster and more affordable to use our command line tools, or have the LLM write a script to call our API directly.

We offer a markdown-formatted opencage-geocoding-api SKILL file to train your AI on best practices for working with our geocoding API.

  1. Clone the repository. Change into the repository directory

git clone git@github.com:OpenCageData/opencage-geocoding-mcp.git

or

git clone https://github.com/OpenCageData/opencage-geocoding-mcp.git

cd opencage-geocoding-mcp

  1. Install dependencies:
npm install

This is enough to get the MCP working with Claude Desktop (see below)

If you want to develop the MCP and plan to query the MCP from the command line you will also need to:

  1. Set your OpenCage geocoding API key as an environment variable:
export OPENCAGE_API_KEY="your_opencage_geocoding_api_key_here"
  1. Build the project:
npm run build

Usage

Using within Claude Desktop

Add this configuration to your Claude Desktop config file

On a Mac the config file should be (~/Library/Application Support/Claude/claude_desktop_config.json), but you can also navigate to the file via the menu: Settings > Developer > Edit Config

{

"mcpServers": { "opencage-geocoding": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/opencage-geocoding-mcp/build/index.js"], "env": { "OPENCAGE_API_KEY": "your_opencage_geocoding_api_key_here" } } } }

Available Tools

Note: the first time you run a command you will need to give Claude permission

1. geocode-forward

Convert an address or place name to coordinates and information about that location.

Parameters:

  • query (required): The address or place name to geocode
  • countrycode (optional): Restrict to country (ISO 3166-1 alpha-2 code)
  • bounds (optional): Bounding box (min_lon,min_lat,max_lon,max_lat)
  • language (optional): Language for results (e.g., 'en', 'de', 'fr')
  • limit (optional): Max results (1-100, default 10)
  • no_annotations (optional): Exclude location annotations

Example prompts

Prompt: "What are the coordinates of Trafalgar Square, London?"

Result: coordinates, timezone, local currency, etc

Prompt: "Where is Les Vans, France? Which Department is it in?" Result: coordinates, and correct answer that Les Vans is in the Ardèche department

Prompt: "In welchem Bundesland liegt Weimar?" Result: coordinates, and correct answer that Weimar is in Thüringen

2. geocode-reverse

Convert coordinates to an address and information about that location

Parameters:

  • latitude (required): Latitude coordinate (-90 to 90) in decimal format
  • longitude (required): Longitude coordinate (-180 to 180) in decimal format
  • language (optional): Language for results
  • no_annotations (optional): Exclude location annotations

Example prompts

Prompt: "what is the address at 38.8976, -77.0365?"

Result: "1600 Pennsylvania Avenue NW, Washington, DC 20500, United States of America"

Prompt: "Which province are the coordinates 41.38700, 2.16995 in?" Result: "Coordinates are in Barcelona in the province of Catalonia"

3. get-opencage-info

Check your current API usage and rate limits. NOTE: subscription customers do NOT have hard usage limits. See relevant documentation.

Parameters: None

Returns: Information about remaining requests, rate limits, and reset times.

Available Prompts

geocoding-assistant

A helpful assistant for geocoding tasks. Provides guidance on using the geocoding tools effectively.

Error Handling

The server includes comprehensive error handling:

  • Invalid API keys
  • Rate limit exceeded
  • Network errors
  • Invalid coordinates or addresses
  • API service unavailable

Environment Variables

  • OPENCAGE_API_KEY: Your OpenCage geocoding API key (required)

Troubleshooting

  1. "API key required" error: Make sure the env var OPENCAGE_API_KEY is set
  2. "No results found": Try a more specific or different address format, see the OpenCage guide to query formatting
  3. Rate limit errors: Check your API usage with get-api-status tool
  4. Network errors: Verify internet connection or the public OpenCage status page

Relevant Links

Who is OpenCage GmbH?

We run a worldwide geocoding API and geosearch service based on open data. Learn more about us.

We also organize Geomob, a series of regular meetups for location based service creators, where we do our best to highlight geoinnovation. If you like geo stuff, you will probably enjoy the Geomob podcast.