Skip to main content
Glama

net-mcp

MCP server for network engineering — BGP routing analysis, RPKI validation, DNSSEC-aware DNS, and historical route data from MRT archives.

Gives LLMs structured access to real network state using public data sources (RIPE RIS, RIPEstat, RPKI repositories, bgp.tools, bgproutes.io).

Example Queries

Once connected as an MCP server, an LLM can answer questions like:

  • "Is 1.1.1.0/24 RPKI valid?" → rpki_validate

  • "Who originates 8.8.8.0/24?" → bgp_prefix_origin

  • "What does Cloudflare's AS footprint look like?" → bgp_asn_info(13335)

  • "Is cloudflare.com DNSSEC signed?" → dns_lookup or dns_trace

  • "Show me routes to 1.1.1.0/24 from Tokyo" → ris_collectors(region='asia') then bgp_route_lookup(prefix, collector='RRC06')

  • "What did routing look like for 8.8.8.0/24 two days ago?" → mrt_search then bgp_historical_lookup

  • "What route objects does AS13335 have in IRR?" → irr_route_lookup

  • "Where does Cloudflare peer?" → peeringdb_network(13335)

  • "What ASes are at AMS-IX?" → peeringdb_ix("AMS-IX", include_members=True)

  • "Split 10.0.0.0/24 into /26s" → subnet_split

  • "Is 192.168.1.1 a bogon?" → bogon_check

  • "Do these two prefixes overlap?" → prefix_overlap

  • "Ping 1.1.1.1 from my machine" → local_ping

  • "What's my public IP?" → local_public_ip

  • "Trace the path to 8.8.8.8" → local_traceroute

  • "What ports are open on 192.168.1.1?" → local_nmap

  • "Show my routing table" → local_routes

Related MCP server: Packet Tracer MCP

Tools

DNS

Tool

Description

dns_lookup

Query DNS records (A, AAAA, MX, NS, TXT, SOA, CNAME, PTR, SRV, CAA) with DNSSEC validation status

dns_trace

Trace delegation chain from root to authoritative, showing DNSSEC signing status at each zone level

RPKI & ASPA

Tool

Description

rpki_validate

Validate a prefix + origin ASN pair against RPKI ROAs. Queries RIPEstat (ROA details) and Cloudflare Radar (status cross-check)

rpki_roa_lookup

Look up all ROAs for a given prefix or ASN, including max-length and trust anchor

rpki_aspa_lookup

Look up ASPA objects — which upstream providers an AS has authorized (Cloudflare Radar)

rpki_aspa_changes

Track ASPA object changes over time — additions, removals, modifications (Cloudflare Radar)

BGP — Live

Tool

Description

bgp_route_lookup

Look up current BGP routes for a prefix. Optionally filter by RIPE RIS collector for regional perspective

bgp_prefix_origin

Find which AS(es) originate a prefix, with AS name enrichment

bgp_asn_info

Get AS name, all announced prefixes (v4/v6), upstream providers, and total prefix count

BGP — Collectors & Historical

Tool

Description

ris_collectors

List RIPE RIS route collectors with location, peer counts, and type (IXP vs multihop). Filter by region

mrt_search

Find available MRT archive files (RIB dumps or updates) for a time range and collector

bgp_historical_lookup

Download and parse MRT files to retrieve BGP routes for a prefix at a specific point in time

BGP — Security (Cloudflare Radar)

Tool

Description

bgp_hijacks

Search BGP origin hijack events with confidence scores, affected prefixes, hijacker/victim ASNs

bgp_leaks

Search BGP route leak events — improper route propagation between peers

These tools require a Cloudflare Radar API token (CLOUDFLARE_API_TOKEN). Free to obtain at dash.cloudflare.com/profile/api-tokens.

IRR (Internet Routing Registry)

Tool

Description

irr_route_lookup

Look up route objects by prefix or origin ASN across RADB, RIPE, ARIN, and other registries

irr_autnum

Look up aut-num objects — AS name, description, import/export policies

irr_as_set_expand

Expand an AS-SET into its member ASNs (e.g. AS-CLOUDFLARE → list of ASNs)

