BGPKIT API

Search public BGP MRT archives by time window and collector, and look up any IP address or ASN.

Should I use this

Quality & Safety

C
Description quality
20%
Schema completeness
86%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (18)

  • LOWTool 'broker_search' has short descriptionin broker_search
  • LOWTool 'broker_search' description lacks action verbin broker_search
  • LOWTool 'broker_latest' has short descriptionin broker_latest
  • LOWTool 'broker_latest' description lacks action verbin broker_latest
  • LOWTool 'broker_health' has short descriptionin broker_health
  • LOWTool 'broker_health' description lacks action verbin broker_health
  • LOWTool 'broker_peers' has short descriptionin broker_peers
  • LOWTool 'broker_peers' description lacks action verbin broker_peers
  • LOWTool 'broker_collectors' has short descriptionin broker_collectors
  • LOWTool 'broker_collectors' description lacks action verbin broker_collectors

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,729Tokens (tool definitions)
~2.2 KBTypical response size
Moderate attention impact (1.35% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "bgpkit-api": {
      "url": "https://mcp.bgpkit.com/mcp"
    }
  }
}

Remote endpoints

https://mcp.bgpkit.com/mcpstreamable-http

What it can do

Tool inventory

Tools (9)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢broker_search(ts_start, ts_end, collector_id, project, data_type, ...)

Input Schema

