Geoapify MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Geoapify MCP or direct API to search locations, geocode and reverse-geocode addresses, generate route directions, and query nearby places through natural language.
Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Geoapify Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Try Geoapify now

Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.

Supported Tools

Tools
Address AutocompleteTool to fetch address suggestions based on partial input.
Batch RequestsCreate or retrieve asynchronous batch processing jobs for geocoding, reverse geocoding, routing, or isoline APIs.
Get Boundaries Containing LocationRetrieve all administrative boundaries that contain a given location.
Create Batch Forward Geocode JobTool to create a batch forward geocoding job for up to 1000 addresses.
Create Batch Reverse Geocode JobTool to create a batch reverse geocoding job that converts multiple lat/lon coordinates into addresses asynchronously.
Forward GeocodingTool to convert an address into geographic coordinates.
Geometry OperationTool to perform geometric operations on stored polygon geometries.
Get Batch Forward Geocode ResultsTool to retrieve batch forward geocoding job results using the job ID.
Get Batch Reverse Geocode ResultsTool to retrieve batch reverse geocoding job results.
Get Child Boundaries (Consists Of)Get boundaries that a specified location consists of.
Get Map Style JSONTool to retrieve vector map style JSON for MapLibre GL and Mapbox GL.
Generate Static Map ImageTool to generate static map images with customizable style, size, center, zoom, markers, and geometries.
IP GeolocationLookup geographic location information for an IP address.
Generate isoline (isochrone/isodistance)Tool to generate isochrone or isodistance isolines.
List PostcodesTool to list postcodes within a specified area or boundary.
Map MatchingSnap GPS traces to the road network for accurate route reconstruction.
Fetch Geoapify Map TilesTool to fetch raster map tiles or style JSON from Geoapify.
Create Marker IconGenerate custom map marker icons as PNG images.
Place DetailsTool to retrieve detailed information about a specific place.
Places SearchSearch for points of interest (POIs) like restaurants, hotels, attractions, hospitals, etc.
Postcode SearchTool to retrieve postcode information for a location.
Reverse GeocodingTool to reverse geocode coordinates into a structured address.
Route MatrixTool to compute travel time and distance matrices.
Route PlannerOptimize multi-agent routes for deliveries, pickups, and service jobs.
RoutingTool to calculate routes between multiple waypoints.
Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Geoapify tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Get latitude and longitude for 1600 Amphitheatre Parkway, Mountain View, CA')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Why Use Composio?

AI Native Geoapify Integration

  • Supports both Geoapify MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Geoapify data

Managed Auth

  • Built-in API key handling with secure storage and rotation
  • Central place to manage, scope, and revoke Geoapify access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Geoapify
  • Scoped, least privilege access to Geoapify resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Geoapify with Composio?

Yes, Geoapify requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.