API & MCP

Everything a person can do on BGP Route Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://bgprouteexplorer.usefulweb.site/api/v1/calculate – run BGP Route Explorer
  • GET https://bgprouteexplorer.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

BGP Route Explorer

Looks up an IP address or prefix in RIPE RIS via the RIPEstat Data API: the covering announced prefix, origin AS(es) and holders, RPKI ROV state per origin, visibility among RIS full-feed peers, first/last seen, more-specifics announced by others, a timeline of origin changes and sample AS paths with upstreams.

Inputs of BGP Route Explorer
FieldTypeDefaultDescription
modeselect (live, pasted)"live"Mode
resourcetext—IP address or prefix
lookingGlassbooleantrueInclude current AS paths (RIS looking glass)
pastedtextarea—RIPEstat responses (JSON). Pasted mode: {resource?, prefixOverview, routingStatus?, routingHistory?, rpki?: [{origin, data}], lookingGlass?} — full RIPEstat responses or their "data" objects.

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://bgprouteexplorer.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: bgp_route_explorer
  • Local stdio connector: node src/mcp-stdio.ts --tool=bgp-route-explorer
{
  "mcpServers": {
    "bgp-route-explorer": { "type": "http", "url": "https://bgprouteexplorer.usefulweb.site/mcp" }
  }
}