ip2location/mcp-ip2location-io
If you are the rightful owner of mcp-ip2location-io and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a Model Context Protocol (MCP) server implementation for IP2Location.io API, providing detailed geolocation information for IPv4 and IPv6 addresses.
The IP2Location.io MCP server is designed to deliver comprehensive geolocation data for any given IP address, whether IPv4 or IPv6. It integrates seamlessly with systems that support the Model Context Protocol, offering a robust solution for retrieving detailed information about the geographical and network attributes of an IP address. This server is built using the FastMCP tool, ensuring efficient and straightforward integration. It supports asynchronous operations through the use of httpx, allowing for non-blocking API requests. Users can query the server without an API key, albeit with a limitation of 1,000 queries per day. For more extensive usage, users can sign up for a free API key, which allows up to 50,000 queries per month. The server provides a wide array of data, including location, network details, and security insights, making it a valuable tool for applications requiring precise geolocation information.
Features
- Comprehensive Geolocation Data: Retrieves detailed information such as country, region, city, latitude, longitude, ZIP code, and time zone.
- Network Details: Provides network-related data including 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.
Usages
usage with Claude Desktop
{ "mcpServers": { "ip2locationio": { "command": "uv", "args": [ "--directory", "/path/to/ip2locationio/src", "run", "server.py" ], "env": { "IP2LOCATION_API_KEY": "<YOUR API key HERE>" } } } }
Tools
get_geolocation
Fetch geolocation for the given IP address, providing detailed information such as country, region, city, latitude, longitude, ZIP code, time zone, ASN, and proxy information.