PeeringDB

Tool

Description

peeringdb_network

Look up a network by ASN — peering policy, IXP presence, port speeds, IRR as-set

peeringdb_ix

Search IXPs by name or city — location, member list, route server info

peeringdb_facility

Search data center facilities — location, network count

IP/Subnet Math & Bogon Detection

Tool

Description

subnet_info

Get full details on a prefix — network/broadcast, host count, private/global classification

subnet_split

Split a prefix into smaller subnets (e.g. /24 → four /26s)

ip_contains

Check if an IP or prefix is within a network (e.g. is 10.5.5.1 in 10.0.0.0/8?)

prefix_overlap

Check if two prefixes overlap and the relationship (contains, equal, disjoint)

supernet_aggregate

Aggregate contiguous prefixes into the smallest covering supernet

bogon_check

Check if an IP/prefix is reserved space (RFC 1918, CGNAT, documentation, multicast, etc.)

Local Diagnostics

Tools that run standard CLI commands on the user's machine. All inputs are validated and passed as list arguments to subprocess (never shell=True) to prevent command injection.

Tool

Description

Admin Required

local_ping

Ping a host with configurable count and timeout

No

local_traceroute

Trace network path to a host (UDP mode)

No

local_mtr

Combined ping + traceroute with per-hop stats

Yes (raw sockets)

local_dig

DNS lookup via dig (falls back to nslookup)

No

local_interfaces

Show network interfaces and IP addresses

No

local_routes

Show the local routing table

No

local_connections

Show active TCP/UDP connections and listening ports

No (PIDs need admin)

local_arp

Show ARP table (IP-to-MAC mappings)

No

local_whois

Whois lookup for domains, IPs, or ASNs

No

local_curl

Make HTTP requests, check headers and connectivity

No

local_nmap

TCP connect scan (port scanning, no SYN scan)

No

local_netstat_stats

Show TCP/UDP/ICMP protocol statistics

No

local_public_ip

Get the public-facing IP of the machine

No

Tools that require admin privileges will attempt to run and return a clear error message if permission is denied. Cross-platform: macOS, Linux, and Windows.

Active tools (local_nmap, local_curl) are disabled by default. Because this server can be driven by an LLM, the ability to port-scan or fetch arbitrary URLs from the host machine is an SSRF/scanning surface (internal services, cloud metadata endpoints). Enable them deliberately by setting allow_active_tools = true under [local] in config.toml, or NET_MCP_ALLOW_ACTIVE_LOCAL_TOOLS=1. When disabled, they return a clear message explaining how to turn them on.

Data Sources

Data sources are queried in this priority order:

Source

Auth

Used For

RIPEstat

None (free)

BGP looking glass, routing status, prefix origins, AS info, RPKI validation, collector metadata. Primary for most queries

Cloudflare Radar

Free API token

Real-time BGP routes, prefix-to-ASN with RPKI status, BGP hijack detection, BGP route leak detection. Primary alongside RIPEstat

bgproutes.io

API key required

RIB snapshots with RPKI ROV + ASPA validation, BGP updates, AS topology. Only used when API key is configured

bgp.tools

None (free)

ASN-to-name mappings (asns.csv, cached in-memory), full BGP table (table.jsonl, last resort)

RIPE RIS MRT archive

None (free)

Historical RIB dumps and BGP update files, accessed via BGPKIT Broker + Parser

IRR databases

None (free)

Route objects, aut-num, AS-SET expansion via whois protocol (RADB, RIPE, ARIN, APNIC, etc.)

PeeringDB

None (free)

Network peering info, IXP membership, facility data. No API key needed for read-only

dnspython

N/A (local)

All DNS queries and DNSSEC validation

All RIPEstat requests include sourceapp=net-mcp per their API guidelines.

Usage

With Claude Code

Sessions opened inside this repository pick up the server automatically from the checked-in .mcp.json. To use it from any other project, register it once at user scope:

claude mcp add --scope user --transport stdio net-mcp -- \
  uv run --directory /path/to/net-mcp net-mcp

