bgp_state
Pack: ripe-stat · Endpoint: https://gateway.pipeworx.io/ripe-stat/mcp
“BGP routes for [prefix]” / “what AS announces [IP]” / “BGP hijack check” / “current routing state for [resource]” — origin ASNs and AS-path lengths currently announcing a resource on the global BGP table. Use to detect BGP hijacks, audit route propagation, find anycast announcers.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resource | string | yes | IP, prefix, or ASN |
Example call
Arguments
{
"resource": "8.8.8.0/24"
}
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":"bgp_state","arguments":{"resource":"8.8.8.0/24"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bgp_state', {
"resource": "8.8.8.0/24"
});
More examples
{
"resource": "AS15169"
}
Response shape
| Field | Type | Description |
|---|---|---|
data | object | Current BGP routing state with origin ASNs and path lengths |
status | string | API response status |
Full JSON Schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Current BGP routing state with origin ASNs and path lengths"
},
"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.