IP2Location

Community

Official IP2Location.io MCP server to obtain the geolocation, proxy and network information of an IP address.

About IP2Location MCP Server

IP2Location is an MCP server in the Location category. It exposes ip geolocation, proxy info, network info to connected AI applications, enabling them to interact with ip2location capabilities through the standardized Model Context Protocol.

Features

IP geolocation
Proxy info
Network info

Category

Location
Getting Started

To use the IP2Location MCP server in your AI application, follow these steps:

  1. Install the MCP client SDK for your platform
  2. Connect to the IP2Location MCP server
  3. Authenticate with your IP2Location credentials
  4. Start using the tools, resources, and prompts provided by the server

Example Code


// Connect to the IP2Location MCP server
const server = await mcp.connect("ip2location");

// List available tools
const tools = await server.tools.list();

// List available resources
const resources = await server.resources.list();

// List available prompts
const prompts = await server.prompts.list();
                      
Installation

npm

npm install @mcp/server-ip2location

pip

pip install mcp-server-ip2location
Compatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client