How do I handle private or reserved IP addresses?
The server returns `{ found: false }` for private or reserved IPs, indicating no geolocation data is available.
@racccoinorg
MCP (Model Context Protocol) server that wraps the RockyGeo IP geolocation API hosted on RapidAPI. Lets MCP-compatible clients (Claude Desktop, Claude Code, etc.) perform IPv4/IPv6 geolocation lookups via tool calls
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"rockygeo": {
"command": "node",
"args": [
"/Users/cyborg97/rockygeomcp/dist/index.js"
],
"env": {
"RAPIDAPI_KEY": "<your-key>"
}
}
}
}`{ ip: string }` → geolocation for one IP. Private/reserved IPs return `{ found: false }`.
`{ ips: string[] }` (1–100) → `{ results: { [ip]: ... } }`.
`{}` → `{ status, dataVersion, lastSyncAt, uptime }`.
A Model Context Protocol (MCP) server that wraps the RockyGeo IP geolocation API on RapidAPI. It lets MCP-compatible clients like Claude Desktop or Claude Code perform IPv4/IPv6 geolocation lookups via tool calls.
Install with npm install && npm run build, then configure the RAPIDAPI_KEY environment variable (or pass via --api-key). Add the server to your MCP client config (e.g., claude_desktop_config.json) using the node command pointing at the built dist/index.js file.
lookup_ip toollookup_ips_batchhealth_check) returning status and data version{ found: false }The server returns `{ found: false }` for private or reserved IPs, indicating no geolocation data is available.
The `lookup_ips_batch` tool accepts between 1 and 100 IP addresses per call.
Yes, a RapidAPI key (`RAPIDAPI_KEY`) is required and must be set either as an environment variable or passed with `--api-key`. The free RapidAPI plan allows 1 request per second.
Yes, set the `ROCKYGEO_BASE_URL` environment variable to point at your own instance. The default is `https://rocky-geo.p.rapidapi.com/v1`.
End‑to‑end integration tests are in `tests/integration.test.js` and can be run with `npm test`. They hit the live RockyGeo API, so they consume RapidAPI quota and may be rate‑limited on the free plan.


Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Official Porkbun MCP server, maintained by Porkbun. Check domain availability and pricing, register, renew and transfer domains, and manage DNS records, nameservers, URL forwarding, glue records, DNSSEC and domain contac

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
Codebase health as MCP tools: dead code, circular dependencies, coupling, architectural drift.
评论