Sökning av telefonnummer och riktnummer som MCP-verktyg

Ange ett telefonnummer i internationellt format för att se land, riktnummer, ursprunglig operatör, nummertyp och aktuell lokal tid där, baserat på Googles libphonenumber-data.


MCP-servern är i testläge och är bara tillgänglig för utvalda användare.

Verktyg

Verktygets namn
phone_number_area_lookup

Looks up where a phone number is from with Google's libphonenumber data (its number metadata, geocoding, carrier and time zone files, bundled with the site): the number isn't sent to any outside service, and nothing tells whether it's in use. phoneNumber is the number in international format, starting with + and the country calling code; language (default en) picks the language of the place and carrier names, falling back to English. Returns phoneNumber (E.164), countryCallingCode (digits, such as 1 or 44), country (ISO 3166-1 alpha-2 code of the region the number belongs to; null for global numbers such as +800), valid (whether the number matches its region's numbering plan), numberType (libphonenumber's type: FIXED_LINE, MOBILE, FIXED_LINE_OR_MOBILE, TOLL_FREE, PREMIUM_RATE, SHARED_COST, VOIP, PERSONAL_NUMBER, PAGER, UAN or VOICEMAIL; null when unknown), internationalFormat (the number grouped as dialed from abroad), location (the area the number's prefix is assigned to, such as a city or region; null when the data has none, as for most mobile and toll-free numbers), carrier (the carrier the number's mobile range was first assigned to; numbers can be ported to another carrier since, so it's not proof of the current one; null for non-mobile numbers or when unknown) and timeZones (IANA time zone names for the number's prefix; a country-wide number can list many). Location, carrier and time zones are only looked up for valid numbers. Fails when the number can't be read as an international number, or when the site's data can't be read.


Parametrar
  • phoneNumberstring · Obligatorisk
    Phone number in international format: + and the country calling code, then the number. Spaces, dots, hyphens and parentheses are ignored; without the leading +, the number is still read as starting with its country calling code
    Upp till 32 tecken
  • languagestring · Valfri
    Language of the location and carrier names, one of ar, be, bg, bs, de, el, en, es, fa, fi, fr, hr, hu, hy, id, it, iw, ja, ko, nl, pl, pt, ro, ru, sq, sr, sv, th, tr, uk, vi, zh, zh_Hant (iw is Hebrew, zh_Hant traditional Chinese); English when the data has no name in it. Default en
    Tillåtna värden: ar, be, bg, bs, de, el, en, es, fa, fi, fr, hr, hu, hy, id, it, iw, ja, ko, nl, pl, pt, ro, ru, sq, sr, sv, th, tr, uk, vi, zh, zh_Hant
    Standard: "en"

Indataschema
1405 tecken

Anslutning

Varje förfrågan behöver en API-token, som du kan skapa i ditt konto och skicka som Bearer-token i headern Authorization.

193 tecken

På webbplatsen

Sökning av telefonnummer och riktnummer fungerar också i din webbläsare, utan AI-assistent.