API tokens are read from your environment (CLOUDFLARE_API_TOKEN, BGPROUTES_API_KEY) or from config.toml; see Configuration.

Claude Desktop and other MCP clients

{
  "mcpServers": {
    "net-mcp": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/net-mcp", "net-mcp"],
      "env": { "CLOUDFLARE_API_TOKEN": "your-token" }
    }
  }
}

Standalone

uv run net-mcp

Configuration

Settings are loaded from (in priority order):

  1. Environment variables (NET_MCP_* prefix)

  2. Config file (config.toml)

  3. Built-in defaults

Config file is searched at:

  1. Path in NET_MCP_CONFIG env var

  2. ./config.toml (next to pyproject.toml)

  3. ~/.config/net-mcp/config.toml

config.toml is gitignored because it may hold API tokens. Start from the template:

cp config.example.toml config.toml

config.toml

[storage]
# Directory for downloaded MRT files (RIB dumps can be ~400MB each).
# Default: system temp directory (/tmp/net-mcp/mrt)
mrt_cache_dir = "/path/to/mrt/cache"

# Maximum cache size in GB. Oldest files are removed when exceeded.
mrt_max_cache_gb = 10

[api]
# Cloudflare Radar API token (or set CLOUDFLARE_API_TOKEN env var)
cloudflare_api_token = "your-token-here"

# bgproutes.io API key (or set BGPROUTES_API_KEY env var)
bgproutes_api_key = "your-key-here"

[bgp]
# Default RIPE RIS collector for queries
default_collector = "rrc00"

[dns]
# Default DNS resolver
resolver = "1.1.1.1"

[local]
# Enable active local tools (local_nmap, local_curl). Off by default because
# they can scan/fetch arbitrary targets (internal services, metadata endpoints).
allow_active_tools = false

Environment Variables

Variable

Description

Default

NET_MCP_CONFIG

Path to config file

(auto-detected)

NET_MCP_MRT_CACHE_DIR

MRT file download/cache directory

/tmp/net-mcp/mrt

NET_MCP_MRT_MAX_CACHE_GB

Max cache size before evicting old files

10

NET_MCP_DEFAULT_COLLECTOR

Default RIPE RIS collector ID

rrc00

NET_MCP_DNS_RESOLVER

Default DNS resolver IP

1.1.1.1

NET_MCP_ALLOW_ACTIVE_LOCAL_TOOLS

Enable local_nmap / local_curl

0 (disabled)

CLOUDFLARE_API_TOKEN

Cloudflare Radar API token (get one free)

(none)

BGPROUTES_API_KEY

bgproutes.io API key

(none)

MRT File Caching

Historical BGP lookups download MRT files from the RIPE RIS archive. These files can be large:

  • RIB dumps (bview): ~400MB each, created every 8 hours (00:00, 08:00, 16:00 UTC)

  • Update files (updates): ~3MB each, created every 5 minutes

Downloaded files are cached at <mrt_cache_dir>/<collector>/<year.month>/<filename>.gz and reused on subsequent queries. The cache is automatically pruned when it exceeds mrt_max_cache_gb.

Error reporting

Every API-backed result carries an error field. It is null when the source answered, and set to a short message when the lookup failed, so an empty routes/origins/roas list with error: null means "genuinely nothing there", not "the API was down". Invalid input (bad prefix, unknown record type, out-of-range port) is rejected with a tool error that explains the valid form. Local diagnostic tools report failures in CommandResult.error.

Development

git clone https://github.com/steelcutoatmeal/net-mcp.git
cd net-mcp
uv sync --group dev
uv run pytest -q                 # offline, ~1s
uv run ruff check src tests      # lint (CI enforces)
uv run ruff format src tests     # format

Tests never touch the network: they monkeypatch the HTTP helpers on each tool module and call tools in-process via mcp.call_tool. CI runs lint, format check, and tests on Python 3.10, 3.12, and 3.14.

License

MIT

Available Tools

39 tools
bgp_asn_infoBgp Asn InfoA

Get information about an Autonomous System.

Returns the AS name, announced prefixes (v4 and v6), upstream providers, and total prefix count. Use this to understand an AS's footprint on the Internet.

