IPDatum Remote MCP Server
Give Claude, Cursor, Windsurf, or custom AI agents sub-millisecond IP geolocation, ASN ownership, reverse DNS, RDAP WHOIS, and 12 security flags — zero local install required.
https://api.ipdatum.com/mcp
Claude Desktop / Cursor / Windsurf Config
Works immediately without a key (1,000 req/day) or add a free 50,000/day API key.
{
"mcpServers": {
"ipdatum": {
"type": "http",
"url": "https://api.ipdatum.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_FREE_API_KEY"
}
}
}
}
Direct JSON-RPC 2.0 cURL Example
Compatible with MCP 2025-03-26 Streamable HTTP specification & CORS browser clients.
curl -s -X POST https://api.ipdatum.com/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ip_lookup",
"arguments": { "ip": "8.8.8.8" }
}
}'
Exposed MCP Tools (5 Tools)
| Tool Name | Required Arguments | Capabilities |
|---|---|---|
ip_lookup |
{ "ip": string } |
Full city/region/country geolocation, accuracy radius, ASN, network type, and 12 security flags for IPv4 or IPv6. |
bulk_ip_lookup |
{ "ips": string[] } |
Enrich up to 100 IPv4/IPv6 addresses in one batch tool call. |
asn_lookup |
{ "asn": string } |
Inspect an AS number (AS15169) or resolve an IP to its network owner, classification, country, and RDAP record. |
reverse_dns |
{ "query": string } |
Resolve PTR hostname for an IP or A/AAAA records for a domain, enriched with geolocation and security flags. |
ip_whois |
{ "query": string } |
Fetch official RIR RDAP allocation CIDR, organization, registration events, and abuse contacts + IPDatum overlay. |
AI Agent Security & Triage Workflows
Autonomous SOC Incident Enrichment
Instead of chaining multiple terminal scripts inside an agent loop, one bulk_ip_lookup MCP call inspects up to 100 suspicious log IPs simultaneously, returning ASN organization, confidence_level, city/country coordinates, and booleans for Tor exits, open proxies, commercial VPNs, and recent abusers.
Zero-Install Streamable HTTP Handshake
Standardize agent telemetry cleanly via JSON-RPC initialize → tools/list → tools/call over HTTPS. Works directly from browser extensions, agent orchestrators, and IDE assistants with permissive CORS headers and per-request latency telemetry (X-Lookup-Ms).
Initialize & Discovery cURL
curl -s -X POST https://api.ipdatum.com/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"my-agent","version":"1.0"}}}' | jq .
Batch Tool Call Payload
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "bulk_ip_lookup",
"arguments": { "ips": ["8.8.8.8", "2001:4860:4860::8888"] }
}
}
IPDatum MCP Data & Response Guarantees
Every Streamable HTTP MCP tool call returns structured dual-stack geolocation, BGP ASN ownership, live WHOIS/RDAP records, and 10+ security booleans with predictable SLA headers:
| Dataset Layer | Customer-Facing Coverage | Agent Response Guarantees |
|---|---|---|
| Dual-Stack Geo Coverage | Global IPv4 & IPv6 routing coverage (14.4M+ /24 equivalents) | Sub-millisecond global edge lookup |
| Global Country & City Support | 235+ countries & territories worldwide | City, region, timezone, continent & honest confidence radius |
Autonomous Systems (asn_lookup) | 86,000+ active ASNs indexed worldwide | Origin ASN, network name, org type & RIR country |
| Security & Threat Flags | 10+ real-time security & network classification booleans | Tor, VPN, Proxy, Relay, Cloud, Datacenter, Mobile, Abuser |
Streamable HTTP Transport Headers & Contracts
| Header / Parameter | Format / Value | Behavior |
|---|---|---|
X-IPDatum-DB | Current production snapshot identifier | Tracks dataset release parity cleanly |
X-Lookup-Ms | Edge lookup execution time in milliseconds | Sub-millisecond edge lookup latency |
Authorization | Bearer YOUR_FREE_API_KEY (optional) | Raises daily limit from 1,000 to 50,000 req/day |
MCP-Protocol-Version | 2025-03-26 JSON-RPC 2.0 Streamable HTTP | Compatible with Claude, Cursor, Windsurf & custom agents |
Frequently Asked Questions
Do I need Node.js or Python installed locally for IPDatum MCP?
No. IPDatum is a native Remote Streamable HTTP MCP endpoint at https://api.ipdatum.com/mcp, so Claude, Cursor, Windsurf, and custom agents connect directly over HTTPS.
Does MCP access work without an API key?
Yes — keyless requests share the open 1,000 req/day tier. Creating a free API key in /dashboard unlocks 50,000 req/day across REST and MCP calls.
Which protocol revision and methods are implemented?
The endpoint speaks MCP 2025-03-26 JSON-RPC 2.0 supporting initialize, ping, tools/list, and tools/call for all 5 intelligence tools.
Can AI agents check ASN and WHOIS ownership directly via MCP?
Yes — use asn_lookup for BGP origin/classification (ASN web UI) or ip_whois for official RIR RDAP netblocks and abuse contacts (WHOIS web UI).