gcp-cloud-ip-ranges-mcp
README.md
# gcp-cloud-ip-ranges-mcp
Live Google Cloud IPv4 and IPv6 CIDR prefix lookup, regional scope filtering, and cloud firewall allowlist analytics over Model Context Protocol (MCP). Cloud security engineers, network architects, and incident responders can query Google's official `gstatic.com/ipranges/cloud.json` feed with zero API keys and zero sign-up. It connects right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
```text
https://gcp-cloud-ip-ranges-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `lookup_gcp_ip` | Check whether an IPv4 or IPv6 address belongs to Google Cloud and return matching CIDR prefixes and scopes |
| `filter_gcp_ip_ranges` | Filter official Google Cloud IPv4 and IPv6 CIDR prefixes by regional scope and IP version |
| `list_gcp_ip_scopes` | List Google Cloud regional scopes with IPv4 prefix counts, IPv6 prefix counts, and IPv4 address totals |
| `get_gcp_ip_ranges_summary` | Inspect the latest `syncToken`, creation time, prefix totals, and top regional scopes |
| `compare_gcp_region_footprints` | Compare CIDR prefix counts and IPv4 address capacity across 2 to 10 Google Cloud regional scopes |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"gcp-cloud-ip-ranges": {
"url": "https://gcp-cloud-ip-ranges-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream request queries `www.gstatic.com/ipranges/cloud.json` with a polite `User-Agent` header (`mcpstamp-gcp-ip-ranges/1.0 (hello@mcpstamp.com)`), a hard 12-second timeout, and automatic retry on transient 5xx or 429 errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates newer MCP protocol headers cleanly.
## More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.gcp-cloud-ip-ranges-mcp) with hosted commercial servers and priority endpoints.