Inputs: asn (required). Returns: asn, name, note, error, +4 more

bgp_hijacksBgp HijacksA

Search for BGP origin hijack events.

Detects when an AS announces prefixes it is not authorized to originate (based on RPKI, IRR, and historical data). Each event includes a confidence score, the hijacker and victim ASNs, affected prefixes, and duration.

Requires Cloudflare Radar API token (CLOUDFLARE_API_TOKEN).

Inputs: asn, prefix, date_end, date_start, +2 more. Returns: error, total, events, source

bgp_historical_lookupBgp Historical LookupA

Look up historical BGP routes for a prefix from MRT archive data.

Downloads and parses MRT files from RIPE RIS to show what BGP routes existed for a prefix at a specific point in time (rib) or what route changes occurred during a time window (update).

For RIB lookups: shows all routes for the prefix at that snapshot. For update lookups: shows announcements and withdrawals during the window.

Note: RIB files are ~400MB and take 30-60s to download and parse. Update files are ~3MB and parse in seconds. Prefer 'update' for narrow time windows and 'rib' for full routing state.

Inputs: prefix (required), time_end (required), time_start (required), collector, +2 more. Returns: error, total, prefix, source, +6 more

bgp_leaksBgp LeaksA

Search for BGP route leak events.

Detects when an AS improperly propagates routes it received from one peer to another peer (violating expected routing policy). Each event includes the leaking AS, affected origin/prefix counts, and detection timestamps.

Requires Cloudflare Radar API token (CLOUDFLARE_API_TOKEN).

Inputs: asn, date_end, date_start, max_results. Returns: error, total, events, source

bgp_prefix_originBgp Prefix OriginA

Find which AS(es) originate a given prefix.

Returns the distinct origin ASN(s) with AS names. Cloudflare Radar (pfx2as) is queried first because it also reports per-origin RPKI status; if it is not configured or returns nothing, RIPEstat routing-status is used (no rpki_status). error is set only when every source failed, so an empty origins with no error means the prefix is genuinely not announced.

Inputs: prefix (required). Returns: error, source, origins, query_prefix

bgp_route_lookupBgp Route LookupA

Look up current BGP routes for a prefix from global routing tables.

Returns BGP route entries including origin AS, AS path, communities, and peer information. Optionally filter by a specific RIPE RIS collector to get a regional perspective (e.g. RRC06 for Tokyo, RRC15 for Sao Paulo).

Source order: RIPEstat looking glass, then Cloudflare Radar (if a token is configured), then bgproutes.io (if a key is configured), then the bgp.tools full table only if RIPEstat itself failed. At most 20 routes are returned; total reports how many were observed. Use ris_collectors first to pick a collector ID for a regional view.

Inputs: prefix (required), collector. Returns: error, total, prefix, routes, +1 more

bogon_checkBogon CheckA

Check if an IP address or prefix is a bogon (reserved/non-routable).

Tests against all IANA reserved ranges including RFC 1918 (private), RFC 6598 (CGNAT), RFC 5737 (documentation), multicast, loopback, link-local, and other special-use prefixes.

A bogon appearing in the global routing table usually indicates a misconfiguration or a hijack attempt.

Inputs: query (required). Returns: query, detail, matches, is_bogon

dns_lookupDns LookupA

Query DNS records for a domain with DNSSEC validation status.

Returns the requested records along with whether DNSSEC is enabled and whether validation passes. Use this to check DNS configuration and DNSSEC health for any domain.

If the resolver returns SERVFAIL (which a validating resolver does when DNSSEC validation fails), this re-queries with the CD (Checking Disabled) bit to distinguish a genuine DNSSEC failure from an unrelated server error.

Inputs: name (required), resolver, record_type. Returns: dnssec, records, resolver, query_name, +2 more

dns_traceDns TraceA

Trace DNS resolution from root to authoritative nameservers.

Walks the actual delegation chain (zone cuts) from the root down, showing each zone's nameservers and DNSSEC signing status. Labels that are not their own zone (e.g. 'www' as a record inside a parent zone) are skipped so they are not mistaken for a broken delegation.

