Location Services · Security

MCP Ip2location Io

ip2location/mcp-ip2location-io

IP2Location.io MCP Server is a Model Context Protocol (MCP) server that enables MCP-compatible AI clients to perform IP address geolocation and network intelligence lookups using the IP2Location.io API.

Install

Client configuration

{
  "mcpServers": {
    "ip2location": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://mcp.ip2location.io/",
        "--header",
        "X-API-Key:YOUR_API_KEY"
      ]
    }
  }
}

Environment variables

IP2LOCATION_API_KEY
Category
Location Services, Security
Updated
Oct 6, 2026

About MCP Ip2location Io

Give it an IPv4 or IPv6 address and the MCP server can retrieve information such as geographic location, ASN, ISP, domain, network type, and proxy information, depending on your IP2Location.io API plan.

Features

  • Comprehensive Geolocation Data: Retrieve country, region, city, ZIP/postal code, latitude, longitude, time zone, and other location information.

  • ASN Lookup: Identify the Autonomous System Number (ASN) and Autonomous System (AS) associated with an IP address.

  • Network Intelligence: Retrieve information such as ISP, domain, connection speed, usage type, and other network attributes depending on your plan.

  • Proxy and Security Information: Detect proxy-related information and, on supported plans, additional VPN, Tor, data center, threat, and fraud information.

  • IPv4 and IPv6 Support: Query both IPv4 and IPv6 addresses.

  • Bulk IP Lookup: Send multiple IP addresses in one prompt and automatically use the IP2Location.io Bulk API when available.

  • MCP Integration: Use IP intelligence directly from MCP-compatible AI applications.

  • Asynchronous Requests: Uses httpx for asynchronous API requests.

  • An MCP-compatible client such as Claude Desktop

  • Node.js / npx

Tools (2)

  • get_geolocation

    Description

  • IP2Location.io

    IP2Location.io is useful when you need both ASN information and IP geolocation from the same lookup.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Baidu Map logo

Baidu Map

baidu-maps/mcp

240

Baidu Map MCP Server is a fully MCP-compliant, open-source Location-Based Service (LBS) solution, providing a comprehensive suite of geospatial APIs and tools for developers and AI agents.

Location Services
Open Streetmap MCP logo

Open Streetmap MCP

jagan-shanmugam/open-streetmap-mcp

41

An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.

Location Services
Awesome MCP Server Cn logo

Awesome MCP Server Cn

LeslieLeung/awesome-mcp-server-cn

39

A curated list of MCP Server resources for common services in China, covering maps, weather, cloud services and more.

Location Services
Google Maps (Travel Planner) logo

Google Maps (Travel Planner)

gongrzhe/travel-planner-mcp-server

37

A Travel Planner Model Context Protocol (MCP) server implementation for interacting with Google Maps and travel planning services. This server enables LLMs to perform travel-related tasks such as location search, place details lookup, and travel time calculations.

Location Services
MCP Server Ipinfo logo

MCP Server Ipinfo

briandconnelly/mcp-server-ipinfo

18

A Model Context Protocol server that exposes the ipinfo.io API to AI agents. Geolocate IPv4 and IPv6 addresses, identify ISPs and ASNs, detect VPN/proxy/Tor exit nodes, and generate interactive maps for sets of IPs.

Location Services
MCP-Geo logo

MCP-Geo

webcoderz/MCP-Geo

16

All dependencies are specified in requirements.txt for easy installation.

Location Services