• DATA
  • MAPS
  • DOCS
  • HUMAN

How to convert coordinates to addresses with your AI

Connect OpenCage Geocoder to your agent to turn raw map data into human-readable locations. Once connected, your AI handles the lookups for you.

Ask AI about this page

Short answer

How do I turn lat/long into a street address?

Your AI uses the reverse_geocode tool to look up specific coordinates and return a formatted address. This process turns raw numbers into names of streets, cities, and countries. You'll get structured location data ready for your spreadsheets or maps.

Where your data lands.

The results of your conversion.

The AI processes your coordinates and delivers the results to these destinations.

DATA

Structured address lists

The AI pulls the street, city, and zip code from the coordinates. You get a clean list of locations instead of a wall of numbers.

MAPS

Readable map labels

The AI converts points into human-friendly place names. This makes your map markers actually useful for people to read.

DOCS

Updated spreadsheets

The AI writes the converted addresses directly into your sheets or documents. It replaces the raw coordinates with the text you need.

HUMAN

Manual verification

The AI flags any coordinates that don't return a clear match. You decide if the resulting address is accurate enough for your use.

The workflow

What your AI does when the coordinates arrive.

The AI acts as the bridge between raw math and human language.

  1. Identify coordinates

    Your AI scans your input, whether it's a single pair or a whole list, to find the latitude and longitude values.

    reverse_geocode
  2. Query the geocoder

    The agent sends the coordinates to OpenCage to find the closest matching physical location.

    reverse_geocode
  3. Parse the response

    The AI extracts the specific parts of the address, like the street name or postal code, from the raw data returned.

    reverse_geocode
  4. Format the output

    The agent organizes the address into the specific format you requested, like a single line or a structured table.

    reverse_geocode

Try it

Copy these to start.

Use these prompts to kick off the conversion process.

Starting points

These are just ideas. Swap out the specific file names or data types for your own.

OpenCage Geocoder Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_Oo9CdLqd7PdzHDJE8MP4UsAbpXEOl2GV84VNK9hD/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — OpenCage Geocoder capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "opencage-geocoder-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Oo9CdLqd7PdzHDJE8MP4UsAbpXEOl2GV84VNK9hD/mcp"
    }
  }
}
Copy into chat04
  • Convert the coordinates in this CSV file into full street addresses.

  • Take these lat/long pairs from my Google Sheet and give me the city and country for each.

  • Look at the coordinates in this text block and tell me what street they are on.

  • Find the postal codes for these specific coordinates in my project folder.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect OpenCage Geocoder once, then ask.

Just click the link to connect your account. Your credentials stay encrypted, and you can immediately start asking your AI to geocode data.

Connect OpenCage Geocoder to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change the original coordinates?

    No. The AI only reads the coordinates to find the address; it does not modify your source data.

  • 02

    What happens if a coordinate is in the middle of the ocean?

    The AI will report that no address was found for those specific coordinates.

  • 03

    Can the AI create new map files?

    No. The AI can only provide the text-based address data. You have to paste that into your mapping software.

  • 04

    Does the AI handle bulk conversions?

    Yes, as long as you provide the list of coordinates in your chat or file.

  • 05

    Will the AI delete my existing address data?

    No. The AI only performs lookups and does not have the ability to delete your files or records.

  • More questions about OpenCage Geocoder? The Connector page answers them. See everything the OpenCage Geocoder Connector can do

Connect OpenCage Geocoder to Claude, Cursor, ChatGPT & more