Connect OpenCage to Your AI Agent

Connect OpenCage geocoding to an AI assistant to find coordinates for addresses, interpret coordinates and prepare GeoJSON results.

3 tools API key

Try a OpenCage Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill OpenCage

Locate an Address

Geocode a supplied address and explain returned candidates.

/oo OpenCage: Geocode [address] within country [code] and explain the candidate coordinates and confidence.

Interpret Coordinates

Reverse geocode a coordinate pair into available address details.

/oo OpenCage: Reverse geocode [latitude,longitude] and summarize the returned address components.

Prepare GeoJSON

Return geocoding results as a GeoJSON FeatureCollection.

/oo OpenCage: Geocode [place] as GeoJSON and explain the returned feature properties.

Start Working with OpenCage

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect OpenCage

    Provide an OpenCage API key from your account’s Geocoding tab.

    Connect OpenCage →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • An OpenCage account with geocoding API access.
  • Supply an address or latitude,longitude pair and useful country or bounding-box context. Review confidence and candidate results when a location is ambiguous.

OpenCage Tools

Connect OpenCage geocoding to an AI assistant to find coordinates for addresses, interpret coordinates and prepare GeoJSON results.

Locate an Address

Geocode a supplied address and explain returned candidates.

Interpret Coordinates

Reverse geocode a coordinate pair into available address details.

Prepare GeoJSON

Return geocoding results as a GeoJSON FeatureCollection.

3 tools

Geocode Forward

Convert an address or place name into OpenCage geocoding results.

opencage.geocode_forward

Geocode Reverse

Convert a latitude and longitude pair into OpenCage reverse geocoding results.

opencage.geocode_reverse

Geocode Geojson

Return OpenCage geocoding results in GeoJSON FeatureCollection format.

opencage.geocode_geojson

Frequently Asked Questions

Can I narrow an ambiguous address?

Forward geocoding supports country codes, bounds and proximity hints. Include known location context and compare the returned candidates.

How do I connect OpenCage?

Provide an OpenCage API key from your account’s Geocoding tab.

What should I specify in my request?

Supply an address or latitude,longitude pair and useful country or bounding-box context. Review confidence and candidate results when a location is ambiguous.

Connect OpenCage

About OpenCage ↗