AI Native Ip2location Integration
- Supports both Ip2location MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for IP lookups, ISP info, and location data
## 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 Ip2location MCP or direct API to identify user locations, detect suspicious logins, enrich IP data, and automate geofencing through natural language.
Ip2locationIp2location is a geolocation service that pinpoints location, ISP, and more from IP addresses. Instantly enrich user or device data for security, analytics, and personalization.
Type what you want done — sign in and watch it run live in the Tool Router playground.
Every Ip2location 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 geolocation for IP 8.8.8.8' }],
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 geolocation details for IP 8.8.8.8'
}],
});
const result = await composio.provider.handleToolCalls(
'your-user-id',
response.output
);
console.log(result);Choose a Framework you want to connect Ip2location with
Use Ip2location MCP with OpenAI Agents SDK
Use Ip2location MCP with Claude Agents SDK
Use Ip2location MCP with Claude Code
Use Ip2location MCP with Claude Cowork
Use Ip2location MCP with Codex

Use Ip2location MCP with OpenClaw

Use Ip2location MCP with Hermes
Use Ip2location MCP with Google ADK
Use Ip2location MCP with Langchain
Use Ip2location MCP with AI SDK
Use Ip2location MCP with Mastra AI
Use Ip2location MCP with LlamaIndex
Use Ip2location MCP with CrewAI
Use Ip2location MCP with Pydantic AI
Use Ip2location 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 Ip2location 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