Skip to main content
Glama
ipapi.is-mcp

ipapi.is-mcp

Official
by NikolaiT

ipapi.is-mcp

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.

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.

Related MCP server: mcp-ipquery

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):

Tool

What it does

lookup_ip

Enriches 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_ips

Accepts 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_asn

ASN metadata, abuser score, and prefix counts with paginated/capped prefixes so large ASNs like AS15169 never flood context.

lookup_domain

Resolves A/AAAA records locally and enriches every public IP.

check_risk

Returns 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.

License

MIT.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables IP address lookups and risk assessments for IPv4/IPv6, providing geolocation, ISP/ASN, and security flags such as VPN, proxy, Tor, datacenter, and mobile with a risk score.
      73 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables threat intelligence for SOC and DFIR workflows, including IOC enrichment, CVE and threat actor lookup, domain scanning, and account-based scan management.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to classify IP addresses through the VPNDetection API with read-only tools that detect VPNs, residential and datacenter proxies, Tor nodes, relays, hosting providers and CDNs, in single or bulk lookups of up to 100 addresses. It also exposes which datasets an organisation is licensed for, along with their metadata and published checksums.
      7
      1,755 npm
      1
      MIT