This traces the delegation/chain-of-trust structure, which is independent of any particular record type.

A DNSSEC break is reported when a zone is signed (publishes DNSKEY) but its parent publishes no DS record for it — an "island of security" that breaks the chain of trust.

Inputs: name (required). Returns: query_name, break_point, delegation_chain, dnssec_chain_intact

ip_containsIp ContainsA

Check if an IP address or prefix is within a network.

Answers questions like 'is 10.5.5.1 in 10.0.0.0/8?' or 'is 192.168.1.0/24 inside 192.168.0.0/16?'.

Inputs: address (required), network (required). Returns: detail, address, network, contains

irr_as_set_expandIrr As Set ExpandA

Expand an AS-SET into its member ASNs.

Recursively resolves an AS-SET: reads its members/mp-members attributes, follows any nested AS-SET members, and collects every member ASN. Useful for understanding the customer cone of a transit provider or what ASNs are in a peering group. Uses RADB by default because it mirrors objects from many registries.

The name must look like an RPSL set ('AS-...', 'RS-...', or a hierarchical 'AS13335:AS-...' name); bare ASNs are rejected. Recursion is bounded (6 levels deep, 20000 ASNs) to keep very large transit cones from running unbounded. If any lookup during expansion fails, error is set and the members collected so far are returned.

Inputs: as_set (required), source. Returns: error, total, as_set, source, +1 more

irr_autnumIrr AutnumA

Look up an aut-num object in IRR databases.

Returns the AS name, description, import/export policies (capped at 20 lines each), and organisation handle. Useful for understanding an AS's registered routing policy. The ASN may be given as 'AS13335' or a bare '13335'.

One object is returned per queried registry: the first aut-num object in that registry's response whose aut-num matches the requested ASN. registry is the server queried and source is the object's own source: attribute (they differ for mirrored objects). If a registry cannot be reached, error is set and results from the remaining registries are still returned.

Inputs: asn (required), sources. Returns: asn, error, objects, sources

irr_route_lookupIrr Route LookupA

Look up IRR route objects for a prefix or origin ASN.

Queries Internet Routing Registries to find what route objects exist. Compare with RPKI (rpki_validate) and actual BGP (bgp_prefix_origin) to identify inconsistencies between what's registered, what's authorized, and what's actually announced.

The query must be an ASN ('AS13335' or bare '13335', normalised to 'AS13335') or an IP prefix/address (normalised to CIDR form); anything else is rejected. Each returned object reports both registry (the server it was fetched from) and source (the registry that authoritatively holds it), which differ for objects mirrored by RADB. Results are capped at 200 objects; total is the uncapped count. If a registry cannot be reached, error is set and the objects from the remaining registries are still returned.

Inputs: query (required), sources. Returns: error, query, total, objects, +1 more

local_arpLocal ArpA

Show the ARP table (IP-to-MAC address mappings).

Displays cached ARP entries for the local network. Useful for seeing what hosts are on the same L2 segment. Does not require admin privileges.

Inputs: no named parameters. Returns: note, error, stderr, stdout, +4 more

local_connectionsLocal ConnectionsA

Show active network connections and listening ports.

Displays TCP/UDP sockets with local/remote addresses and state. Uses ss on Linux (netstat as a fallback) and netstat on macOS and Windows. ss filters by state natively; netstat on macOS, Windows and older Linux has no state filter, so for 'listen' and 'established' this tool filters the output lines itself after the command runs and says so in the note field. Does not require admin privileges (PIDs may require admin).

Inputs: state. Returns: note, error, stderr, stdout, +4 more

local_curlLocal CurlA

Make an HTTP request from the local machine using curl.

Useful for testing connectivity, checking HTTP headers, TLS certificates, and response codes from the local network perspective. Output is capped at 10,000 characters (the note field says when it was truncated). Does not require admin privileges.

curl runs with -q (ignores ~/.curlrc) and -g (no URL globbing, so brackets and braces in the URL are literal and cannot fan out into many requests). Only http:// and https:// URLs are accepted.

