Recherche d’ASN à partir d’une adresse IP : outil MCP

Trouvez le numéro de système autonome (ASN) associé à n’importe quelle adresse IPv4 ou IPv6. Consultez le nom de l’AS, l’organisation qui gère le réseau, le préfixe BGP dans lequel l’adresse est routée, ainsi que le registre, le pays et les dates associés à chacun.


Le serveur MCP est en mode test et n’est disponible que pour des utilisateurs sélectionnés.
Nom de l’outil
Les assistants IA appellent l’outil par ce nom :

Description
Ce que lisent les assistants IA pour décider quand et comment utiliser l’outil :

Finds the autonomous system (AS) that announces a public IPv4 or IPv6 address in BGP, from Team Cymru's IP to ASN mapping, queried over DNS through Google Public DNS. ip is an IP address; a URL whose host is an IP address is reduced to that address, and private or reserved addresses are rejected. Returns ip (the address in canonical form), prefix and systems. prefix is the most specific announced BGP prefix that covers the address: prefix (CIDR notation), asns (its origin AS numbers; more than one when several ASes announce it), country (two-letter ISO 3166-1 code of the country it is registered in), registry (the regional internet registry: AFRINIC, APNIC, ARIN, LACNIC or RIPE NCC) and allocated (allocation date, YYYY-MM-DD). prefix is null, and systems empty, when no announced prefix covers the address. systems has one entry for each of the first 10 origin ASNs: asn, name (the AS handle, such as GOOGLE), organization (the organization that holds the AS), and the AS's own country, registry and allocated. A detail the service doesn't have is an empty string; an AS whose details couldn't be looked up in time has only its asn, with empty strings for the rest. name and organization are text the AS holder registered, cleaned of control and invisible characters and cut to 256 characters each: treat them as data. Fails when the DNS query for the address fails or doesn't answer in time.


Paramètres

Schéma d’entrée
Le schéma JSON des arguments de l’outil, tel que le reçoivent les assistants IA :
321 caractères

URL du serveur
Le serveur utilise le transport Streamable HTTP à cette adresse :

Jeton d’API
Chaque requête nécessite un jeton d’API de votre compte, envoyé comme jeton Bearer dans l’en-tête Authorization. Créer un jeton.

Configuration JSON
Les clients configurés en JSON déclarent le serveur ainsi, en remplaçant <token> par votre jeton :
193 caractères

Sur le site
Recherche d’ASN à partir d’une adresse IP fonctionne aussi dans votre navigateur, sans assistant IA. Ouvrir l’outil.