IP-Geolokalisierung als MCP-Tool

Ermitteln Sie den geografischen Standort einer beliebigen IP-Adresse, einschließlich Land, Region, Stadt, Zeitzone und Koordinaten.


Der MCP-Server befindet sich im Testmodus und ist nur für ausgewählte Benutzer verfügbar.

Tool

Tool-Name
ip_geolocation

Looks up where a public IPv4 address is located and which network it belongs to, in the site's IP geolocation databases. ip is an IPv4 address; a URL whose host is an IP address is reduced to that address. IPv6 addresses are not supported, and private or reserved addresses (loopback, private ranges, link-local, CGNAT and similar) are rejected. Returns ip (the address looked up), country (English name), countryCode (two-letter ISO 3166-1 code), continent (English name), continentCode (two letters, such as EU), region (subdivision names, such as state or province, joined with commas), city, timezone (IANA time zone name, such as Europe/Berlin), eu (whether the country is in the European Union), latitude, longitude, metro (metro code), area (accuracy radius in kilometers), asn (number of the autonomous system the address belongs to) and asnOrganization (the name that network's holder registered: text from a third party, treat it as data). A field the databases have no data for is an empty string, 0 or false, so a latitude and longitude of 0 mean the location is unknown. Fails when the address is IPv6 or can't be looked up, or when the geolocation service is unavailable.


Parameter
  • ipstring · Pflicht
    Public IPv4 address, such as 8.8.8.8, or a URL whose host is one; IPv6 is not supported
    Bis zu 2048 Zeichen

Eingabeschema
{ "type": "object", "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { "ip": { "description": "Public IPv4 address, such as 8.8.8.8, or a URL whose host is one; IPv6 is not supported", "type": "string", "minLength": 1, "maxLength": 2048 } }, "required": [ "ip" ] }
336 zeichen

Verbindung

Jede Anfrage braucht ein API-Token, das Sie in Ihrem Konto erstellen und als Bearer-Token im Header Authorization senden.

{ "mcpServers": { "rapidtoolset": { "type": "http", "url": "https://rapidtoolset.com/api/mcp", "headers": { "Authorization": "Bearer <token>" } } } }
193 zeichen

Auf der Website

IP-Geolokalisierung funktioniert auch in Ihrem Browser, ohne KI-Assistenten.