Repository avatar
Monitoring
v1.0.1
active

mcp

is.ipapi/mcp

IP intelligence MCP: named VPNs, proxy, Tor, datacenter, abuser, reverse DNS, ASN & geolocation.

Documentation

ipapi.is-mcp

ipapi.is-mcp MCP server ipapi.is MCP connector

Model Context Protocol (MCP) server and Agent Skill for ipapi.is — IP intelligence built for SecOps, fraud investigation, and coding agents.

Zero required runtime dependencies. Runs as:

  • Hosted Remote MCP (https://mcp.ipapi.is/mcp, Streamable HTTP + Authorization: Bearer <key>)
  • Local stdio MCP (npx ipapi.is-mcp)
  • Air-gapped / Self-Hosted MCP against your local Business ipapid binary (IPAPI_BASE_URL=http://127.0.0.1:3899) or local .mmdb databases (IPAPI_MMDB_DIR=/path/to/mmdb) so zero internal IPs leave your network.

Recommended Key: Lookup-Only (ro_*)

Get a free API key (1,000 lookups/day, commercial use allowed) at ipapi.is/app/signup, then create a lookup-only key (ro_*) on ipapi.is/app/home. Lookup-only keys work on api.ipapi.is against your quota and return 403 on billing, invoices, and database downloads.

Connect

Remote Streamable HTTP (Claude, Cursor, VS Code, ChatGPT)

{
  "mcpServers": {
    "ipapi": {
      "url": "https://mcp.ipapi.is/mcp",
      "headers": {
        "Authorization": "Bearer ro_your_lookup_key"
      }
    }
  }
}

Local stdio (npx)

{
  "mcpServers": {
    "ipapi": {
      "command": "npx",
      "args": ["-y", "ipapi.is-mcp"],
      "env": {
        "IPAPI_KEY": "ro_your_lookup_key"
      }
    }
  }
}

Air-gapped / Self-Hosted (Business .ipdb or local .mmdb)

{
  "mcpServers": {
    "ipapi": {
      "command": "npx",
      "args": ["-y", "ipapi.is-mcp"],
      "env": {
        "IPAPI_BASE_URL": "http://127.0.0.1:3899"
      }
    }
  }
}

Or query local .mmdb files directly (requires npm install mmdb-lib):

IPAPI_MMDB_DIR=/path/to/ipapi_database/mmdb npx ipapi.is-mcp

Tools

All tools are strictly read-only (billing and destructive account endpoints are intentionally omitted):

ToolWhat it does
lookup_ipEnriches an IPv4/IPv6 address with company, org type, ASN, zero-latency PTR hostname, geolocation, named VPN, proxy, Tor, datacenter, egress_service, crawler, anycast, and abuser feeds. Supports compact summary (default), toon, or json.
triage_ipsAccepts an IP list or raw log text (SSH, nginx, firewall, SIEM). Extracts/dedupes public IPs, skips private/bogon for free, enriches in 100-IP bulk batches, and groups threats vs false-positive traps.
lookup_asnASN metadata, abuser score, and prefix counts with paginated/capped prefixes so large ASNs like AS15169 never flood context.
lookup_domainResolves A/AAAA records locally and enriches every public IP.
check_riskReturns a block / challenge / allow verdict with explicit warnings for mobile CGNAT, Starlink, corporate SWGs (Zscaler/Netskope), iCloud Private Relay, anycast, and known crawlers.

Agent Skill

skills/ipapi-is/SKILL.md teaches coding and security agents how to use the MCP server, the npx ipapi.is CLI, format=toon, false-positive avoidance, and app middleware (ipapi.is / ipapi-is).

Self-Hosting the Streamable HTTP Server

ipapi-mcp --http --host 127.0.0.1 --port 3900

See deploy/ipapi-mcp.service and deploy/nginx-mcp.ipapi.is.conf for systemd + nginx deployment.

Try Online on Glama

Browse the full tool definitions, quality score, and test the server online before installing using MCP Inspector on the Glama listings:

License

MIT.

NPM
ipapi.is-mcp
Install Command
npm install ipapi.is-mcp

Remote