Disabled by default. When enabled via allow_active_tools this tool deliberately does NOT block private, loopback, link-local or cloud metadata addresses (for example 127.0.0.1, 10.0.0.0/8 or 169.254.169.254): reaching internal endpoints from this host is part of its purpose as a local diagnostic, and operators who enable it accept that trade-off.

Inputs: url (required), timeout, head_only, follow_redirects. Returns: note, error, stderr, stdout, +4 more

local_digLocal DigA

Run dig on the local machine for DNS lookups.

Unlike dns_lookup (which uses dnspython), this runs the actual dig binary and returns raw output including query time, server used, and all sections. Useful for seeing exactly what a real resolver returns. Falls back to nslookup when dig is not installed. Does not require admin privileges.

record_type must be a bare mnemonic (1-10 letters/digits); dig options such as '+trace' or '-x' are rejected and reported in the result's error field.

Inputs: name (required), short, server, record_type. Returns: note, error, stderr, stdout, +4 more

local_interfacesLocal InterfacesA

Show network interfaces and their IP addresses on the local machine.

Returns interface names, IP addresses, subnet masks, and status. Uses ifconfig on macOS, ip addr on Linux, ipconfig on Windows. Does not require admin privileges.

Inputs: no named parameters. Returns: note, error, stderr, stdout, +4 more

local_mtrLocal MtrA

Run mtr (My Traceroute) combining ping and traceroute.

Shows per-hop packet loss and latency statistics. Requires mtr to be installed. May require admin/sudo for raw ICMP sockets on some systems — if permission is denied, the error will say so.

Inputs: host (required), count. Returns: note, error, stderr, stdout, +4 more

local_netstat_statsLocal Netstat StatsA

Show network protocol statistics (TCP, UDP, ICMP counters).

Displays packet counts, error rates, retransmissions, and other protocol-level statistics. Useful for diagnosing network health issues. Does not require admin privileges.

Inputs: no named parameters. Returns: note, error, stderr, stdout, +4 more

local_nmapLocal NmapA

Run an nmap TCP connect scan on a target.

Uses TCP connect scan (-sT, no admin needed) with host discovery skipped (-Pn) and reports only open ports. SYN scans and OS detection require root and are not used. Nmap must be installed separately.

Targets are limited to one host or a CIDR block of at most 256 addresses (/24 for IPv4, /120 for IPv6): with -Pn nmap probes every address in the block, so a larger prefix would exhaust the 120 s time budget without finishing. nmap's octet-range (10.0.0-255.1), wildcard and comma-list target syntax is rejected for the same reason; scan several small blocks instead. Rejected inputs are reported in the result's error field.

Disabled by default (it can scan arbitrary internal hosts from this machine). Enable via allow_active_tools in config.

Inputs: target (required), ports. Returns: note, error, stderr, stdout, +4 more

local_pingLocal PingA

Ping a host from the local machine.

Sends ICMP echo requests and reports round-trip time, packet loss, and latency statistics. Does not require admin privileges. Invalid hosts are reported in the result's error field rather than raised.

Inputs: host (required), count, timeout. Returns: note, error, stderr, stdout, +4 more

local_public_ipLocal Public IpA

Get the public IP address of the local machine.

Queries external services (ifconfig.me, ipify, icanhazip) in turn until one answers, identifying itself with the net-mcp User-Agent. Useful for verifying NAT, VPN, or proxy configuration. Does not require admin privileges.

Inputs: no named parameters. Returns: note, error, stderr, stdout, +4 more

local_routesLocal RoutesA

Show the local routing table.

Displays all routes including default gateway, connected networks, and static routes. Uses netstat -rn on macOS, ip route on Linux, route print on Windows. Does not require admin privileges.

Inputs: no named parameters. Returns: note, error, stderr, stdout, +4 more

local_tracerouteLocal TracerouteA

Trace the network path to a host from the local machine.

Shows each hop along the route with latency. Uses UDP probes by default (no admin required). On macOS/Linux uses traceroute, on Windows uses tracert. If the trace exceeds its time budget the partial output collected so far is returned with returncode 124.

Inputs: host (required), max_hops. Returns: note, error, stderr, stdout, +4 more

