Opencage

Opencage MCP integration

Resolves a typed address into coordinates, names the place behind a coordinate pair, and returns either as GeoJSON, XML, or JSONP.

7actions available

Three actions you can hand over today

Every action runs live through MCP. Nothing to build, nothing to maintain.

  • Forward geocode address

    Lyro converts a street address into geographic coordinates so you can map customer locations or plan routes. This bridges text data to geographic analysis.

  • Geocode to geojson

    Lyro geocodes addresses and returns GeoJSON format so you can plot locations on interactive maps. This enables geographic visualizations and spatial queries.

  • Reverse geocode coordinates

    Lyro converts GPS coordinates into a readable address to identify a customer's location or service area. This translates lat/long back into names.

See all 7 actions

How businesses use Opencage + Lyro

Each card is one request a support team gets, and the Opencage actions Lyro runs to close it.

  • Turn the address a customer typed into coordinates

    Lyro passes a free-text address to OpenCage and returns latitude and longitude, or the same result as a GeoJSON feature that a mapping library can draw without anyone reformatting the input first.

    Forward Geocode AddressGeocode to GeoJSON
  • Name the place behind a pair of coordinates

    Given a latitude and longitude from a device, a form, or a tracking payload, Lyro returns the formatted address, and can run the same lookup as XML when the consuming system parses XML.

    Reverse Geocode CoordinatesGeocode XML
  • Return the result in the format the receiving system expects

    For a browser calling across domains Lyro can wrap the result in a JavaScript callback, or emit the legacy Google Geocoding v3 shape so an older integration keeps parsing it unchanged.

    Geocode with JSONPGeocode Google v3 JSON

How it works

Get started in 3 steps

Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the Opencage actions it has and picks the ones a request needs.

  1. 01

    Connect Opencage

    Authorize the Opencage account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.

  2. 02

    Tell your agent what you need

    Describe the job the way you would hand it to a teammate. Lyro maps it to the Opencage actions that close it and chains as many as the request needs.

  3. 03

    Watch it work

    The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.

    Get started free
Opencage · Lyro

Everything else about Opencage

Setup, permissions, and the limits of what Lyro can do inside Opencage.

  • Yes. Check API Health pings the API and returns 'pong' when it is operational, so a connectivity problem is reported as exactly that rather than surfacing as a geocode that came back empty.

Every action available in Opencage

All 7 actions your agent can call on Opencage, straight from the live MCP connection.

  • Forward geocode address

    Convert a human-readable address into geographic coordinates.

  • Geocode to geojson

    Geocode addresses or coordinates and return results in GeoJSON FeatureCollection format.

  • Geocode with jsonp

    Geocode an address and return results wrapped in a JavaScript callback function (JSONP format).

  • Geocode google v3 JSON

    Perform forward geocoding and return results in Google Geocoding API v3 compatible JSON format.

  • Reverse geocode coordinates

    Convert coordinates to a human-readable address.

  • Geocode XML

    Geocode a location query and return results in XML format.

  • Check API health

    Check API health and connectivity.

Ready to connect Opencage?

Authorize the account and your agent has all 7 actions from the first conversation.

Support agent working at a laptop next to the Lyro mascot