MCPツールとしてのIP ジオロケーション検索

任意のIPアドレスの地理的位置を検索します。国、地域、都市、タイムゾーン、座標を含みます。


MCPサーバーはテストモードのため、選ばれたユーザーのみ利用できます。

ツール

ツール名
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.


パラメーター
  • ipstring · 必須
    Public IPv4 address, such as 8.8.8.8, or a URL whose host is one; IPv6 is not supported
    最大2048文字

入力スキーマ
{ "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 文字

接続

すべてのリクエストでは、アカウントで作成できるAPIトークンを Authorization ヘッダーでBearerトークンとして送る必要があります。

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

ウェブサイトで

IP ジオロケーション検索はブラウザーでも使え、AIアシスタントは必要ありません。