This guide walks you through connecting Opencage to LlamaIndex using the Composio tool router. By the end, you'll have a working Opencage agent that can get coordinates for a hotel address, find the address of given gps coordinates, return geojson for a city location, convert multiple addresses to latitude and longitude through natural language commands.
This guide will help you understand how to give your LlamaIndex agent real control over a Opencage account through Composio's Opencage MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









