IP2Location.io

IP2Location.io

Interact with IP2Location.io API to retrieve the geolocation information for an IP address.

12
Stars
8
Forks
1
Releases

Overview

This MCP server implements a simple, asynchronous interface to the IP2Location.io geolocation API. It returns detailed geolocation information for any given IPv4 or IPv6 address via the MCP framework, enabling downstream tools to present location, network, and security data in a consistent format. Key capabilities include comprehensive geolocation (country, region, city, latitude, longitude, ZIP, time zone), network details (ASN, ISP, domain, and network speed), and security insights (proxy information with type and provider). The server is built as a FastMCP tool and uses httpx for non-blocking requests. It supports queries without an API key with a daily limit of 1,000, and can be enhanced by supplying an IP2Location API key (up to 50,000 queries per month). An example setup shows how to configure uv as the runtime and how to provide the API key via an environment variable IP2LOCATION_API_KEY. The tool returns a JSON payload with fields such as location, network, mobile, currency and language, proxy and security details, and other data depending on the chosen API plan.

Details

Owner
ip2location
Language
Python
License
MIT License
Updated
2025-12-07

Features

Comprehensive Geolocation Data

Retrieves a wide range of information, including country, region, city, latitude, longitude, ZIP code, time zone, and more.

Network Details

Provides network-related data such as ASN, ISP, domain, and network speed.

Security Insights

Detects proxy information, including proxy type and provider.

Simple Integration

Built as a FastMCP tool, allowing for easy integration into compatible systems.

Asynchronous

Utilizes httpx for non-blocking asynchronous API requests.

Audience

DevelopersIntegrate IP2Location geolocation data into MCP-enabled tools and Claude Desktop.

Tags

IP2LocationGeolocationIPv4IPv6ASNISPProxyMCPFastMCPAsynchttpxClaude DesktopAPI key