Skip to content
MCP server
RegistryRemote

IPWho MCP Server

IP geolocation for AI agents via the IPWho API: single, bulk and self IP lookups, local or hosted.

IPWho MCP Server scores 66 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 3 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 351 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by lavroxMITJavaScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "lavrox-ipwho-mcp": {      "command": "npx",      "args": [        "-y",        "@ipwho/mcp-server@0.1.0"      ],      "env": {        "IPWHO_API_KEY": "YOUR_IPWHO_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
IPWHO_API_KEYSecretRequiredYour IPWho API key (free plan at https://www.ipwho.org/free-plan). Lookups count against the key's plan quota.

Tools3Tool docs quality grade C

All capabilities
  • 1–100 addresses in one call. Results are in data.responseArray.

  • One IPv4 or IPv6 address. Optional get field filter, e.g. geoLocation,security.

  • The public IP of the machine running the server.

About

IPWho MCP server

An MCP server for the IPWho IP geolocation API. It lets AI agents (Claude, Cursor, VS Code Copilot and other MCP clients) look up IP addresses directly.

Status: v0.1.0. The hosted server at mcp.ipwho.org is live. The npm package @ipwho/mcp-server is published from this repository; ipwho-mcp is an alias that runs the same server. Setup guide with per-client tabs: ipwho.org/docs/api/mcp-server.

You need an IPWho API key (sign up at ipwho.org). Every lookup counts against your plan's quota, the same as calling the API directly.

Tools

ToolWhat it doesLocalHosted
lookup_ipOne IPv4 or IPv6 address. Optional get field filter, e.g. geoLocation,security.✅✅
lookup_bulk1–100 addresses in one call. Results are in data.responseArray.✅✅
lookup_meThe public IP of the machine running the server.✅—

lookup_me isn't offered on the hosted server: there it would look up Cloudflare's IP, not yours.

What you get back: two parts. First, the API's JSON, unchanged: { "success": true, "data": { … } }, with the objects geoLocation, timezone, flag, currency, connection, security and userAgent. Field names keep their exact wire casing (postal_Code, flag_Icon, asn_number). See the API docs. Second, a one-line attribution: Data source: IPWho (https://www.ipwho.org). The tool descriptions also ask the agent to name IPWho as the source.

Honest limits (the tool descriptions tell the agent these too):

  • IP geolocation is approximate, especially at city level. Many fields can be null; region and city often are.
  • connection.connection_type is Cable/DSL, Cellular, Corporate, Satellite or null. Corporate also covers offices, VPNs and cloud networks, so it isn't datacenter detection.
  • security is a basic signal: isVpn and isTor (true/false) and isThreat (low/medium/high). It isn't a fraud or risk score.
  • Only JSON is returned. The API's XML and CSV formats aren't exposed.

Local setup (npm package, runs on your machine)

The server reads your key from the IPWHO_API_KEY environment variable. Node.js 18 or later is required.

Claude Code

claude mcp add ipwho --env IPWHO_API_KEY=YOUR_KEY -- npx -y @ipwho/mcp-server

Claude Desktop

Settings → Developer → Edit Config (claude_desktop_config.json):

{
  "mcpServers": {
    "ipwho": {
      "command": "npx",
      "args": ["-y", "@ipwho/mcp-server"],
      "env": { "IPWHO_API_KEY": "YOUR_KEY" }
    }
  }
}

Cursor

~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "ipwho": {
      "command": "npx",
      "args": ["-y", "@ipwho/mcp-server"],
      "env": { "IPWHO_API_KEY": "YOUR_KEY" }
    }
  }
}

VS Code

.vscode/mcp.json. VS Code asks for the key once and stores it securely:

{
  "inputs": [
    { "type": "promptString", "id": "ipwho-key", "description": "IPWho API key", "password": true }
  ],
  "servers": {
    "ipwho": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@ipwho/mcp-server"],
      "env": { "IPWHO_API_KEY": "${input:ipwho-key}" }
    }
  }
}

Hosted setup (https://mcp.ipwho.org/mcp)

The hosted server uses Streamable HTTP. Send your key in a header on every request, either X-API-Key: YOUR_KEY or Authorization: Bearer YOUR_KEY. Without a key it returns 401. A key in the URL is refused.

# Claude Code
claude mcp add --transport http ipwho https://mcp.ipwho.org/mcp --header "X-API-Key: YOUR_KEY"
// Cursor (~/.cursor/mcp.json)
{ "mcpServers": { "ipwho": { "url": "https://mcp.ipwho.org/mcp", "headers": { "X-API-Key": "YOUR_KEY" } } } }
// VS Code (.vscode/mcp.json), with the same "inputs" block as above
{ "servers": { "ipwho": { "type": "http", "url": "https://mcp.ipwho.org/mcp", "headers": { "X-API-Key": "${input:ipwho-key}" } } } }

Claude Desktop's and claude.ai's custom connectors expect OAuth sign-in rather than a pasted key, so use the local package there for now. OAuth is planned.

Your key

  • It's sent to api.ipwho.org only, in the X-API-Key header, and never in a URL.
  • It's never logged or echoed back in error messages.
  • The hosted server is stateless: it keeps no sessions and stores nothing. Each request carries its own key, which is used for that request only.
  • The hosted server logs one line per request for operations: the HTTP method, path, status, duration and the MCP method or tool name. It never logs headers, your key, the IP addresses you look up, or results. Cloudflare's automatic request logs are switched off.

Development

npm install
npm run typecheck      # Node (stdio) and Cloudflare Workers types
npm test               # 20 tests against a local mock API, local and hosted
npm run test:workerd   # the Worker in Cloudflare's local runtime (wrangler dev --local), against the mock
IPWHO_API_KEY=... npm run test:live   # live API through the local server (uses ~5 lookups)

Publishing to npm (maintainers): server.json (official MCP registry entry) and mcpName in package.json must keep the same name, io.github.lavrox/ipwho-mcp, and the versions must match. From a fresh clone of main: npm ci && npm test && npm publish --access public, then cd packages/ipwho-mcp && npm publish --access public (the alias depends on the exact version just published). Registry entry: mcp-publisher login github, then mcp-publisher publish.

Deploying the hosted server: merging to main runs .github/workflows/deploy.yml. It runs the tests, then wrangler deploy, then checks mcp.ipwho.org. It needs the repo secrets CF_API_TOKEN (a Cloudflare "Edit Cloudflare Workers" token that also has Zone → Workers Routes → Edit on ipwho.org) and CF_ACCOUNT_ID. The deploy attaches the custom domain mcp.ipwho.org itself (routes in wrangler.jsonc).

Layout: src/ipwho.ts (API client) · src/server.ts (tool definitions, shared) · src/stdio.ts (local entry) · src/worker.ts (hosted entry, Cloudflare Worker) · wrangler.jsonc (Worker config; no secrets; Workers Logs on for our own log lines only).

License

MIT

Frequently asked questions

What is IPWho MCP Server?

IP geolocation for AI agents via the IPWho API: single, bulk and self IP lookups, local or hosted.

How do I install IPWho MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. IPWho MCP Server runs locally from the npm package @ipwho/mcp-server with the command npx -y @ipwho/mcp-server@0.1.0.

Is IPWho MCP Server free and open source?

Yes. IPWho MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does IPWho MCP Server support remote (HTTP) connections?

Yes. IPWho MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does IPWho MCP Server provide?

IPWho MCP Server provides 3 tools: lookup_bulk, lookup_ip, and lookup_me. See the full tool list for descriptions and parameters.

How is IPWho MCP Server's trust score calculated?

IPWho MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server