local_whoisLocal WhoisA

Run a whois lookup from the local machine.

Queries the appropriate whois server for domain registration, IP allocation, or ASN information. Does not require admin privileges.

Inputs: query (required). Returns: note, error, stderr, stdout, +4 more

peeringdb_facilityPeeringdb FacilityA

Search for data center facilities in PeeringDB.

Returns facility name, location, website, how many networks are present (networks_count), and how many IXPs are reachable there (exchanges_count). Useful for understanding colocation options and where networks can physically interconnect.

Data source: PeeringDB, one request (two if the name search is empty and falls back to a city search). Counts come from PeeringDB's own net_count / ix_count fields, so no per-facility lookups are made. If error is set the search failed upstream and facilities is empty.

Inputs: query (required). Returns: error, query, total, source, +1 more

peeringdb_ixPeeringdb IxA

Search for Internet Exchange Points (IXPs) in PeeringDB.

Returns exchange name, location, website, and the number of connected networks (total_members) for every match. With include_members, the member list (ASN, LAN addresses, port speed, route-server flag) is fetched for ONE exchange only: the exact name match if there is one, otherwise the first result. That entry has members_included=true. To get members of a specific exchange, query by its numeric IX id.

Data source: PeeringDB. A name search that returns nothing falls back to a city search. total_members comes from PeeringDB's net_count and costs no extra requests. If error is set the search or the member fetch failed upstream and the payload may be empty or partial.

Inputs: query (required), include_members. Returns: error, query, total, source, +1 more

peeringdb_networkPeeringdb NetworkA

Look up a network in PeeringDB by ASN.

Returns peering policy, network type, IRR as-set, website, and every IXP where the network peers (with LAN addresses, port speeds, and route-server participation). Useful for understanding a network's peering footprint and how to reach it.

Data source: PeeringDB (two requests: the net record, then its netixlan entries). A null network with no error means the ASN has no PeeringDB entry; if error is set the lookup failed upstream and the record may be missing or partial (e.g. exchanges empty).

Inputs: asn (required). Returns: error, source, network, query_asn

prefix_overlapPrefix OverlapA

Check if two IP prefixes overlap.

Returns the relationship: disjoint, one contains the other, or equal. Useful for detecting conflicts in IP allocation or routing policy.

Inputs: prefix_a (required), prefix_b (required). Returns: overlaps, prefix_a, prefix_b, relationship

ris_collectorsRis CollectorsA

List RIPE RIS route collectors with location, peer counts, and status.

Use this to understand where BGP data is collected from. Each collector is at a specific IXP or operates as a multihop peer. Collectors with more full-feed peers provide better global visibility.

Common use cases:

  • Need Asian perspective? Use RRC06 (Tokyo) or RRC23 (Singapore)

  • Need US perspective? Use RRC11 (NYC), RRC14 (Palo Alto), RRC16 (Miami)

  • Need South American view? Use RRC15 (Sao Paulo) or RRC24 (Montevideo)

  • Need African view? Use RRC19 (Johannesburg)

  • Need best global visibility? Use RRC00 or RRC25 (multihop, most peers)

Inputs: region, active_only. Returns: tip, error, total, active, +1 more

rpki_aspa_changesRpki Aspa ChangesB

Track changes to RPKI ASPA objects over time.

Shows when ASPA objects were added, removed, or modified. Useful for monitoring provider authorization changes and detecting potential routing policy shifts.

Requires Cloudflare Radar API token (CLOUDFLARE_API_TOKEN).

Inputs: asn, date_end, date_start. Returns: error, total, source, changes, +2 more

rpki_aspa_lookupRpki Aspa LookupA

Look up RPKI ASPA (AS Provider Authorization) objects.

ASPA defines which upstream providers an AS authorizes for its route announcements. This is a newer RPKI extension that helps prevent route leaks by validating AS path relationships.

Use 'customer' role to see who an AS has authorized as providers. Use 'provider' role to see which ASes have authorized a given AS as their provider.

At most 200 objects are returned (an unfiltered snapshot is the whole dataset); total reports the real count. Requires a Cloudflare Radar API token (CLOUDFLARE_API_TOKEN); error explains if it is missing.

