-
Notifications
You must be signed in to change notification settings - Fork 5
Tools Reference
BGP Explorer provides 23 tools that Claude can use to investigate routing questions. This page documents each tool.
| Category | Tools | Description |
|---|---|---|
| Search | search_asn |
Find ASNs by company name |
| Lookups |
lookup_prefix, get_asn_announcements, get_asn_details, get_routing_history
|
Query prefix and ASN information |
| Analysis |
analyze_as_path, compare_collectors
|
Path diversity and collector comparison |
| Security |
get_rpki_status, check_prefix_anomalies, get_anomalies
|
RPKI validation and hijack detection |
| Monitoring |
start_monitoring, stop_monitoring
|
Real-time anomaly detection |
| Network Testing |
ping_from_global, traceroute_from_global
|
Global reachability testing |
| Relationships |
get_as_peers, get_as_upstreams, get_as_downstreams, check_as_relationship, get_as_connectivity_summary
|
AS relationship data |
| IXP & Contacts |
get_ixps_for_asn, get_networks_at_ixp, get_ixp_details, get_network_contacts
|
IXP presence and contact lookup |
Search for ASNs by organization or company name.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
query |
string | Yes | Organization name to search (e.g., "Google", "Cloudflare") |
Example:
> Show me Kentik's ASNs
Claude calls search_asn("Kentik") and returns matching ASNs.
Get BGP routing information for an IP prefix.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
prefix |
string | Yes | IP prefix in CIDR notation (e.g., "8.8.8.0/24") |
Returns: Origin ASN(s), AS paths, visibility from collectors
List all prefixes announced by an ASN.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: List of IPv4 and IPv6 prefixes
Get detailed information about an ASN.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: Announcements, upstream providers, downstream customers, routing behavior
Get historical routing information for a prefix or ASN.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
resource |
string | Yes | IP prefix or ASN (e.g., "8.8.8.0/24" or "AS15169") |
start_date |
string | Yes | Start date in ISO format (YYYY-MM-DD) |
end_date |
string | Yes | End date in ISO format (YYYY-MM-DD) |
Returns: Timeline of origin changes and routing events
Analyze AS path diversity and characteristics.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
prefix |
string | Yes | IP prefix in CIDR notation |
Returns: Path diversity metrics, upstream ASNs, transit ASNs, prepending detection
Compare routing views across different RIPE RIS collectors.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
prefix |
string | Yes | IP prefix in CIDR notation |
Returns: Collector-by-collector comparison, consistency check
Check RPKI validation status for a prefix/origin pair.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
prefix |
string | Yes | IP prefix in CIDR notation |
origin_asn |
integer | Yes | Origin ASN to validate |
Returns: Validation status (valid/invalid/not-found)
Check a prefix for potential hijack indicators (works without bgp-radar).
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
prefix |
string | Yes | IP prefix in CIDR notation |
Returns: Risk level, MOAS detection, RPKI status, origin changes, visibility analysis
Get recent BGP anomalies from bgp-radar.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
event_type |
string | No | Filter: "hijack", "leak", or "blackhole" |
prefix |
string | No | Filter by affected prefix |
asn |
integer | No | Filter by affected ASN |
Returns: List of detected anomalies with severity and details
Note: Requires bgp-radar to be running (/monitor start)
Start real-time BGP anomaly monitoring.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
collectors |
array | No | RIS collectors to monitor (default: configured collectors) |
Note: Requires bgp-radar to be installed
Stop real-time BGP anomaly monitoring.
Parameters: None
Perform ping measurements from globally distributed probes.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
target |
string | Yes | IP address or hostname |
locations |
array | No | Location filters (country codes, continent codes, region names) |
Location examples:
- Country codes: "US", "DE", "FR", "GB", "JP"
- Continent codes: "EU", "NA", "AS"
- Region names: "Europe", "North America"
Perform traceroute from globally distributed probes.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
target |
string | Yes | IP address or hostname |
locations |
array | No | Location filters |
Get all networks that peer with an AS.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: List of peer ASes with visibility percentage
Get upstream transit providers for an AS.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: List of upstream ASes with visibility percentage
Get downstream customers of an AS.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: List of downstream ASes with visibility percentage
Check the relationship between two ASes.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn1 |
integer | Yes | First ASN |
asn2 |
integer | Yes | Second ASN |
Returns: Relationship type (peer/upstream/downstream), visibility breakdown
Get a connectivity summary for an AS.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: Counts and top examples for upstreams, peers, downstreams
Get all IXPs where an ASN is present.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: List of IXPs with connection details
Get all networks present at an IXP.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
ixp |
string | Yes | IXP name or ID |
Returns: List of participating networks
Get detailed information about an IXP.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
ixp |
string | Yes | IXP name or ID |
Returns: Location, participant count, website
Get contact information for a network from PeeringDB.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
asn |
integer | Yes | Autonomous System Number |
Returns: NOC, abuse, technical contacts with emails and phone numbers
Not all tools are available in every configuration:
| Tool | Requires |
|---|---|
start_monitoring, stop_monitoring, get_anomalies
|
bgp-radar |
ping_from_global, traceroute_from_global
|
Globalping |
get_ixps_for_asn, get_networks_at_ixp, get_ixp_details, get_network_contacts
|
PeeringDB |
get_as_peers, get_as_upstreams, get_as_downstreams, check_as_relationship, get_as_connectivity_summary
|
Monocle |
All other tools require only RIPE Stat (always available).
- Data Sources - Learn about the underlying data sources
- Examples - See tools in action
- Architecture - Understand the system design