- IP2location.io
IP2location.io
IP2Location.io MCP server
This is a simple Model Context Protocol (MCP) server implementation for IP2Location.io API. It will return geolocation information for an IP address.
Requirement
This MCP server supports to query 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.
The setup also use uv, which can be install by following the guide.
Setup
To use this MCP server with Claude Desktop, just add the following to your claude_desktop_config.json:
{
"mcpServers": {
"ip2locationio": {
"command": "uv",
"args": [
"--directory",
"/path/to/ip2locationio/src",
"run",
"server.py"
],
"env": {
"IP2LOCATION_API_KEY": "<YOUR API key HERE>"
}
}
}
}
To get your API key, just login to your dashboard and get it from there.
Restart the Claude Desktop after save the changes, and you shall see it pops out in the Search and tools menu.
License
See the LICENSE file.
Server Config
{
"mcpServers": {
"ip2locationio": {
"command": "uv",
"args": [
"--directory",
"/path/to/ip2locationio/src",
"run",
"server.py"
],
"env": {
"IP2LOCATION_API_KEY": "<YOUR API key HERE>"
}
}
}
}