AI Native Opencage Integration
- Supports both Opencage MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for converting addresses to coordinates and vice versa
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.DEVELOPER PLATFORM
Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Opencage MCP or direct API to perform forward geocoding, reverse geocoding, bulk address lookups, and coordinate data enrichment through natural language.
Opencage is a geocoding service that turns addresses into coordinates and vice versa. It helps apps and agents get precise location data from open sources worldwide.
Type what you want done — sign in and watch it run live in the Tool Router playground.
Every Opencage action and event your agent gets out of the box.
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcpimport { Composio } from '@composio/core';
const composio = new Composio({ apiKey: 'your-api-key' });
console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';
const client = await createMCPClient({
transport: {
type: 'http',
url: mcp.url,
headers: { 'x-api-key': 'your-composio-api-key' }
}
});
const tools = await client.tools();
const { text } = await generateText({
model: openai('gpt-4o'),
tools,
messages: [{ role: 'user', content: 'Get the coordinates for 10 Downing Street, London' }],
stopWhen: stepCountIs(5)
});
console.log(`Agent: ${text}`);npm install @composio/openaiimport OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';
const composio = new Composio({
provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');const tools = session.tools;
const response = await openai.responses.create({
model: 'gpt-4.1',
tools: tools,
input: [{
role: 'user',
content: 'Get the latitude and longitude for "1600 Amphitheatre Parkway, Mountain View, CA"'
}],
});
const result = await composio.provider.handleToolCalls(
'your-user-id',
response.output
);
console.log(result);Choose a Framework you want to connect Opencage with
Use Opencage MCP with OpenAI Agents SDK
Use Opencage MCP with Claude Agents SDK
Use Opencage MCP with Claude Code
Use Opencage MCP with Claude Cowork
Use Opencage MCP with Codex

Use Opencage MCP with OpenClaw

Use Opencage MCP with Hermes
Use Opencage MCP with Google ADK
Use Opencage MCP with Langchain
Use Opencage MCP with AI SDK
Use Opencage MCP with Mastra AI
Use Opencage MCP with LlamaIndex
Use Opencage MCP with CrewAI
Use Opencage MCP with Pydantic AI
Use Opencage MCP with Autogen
Microsoft Excel is a robust spreadsheet application for organizing, analyzing, and visualizing data. It's the go-to tool for calculations, reporting, and flexible data management.
21RISK is a web app built for easy checklist, audit, and compliance management. It streamlines risk processes so teams can focus on what matters.
Abstract provides a suite of APIs for automating data validation and enrichment tasks. It helps developers streamline workflows and ensure data quality with minimal effort.
Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
Managed auth, hosted MCP servers, and every Opencage tool your agent needs.Free to start.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Start building