Who peers with whom, where they meet, and who an address range belongs to. PeeringDB and RDAP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
An MCP server that lets an AI agent look up how the internet is actually wired together β which networks connect to each other, at which internet exchanges and facilities, under what peering policy, and who a given address range is registered to.
Five read-only tools over two public sources: PeeringDB for interconnection, and the regional internet registries over RDAP for registration. Upstream responses are validated and shaped, free text is stripped of structure before it reaches a model, requests are rate limited to what PeeringDB asks for, and answers are cached on disk between runs. Every response is held to a byte budget.
Install it with uvx peering-mcp. A personal project, MIT licensed.
The internet is roughly eighty thousand independent networks that agree to carry each other's traffic. Which networks connect to which, where they meet, and on what terms is public, free and well structured β published through stable APIs by PeeringDB and the regional internet registries.
None of it is reachable by an AI agent. Ask a coding assistant which internet exchanges a given carrier is present at and it will answer from memory: fluent, confident, and often wrong. It has no way to check, so it does not check.
This server is that way to check.
| Tool | Question it answers |
|---|---|
lookup_network | Who is this network, and what is their peering policy? |
list_presence | Which internet exchanges and facilities are they present at? |
find_at_exchange | Who else is at this exchange, and would they peer? |
find_common_presence | Where can these networks meet each other? |
lookup_registration | Who is this IP range or AS number registered to? |
find_common_presence is the tool that motivated the project. Working out where two or more networks could interconnect means looking each one up, listing everywhere it is present, and intersecting the results by hand. That is about an hour and a dozen browser tabs. It should be one question.
It takes two to five AS numbers and answers in four requests, whatever the number of networks. Shared exchanges come back widest bottleneck first β ordered by the smallest capacity any one network has there, because that is what a connection between them would be limited by.
It also returns how many locations each network has on its own, so an empty answer is explainable: either the networks genuinely do not overlap, or one of them has no records at all, which is a very different thing.
find_at_exchange asks it the other way round: who is already at DE-CIX Frankfurt, and which of them will peer with anyone. It takes an exchange name or its PeeringDB id, optionally keeps only the networks stating one peering policy, and returns them largest capacity first. A name matching several exchanges β ten of them are called LINX, on four continents β comes back as candidates to choose between, never a guess at which one was meant.
lookup_registration is the one tool here that does not read PeeringDB. It asks the registry that made the allocation β RIPE NCC, ARIN, APNIC, LACNIC or AFRINIC β and answers with the holder, the allocation date, the range the registration actually covers, and where to report abuse. Which registry to ask is itself a lookup, resolved from IANA's own bootstrap files rather than through a third-party redirector, so the answer can say who it came from.
Ask about one address and you get the block it sits in: 8.8.8.8 is answered with 8.8.8.0 - 8.8.8.255, registered to Google LLC. A range no registry is responsible for, such as 240.0.0.0/8, is answered without a request leaving the machine.
Every tool returns the same envelope, so a model learns one shape rather than five. Asking lookup_network for AS3320 returns this β the whole response, 854 bytes on the wire, against a 42-field upstream record:
The status field is the first thing to read, and ok means one thing only: the answer is in data. A name matching several networks returns ambiguous with the candidates to choose between, never a guess at which one was meant. An AS number that is not listed returns not_found, with a note saying a network can route traffic without being registered.
Real responses, trimmed where marked. Nothing here is illustrative: each is what the tool returned on 2026-09-19.
"Where could Deutsche Telekom and Hurricane Electric peer with each other?" β one call to find_common_presence with [3320, 6939], four upstream requests:
Six shared exchanges, widest bottleneck first: NL-ix leads because the narrower of the two networks has 220 Gbps there, not because anyone has more in total. The per-network totals underneath are what make an empty answer readable β Deutsche Telekom records 7 exchanges in all, so "no overlap" would mean something different from Hurricane Electric's 335.
"Who is already at DE-CIX Frankfurt, and would they peer with anyone?" β find_at_exchange with policy: "Open":
649 of the 1,020 networks there state an open policy. The filter applies to the exchange rather than to the page, so that is a count of the exchange β not "the open ones among the largest fifty".
"Who is 8.8.8.8 registered to, and where do I report abuse?" β lookup_registration, which reads the registry rather than PeeringDB:
The question was about one address and the answer covers the block it sits in, which is what covers is for.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/peering-mcp)<a href="https://allmcps.com/mcp/peering-mcp"><img src="https://allmcps.com/api/badge/peering-mcp?style=directory" alt="Peering MCP on AllMCPs" /></a>