Looks up geolocation and network information for an IP address through the IP2Location.io API.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add ip2location-io --env IP2LOCATION_API_KEY='<IP2LOCATION_API_KEY>' -- uvx mcp-ip2location-io~/.codex/config.toml
[mcp_servers.ip2location-io]
command = "uvx"
args = ["mcp-ip2location-io"]
env = { IP2LOCATION_API_KEY = "<IP2LOCATION_API_KEY>" }
# codex mcp add ip2location-io --env IP2LOCATION_API_KEY='<IP2LOCATION_API_KEY>' -- uvx mcp-ip2location-io~/.cursor/mcp.json
{
"mcpServers": {
"ip2location-io": {
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ip2location-io": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ip2location-io": {
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ip2location-io": {
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ip2location-io": {
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http ip2location-io https://mcp-ip2location--support-0cin.run.tools~/.codex/config.toml
[mcp_servers.ip2location-io]
url = "https://mcp-ip2location--support-0cin.run.tools"
# codex mcp add ip2location-io --url https://mcp-ip2location--support-0cin.run.tools~/.cursor/mcp.json
{
"mcpServers": {
"ip2location-io": {
"url": "https://mcp-ip2location--support-0cin.run.tools"
}
}
}.vscode/mcp.json
{
"servers": {
"ip2location-io": {
"type": "http",
"url": "https://mcp-ip2location--support-0cin.run.tools"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ip2location-io": {
"httpUrl": "https://mcp-ip2location--support-0cin.run.tools"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"ip2location-io": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp-ip2location--support-0cin.run.tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"ip2location-io": {
"url": "https://mcp-ip2location--support-0cin.run.tools"
}
}
}Environment variables
IP2LOCATION_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.