{
  "type": "object",
  "properties": {
    "ts_start": {
      "type": "string",
      "description": "Start timestamp for data collection period. Accepts ISO 8601 format (e.g., '2024-08-01T00:00:00Z') or Unix timestamp. Use to find data from a specific date onwards for historical analysis."
    },
    "ts_end": {
      "type": "string",
      "description": "End timestamp for data collection period. Same format as ts_start. Combine with ts_start to define a specific time window for targeted BGP event analysis or research."
    },
    "collector_id": {
      "type": "string",
      "description": "Specific route collector identifier. Examples: 'route-views.linx' (RouteViews LINX), 'rrc01' (Amsterdam)."
    },
    "project": {
      "type": "string",
      "description": "BGP data collection project. Options: 'routeviews' (University of Oregon RouteViews project) or 'riperis' (RIPE NCC Routing Information Service). Each has different collector locations and methodologies."
    },
    "data_type": {
      "type": "string",
      "description": "Type of BGP data to retrieve. 'rib' = Routing Information Base (periodic full routing table snapshots, typically every 2-8 hours, ideal for network topology analysis). 'updates' = real-time BGP routing updates (announcements/withdrawals, ideal for studying routing dynamics and outages)."
    },
    "page": {
      "type": "number",
      "description": "Page number for paginated results (starts from 1). Use for navigating large datasets when searching broad time periods or popular collectors."
    },
    "page_size": {
      "type": "number",
      "description": "Results per page. Range: 1-1000, default: 100. Use larger values (500-1000) for bulk data discovery, smaller values (10-50) for quick exploration."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪broker_latest(collector_id, project, data_type)

Input Schema

{
  "type": "object",
  "properties": {
    "collector_id": {
      "type": "string",
      "description": "Target specific route collector for latest data. Examples: 'route-views.linx', 'rrc01'. Omit to get latest files from all collectors."
    },
    "project": {
      "type": "string",
      "description": "Filter by data collection project. 'routeviews', 'riperis'."
    },
    "data_type": {
      "type": "string",
      "description": "Type of latest BGP data needed. 'rib' returns most recent routing table snapshots (best for current network topology analysis), 'updates' returns latest real-time routing changes (best for monitoring recent network events). Omit to get both types."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪broker_health

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪broker_peers(collector_id, asn)

Input Schema

{
  "type": "object",
  "properties": {
    "collector_id": {
      "type": "string",
      "description": "Target route collector to analyze peer relationships. Examples: 'route-views.linx', 'rrc01'"
    },
    "asn": {
      "type": "number",
      "description": "Filter for specific Autonomous System Number to see route collectors peers from a specific network"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪broker_collectors(project, country, active)

Input Schema

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "enum": [
        "routeviews",
        "riperis"
      ],
      "description": "Filter by collector project: 'routeviews' or 'riperis'"
    },
    "country": {
      "type": "string",
      "description": "Filter by country code (e.g., 'US', 'DE', 'JP')"
    },
    "active": {
      "type": "boolean",
      "description": "Filter for active collectors only (not deactivated)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪ip_lookup(ip)

Input Schema

{
  "type": "object",
  "properties": {
    "ip": {
      "type": "string",
      "description": "IP address to analyze (IPv4 or IPv6 format). Examples: '8.8.8.8' (Google DNS), '2001:4860:4860::8888' (Google IPv6 DNS), '1.1.1.1' (Cloudflare DNS). Returns geolocation, ASN ownership, BGP prefix, and RPKI validation status - essential for security analysis, geoblocking, network forensics, and traffic analytics."
    }
  },
  "required": [
    "ip"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪asn_lookup(asn, country, search, page, page_size)

Input Schema

{
  "type": "object",
  "properties": {
    "asn": {
      "type": "number",
      "description": "Autonomous System Number to analyze (1-4294967295). Examples: 15169 (Google), 7922 (Comcast), 13335 (Cloudflare), 32934 (Facebook). Returns organization details, network size metrics (customer cone, prefixes, ASN relationships), geographic presence, hegemony scores, and connectivity patterns - crucial for competitive intelligence, peering analysis, and Internet topology research. Omit to browse or filter all ASNs."
    },
    "country": {
      "type": "string",
      "description": "Filter ASNs by country code (ISO 3166-1 alpha-2, e.g., 'US', 'DE', 'JP'). Useful for finding all autonomous systems registered in a specific country."
    },
    "search": {
      "type": "string",
      "description": "Search ASNs by name or organization (case-insensitive partial match). Examples: 'google', 'comcast', 'cloudflare'. Useful for finding ASNs when you don't know the exact number."
    },
    "page": {
      "type": "number",
      "description": "Page number for paginated results when browsing all ASNs or filtering by country/search. Starts from 0."
    },
    "page_size": {
      "type": "number",
      "description": "Number of results per page (max 10000). Default: 100. Use for pagination when browsing large result sets."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪asn_lookup_bulk(asns)

Input Schema

{
  "type": "object",
  "properties": {
    "asns": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 1,
      "maxItems": 10000,
      "description": "Array of ASN numbers to analyze (max 10,000 per request). Examples: [15169, 7922, 13335]. More efficient than individual lookups for analyzing multiple networks simultaneously."
    }
  },
  "required": [
    "asns"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪bgp_communities(asn, value, description, as_name, country, ...)

Input Schema

{
  "type": "object",
  "properties": {
    "asn": {
      "type": "number",
      "description": "Filter by Autonomous System Number. Examples: 174 (Cogent), 3356 (Level3), 1299 (Arelion). Returns all communities defined by this AS."
    },
    "value": {
      "type": "string",
      "description": "Specific community value to lookup (e.g., '174:21000' or '174:20xxx'). Supports wildcard patterns. Returns exact and wildcard range matches."
    },
    "description": {
      "type": "string",
      "description": "Filter by description text (case-insensitive partial match). Examples: 'blackhole', 'localpref', 'prepend'. Useful for finding communities with specific functions."
    },
    "as_name": {
      "type": "string",
      "description": "Filter by AS organization name (case-insensitive partial match). Examples: 'Cogent', 'Level3', 'NTT'. Useful when you don't know the exact ASN."
    },
    "country": {
      "type": "string",
      "description": "Filter by country code (ISO 3166-1 alpha-2, e.g., 'US', 'DE', 'JP'). Returns communities from ASNs in the specified country."
    },
    "page": {
      "type": "number",
      "description": "Page number for paginated results (0-indexed, default: 0). Use for browsing large result sets."
    },
    "page_size": {
      "type": "number",
      "description": "Results per page (default: 10, max: 1000). Use smaller values (10-50) for quick lookups, larger values (100-500) for bulk analysis."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded9 tools