Skip to main content
Glama
duksh

PeerGlass

by duksh

rir_peering_info

Read-onlyIdempotent

Fetch peering policy, IXP presence, NOC contacts, and BGP neighbors for any ASN using PeeringDB and RIPE Stat data sources.

Instructions

Fetch peering policy, IXP presence, NOC contacts, and BGP neighbours for an ASN.

Data sources (queried in parallel):

  • PeeringDB (www.peeringdb.com) — the internet's peering registry

  • RIPE Stat asn-neighbours — live BGP upstream/downstream relationships

Information returned:

  • Peering policy: Open / Selective / Restrictive / No Peering

  • IRR AS-SET (used in route filters, e.g. AS-CLOUDFLARE)

  • NOC email, abuse email, peering contact email

  • IXP presence: which exchange points, peering IPs, link speed

  • BGP neighbours: up to 30 adjacent ASNs in the routing table

Use cases:

  • "Does Cloudflare have an Open peering policy?"

  • "Which IXPs is AS13335 present at?"

  • "What is the NOC email for AS1234 to report an incident?"

  • "Is this ASN a residential ISP or a CDN?"

Results are cached for 6 hours.

Args: params (PeeringInfoInput): - asn (str): ASN to look up (e.g. 'AS13335', '13335', 'AS-CLOUDFLARE') - response_format (str): 'markdown' (default) or 'json'

Returns: str: Peering policy table, IXP presence table, contacts, BGP neighbours. JSON schema: { "asn": str, "network_name": str, "policy_general": str, "noc_email": str, "irr_as_set": str, "ixp_presence": [{"name": str, "city": str, "country": str, "ipaddr4": str, "ipaddr6": str, "speed": int}], "neighbour_asns": [str], "errors": [str] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/duksh/peerglass'

If you have feedback or need assistance with the MCP directory API, please join our Discord server