Mcp Ip2Location Io — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Ip2Location Io (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This is a simple Model Context Protocol (MCP) server implementation for IP2Location.io API. It will return a detailed geolocation information for any given IPv4 or IPv6 address.
FastMCP tool, allowing for easy integration into compatible systems.httpx for non-blocking asynchronous API requests.This MCP server supports queries without an API key, with a limitation of 1,000 queries per day. You can also sign up for a free API key and enjoy up to 50,000 queries per month.
If you use the cloud-hosted MCP server, you only need Claude Desktop and npx, because the server is hosted remotely. If you want to run the original MCP server locally, the local setup uses uv, which can be installed by following the guide.
You can use this MCP server in Claude Desktop in either of the following ways:
Follow the steps below to use the cloud-hosted IP2Location.io MCP server with Claude Desktop:
claude_desktop_config.json file in your choice of editor. If you do not have one yet, follow this guide to create one.claude_desktop_config.json:{
"mcpServers": {
"ip2location": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://mcp.ip2location.io/",
"--header",
"X-API-Key:YOUR_API_KEY"
]
}
}
}YOUR_API_KEY with your actual IP2Location.io API key. To get your API key, log in to your dashboard.Connectors menu.Follow the steps below if you want to run the original MCP server locally with Claude Desktop:
uv package manager. You can refer to the guide to do so.claude_desktop_config.json file in your choice of editor. If you do not have one yet, follow this guide to create one.claude_desktop_config.json:{
"mcpServers": {
"ip2locationio": {
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "<YOUR API key HERE>"
}
}
}
}<YOUR API key HERE> in the example above with your actual API key.Connectors menu.Just enter your query about the IP in a chat in Claude Desktop. Some of the example query will be:
For instance, below is the result of the IP 8.8.8.8:

In Claude Desktop, the model will automatically generate the output based on the result returned by IP2Location.io MCP server.
You can also utilize IP2Location.io Bulk IP Geolocation API to query for multiple IP addresses. Just input all IP addresses with the space in between of each IP address. For example 8.8.8.8 8.8.6.6.
[!NOTE] IP2Location.io Bulk IP Geolocation API requires a paid plan to work.
IP2LOCATION_API_KEY
The IP2Location.io API key, which allows you to query up to 50,000 per month and more details of the IP address. You can sign up for a free API key, or subscribe to a plan to enjoy more benefits.
get_geolocation
Description Fetch geolocation for the given IP address or a batch of IP addresses. It helps users retrieve detailed information such as country, region, city, latitude, longitude, ZIP code, time zone, ASN, and proxy information for any IPv4 or IPv6 address. It automatically routes requests to the IP2Location.io Bulk API for efficient processing when multiple IPs are detected.
Arguments
ip (str): The IP address (IPv4 or IPv6) to analyze. You can query multiple IPs at once by passing them as a single string separated by commas, spaces, or newlines (e.g., "1.1.1.1, 2.2.2.2").Returns A JSON string containing the geolocation data. If multiple IPs are queried, it returns a JSON object where each key is an IP address mapped to its respective data. The result may include the following fields, depending on your API plan:
If a single IP request fails or the IP is invalid, the tool returns an error message as a string. For bulk requests, any individual failed IPs will return an error object mapped to that specific IP address without failing the entire batch.
See the LICENSE file.
<!-- mcp-name: io.github.ip2location/mcp-ip2location-io -->
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.