OpenCage Geocoder

OpenCage Geocoder MCP Connector for Claude

F

Convert addresses to coordinates and coordinates to addresses worldwide with the OpenCage Geocoding API.

2 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect the OpenCage Geocoder to your AI agent for high-precision global geocoding and reverse geocoding. This server allows your agent to translate between human-readable addresses and geographic coordinates using a single, reliable API.

What you can do

  • Forward Geocoding — Convert any address, city, or landmark into precise latitude and longitude coordinates.
  • Reverse Geocoding — Provide coordinates and receive a formatted, human-readable address with detailed location metadata.
  • Global Coverage — Access data from multiple open sources (OpenStreetMap, Twofishes, etc.) covering the entire globe.
  • Road Information — Optionally retrieve specific road data, including nearest road matching and road-specific attributes.
  • Localization — Get results in specific languages or formats to suit your application's needs.

How it works

  1. Subscribe to this server
  2. Enter your OpenCage API Key
  3. Start asking your agent for location data, map coordinates, or address lookups

Who is this for?

  • Developers — Integrate location data into apps without managing complex geospatial databases.
  • Data Analysts — Clean and enrich datasets with precise geographic information.
  • Logistics Teams — Verify addresses and calculate coordinates for routing and delivery services.
geocodingreverse-geocodingmapslocation-datacoordinates

2 tools expose this connector's capabilities to your AI agent.

forward_geocode

Forward geocode an address or placename to coordinates

reverse_geocode

Reverse geocode coordinates to an address

See how to talk to your AI agent using OpenCage Geocoder.

What are the coordinates for the Eiffel Tower in Paris?

I've geocoded the Eiffel Tower. The coordinates are Latitude 48.85837, Longitude 2.29448. It is located at Champ de Mars, 5 Avenue Anatole France, 75007 Paris, France.

What is the address at latitude 52.51627 and longitude 13.37772?

The address for those coordinates is Brandenburger Tor, Pariser Platz, 10117 Berlin, Germany.

Find 'Main Street' but only in the United Kingdom and return the result in French.

Searching for 'Main Street' in the UK... I found a primary result: Main Street, Gibraltar, Royaume-Uni (Note: Gibraltar is a British Overseas Territory). Would you like to see other matches within the UK?

Yes! Use the `countrycode` parameter in the `forward_geocode` tool with ISO 3166-1 alpha-2 codes (e.g., 'us' for USA, 'br' for Brazil) to restrict results to that territory.

Related Connectors