geoloc
Pack: ripe-stat · Endpoint: https://gateway.pipeworx.io/ripe-stat/mcp
“What country is IP [X] in” / “geolocate [IP]” / “RIR country for [resource]” — country geolocation of an IP or prefix derived from RIR registration data. NOTE: registration-based geo, not GeoIP — accurate for ownership country but not necessarily the host’s physical location. Use for compliance / jurisdiction questions where registry truth matters.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resource | string | yes | IP or prefix |
Example call
Arguments
{
"resource": "8.8.8.8"
}
curl
curl -X POST https://gateway.pipeworx.io/ripe-stat/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"geoloc","arguments":{"resource":"8.8.8.8"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('geoloc', {
"resource": "8.8.8.8"
});
More examples
{
"resource": "1.1.1.0/24"
}
Response shape
| Field | Type | Description |
|---|---|---|
data | object | Country geolocation from RIR registration |
status | string | API response status |
Full JSON Schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Country geolocation from RIR registration"
},
"status": {
"type": "string",
"description": "API response status"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"ripe-stat": {
"url": "https://gateway.pipeworx.io/ripe-stat/mcp"
}
}
}
See Getting Started for client-specific install steps.