Inputs: asn, date, role. Returns: error, total, source, objects, +1 more

rpki_roa_lookupRpki Roa LookupA

Look up RPKI ROAs for a prefix or ASN.

Returns Route Origin Authorizations matching the query, including max-length, trust anchor, and ASN. Useful for understanding what routes an AS is authorized to originate or what ROAs cover a prefix.

For an ASN query only the first 50 announced prefixes are scanned (large ASes announce thousands); note says when that cap applied. Data source: RIPEstat. error is set if RIPEstat could not be reached.

Inputs: query (required). Returns: note, roas, error, query, +1 more

rpki_validateRpki ValidateA

Validate a BGP route origin against RPKI ROAs.

Checks whether a given prefix + origin ASN pair is VALID, INVALID, or NOT_FOUND in RPKI. Returns matching ROAs and details about any max-length issues.

Queries RIPEstat first for full ROA details. If RIPEstat returns NOT_FOUND, Cloudflare Radar is consulted to confirm the status. If RIPEstat is unavailable entirely, falls back to Cloudflare Radar (status only, no ROA details).

Inputs: prefix (required), origin_asn (required). Returns: detail, prefix, status, origin_asn, +1 more

subnet_infoSubnet InfoA

Get detailed information about an IP prefix or address.

Returns network/broadcast addresses, netmask, host count, and classification (private, global, multicast, etc.). Works with both IPv4 and IPv6.

Inputs: prefix (required). Returns: prefix, netmask, hostmask, is_global, +10 more

subnet_splitSubnet SplitA

Split an IP prefix into smaller subnets.

For example, split 10.0.0.0/24 into /26s to get 4 subnets. Works with both IPv4 and IPv6.

Inputs: prefix (required), new_prefix_length (required). Returns: total, subnets, original, new_prefix_length

supernet_aggregateSupernet AggregateA

Try to aggregate a list of IP prefixes into a supernet.

Given contiguous subnets, returns the smallest covering supernet. Useful for summarizing route announcements.

Inputs: prefixes (required). Returns: detail, prefixes, supernet, aggregatable

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 39 tools

    Disambiguation4/5

    Most tools have a clear, distinct target and data source, and descriptions explicitly call out differences (e.g., dns_lookup vs local_dig). A few pairs overlap in concept (bgp_prefix_origin vs bgp_route_lookup, local_mtr vs local_ping/local_traceroute), but the descriptions are enough to disambiguate.

    Naming Consistency4/5

    Names are all lowercase snake_case and consistently use a domain-prefix pattern (rpki_*, bgp_*, irr_*, peeringdb_*, local_*). The tails mix verbs and plain nouns (lookup, validate, info, hijacks, public_ip), so it is not a uniform verb_noun scheme, but it is predictable.

    Tool Count2/5

    39 tools is beyond the 25+ threshold and presents a heavy selection surface, even though the tools are organized into distinct clusters. The broad network scope justifies more than a typical server, but the count strains agent decision-making.

    Completeness4/5

    The server covers core workflows across IP planning, DNS, BGP, RPKI, IRR, PeeringDB, and local diagnostics with no serious dead ends. Minor gaps exist (e.g., no RDAP abstraction or multi-vantage-point probing), but the covered domains feel substantially complete.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables LLMs to retrieve structured network information, including routing, interfaces, MPLS, and topology, from devices using gNMI and OpenConfig models. It facilitates real-time network analysis, log filtering, and status monitoring through a standardized interface.
      10
      14
      BSD 3-Clause
    • A
      license
      Not graded
      quality
      A
      maintenance
      An MCP server that allows LLMs to create, configure, validate, and explain Cisco Packet Tracer network topologies. It provides a comprehensive suite of tools for generating deployment scripts, CLI configurations, and automated network troubleshooting.
      1,619 PyPI
      405
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive MCP server that provides AI assistants with professional-grade network analysis capabilities, combining Wireshark packet analysis, nmap scanning, and threat intelligence for enhanced network troubleshooting and security analysis.
      MIT