IPWho MCP Server
v0.1.0IP geolocation for AI agents via the IPWho API: single, bulk and self IP lookups, local or hosted.
Values you need
| Variable | What it is | |
|---|---|---|
IPWHO_API_KEY | required secret | Your IPWho API key (free plan at https://www.ipwho.org/free-plan). Lookups count against the key's plan quota. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add ipwho-mcp -e 'IPWHO_API_KEY=<IPWHO_API_KEY>' -- npx -y --package=@ipwho/mcp-server@0.1.0 ipwho-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"ipwho-mcp": {
"args": [
"-y",
"--package=@ipwho/mcp-server@0.1.0",
"ipwho-mcp"
],
"command": "npx",
"env": {
"IPWHO_API_KEY": "<IPWHO_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"ipwho-mcp": {
"args": [
"-y",
"--package=@ipwho/mcp-server@0.1.0",
"ipwho-mcp"
],
"command": "npx",
"env": {
"IPWHO_API_KEY": "<IPWHO_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "IPWHO_API_KEY",
"id": "ipwho-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"ipwho-mcp": {
"args": [
"-y",
"--package=@ipwho/mcp-server@0.1.0",
"ipwho-mcp"
],
"command": "npx",
"env": {
"IPWHO_API_KEY": "${input:ipwho-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.ipwho-mcp]
command = "npx"
args = ["-y", "--package=@ipwho/mcp-server@0.1.0", "ipwho-mcp"]
env = { "IPWHO_API_KEY" = "<IPWHO_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http ipwho-mcp https://mcp.ipwho.org/mcp --header 'X-API-Key: <X-API-Key>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"ipwho-mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.ipwho.org/mcp",
"--header",
"X-API-Key: <X-API-Key>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"ipwho-mcp": {
"headers": {
"X-API-Key": "<X-API-Key>"
},
"url": "https://mcp.ipwho.org/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"ipwho-mcp": {
"headers": {
"X-API-Key": "<X-API-Key>"
},
"type": "http",
"url": "https://mcp.ipwho.org/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.ipwho-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.ipwho.org/mcp", "--header", "X-API-Key: <X-API-Key>"]For AI agents
- Ask the user for: IPWHO_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: lookup_ip, lookup_bulk, lookup_me.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json