IP.LS — IP Lookup Service
Keyless IP geolocation, ASN/ISP, timezone and DNS records for any IP or domain, plus your own IP.
使うべきか
品質と安全性
検出事項(4)
- HIGH
- MEDIUMip_self 内
- LOWua 内
- LOWua 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"ipls-ip-lookup-service": {
"url": "https://ip.ls/mcp"
}
}
}リモートエンドポイント
https://ip.ls/mcpstreamable-httpできること
ツール一覧
ツール(6)
🟢ip_lookup(ip)
Look up geolocation, ISP and network info for any IPv4/IPv6 address or hostname, or an array of them for batch lookup. Returns ip, city, region, country, coordinates, ASN/ISP, timezone and continent (full name, e.g. North America); when a domain is queried, an extra `domain` field echoes it. Data source: DB-IP Lite (CC BY 4.0). Anycast IPs are approximate.
入力スキーマ
{
"type": "object",
"properties": {
"ip": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
},
"description": "IPv4/IPv6 address or hostname, e.g. 8.8.8.8 or example.com. Pass an array for batch lookup, e.g. [\"8.8.8.8\", \"1.1.1.1\"]."
}
},
"required": [
"ip"
]
}🟢ip_resolved(host)
Resolve a domain to all its A and AAAA records (deduplicated, up to 6) and return geolocation for each address. Returns an array of { ip, protocol, domain, city, region, country, coordinates, ASN/ISP, ... }. For a bare IP, returns a single-element array.
入力スキーマ
{
"type": "object",
"properties": {
"host": {
"type": "string",
"description": "Domain or IP address to resolve, e.g. example.com or baidu.com"
}
},
"required": [
"host"
]
}🟢ip_self
Get geolocation and network info about the caller's own public IP, plus the protocol stack (IPv4/IPv6) of the current connection. On dual-stack machines the stack is chosen by the client and may differ from `curl ip.ls`, which picks a random stack; use curl -4/-6 locally to get the other stack, or — for clients that cannot pick a stack (browser, PowerShell, most HTTP libraries) — the single-stack hostnames https://4.ip.ls / https://6.ip.ls (DNS selects the stack; an unreachable 6.ip.ls means no usable IPv6). Data comes from a server-side GeoIP lookup on the caller's real IP.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢headers
Return all HTTP request headers as seen by the IP.LS server (including X-Real-IP / X-Forwarded-For injected by the frontend proxy). Useful for debugging proxies and client identity.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢ua
Return the User-Agent string of the current HTTP client.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢ip_summary(ips, top, sample, prefix4, prefix6)
Summarize a large batch of IPs into distributions by country, continent, ASN/operator and network prefix, each bucket with a sample of addresses. Use instead of ip_lookup once the input is in the hundreds or thousands — ip_lookup returns every row, which no context window holds. Up to 5000 addresses or 100 hostnames. Counts are per occurrence; nothing is dropped silently (failed → `errors`, no database record → `no_data`, unlisted buckets → `tail`), the same input set always returns the same numbers, and the result is facts only — no datacenter/residential classification, no verdict. DB-IP Lite (CC BY 4.0).
入力スキーマ
{
"type": "object",
"properties": {
"ips": {
"anyOf": [
{
"type": "string",
"description": "Whitespace- or comma-separated (paste a log column)."
},
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5000,
"description": "e.g. [\"8.8.8.8\",\"example.com\"]."
}
]
},
"top": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10,
"description": "Buckets per dimension."
},
"sample": {
"type": "integer",
"minimum": 0,
"maximum": 5,
"default": 3,
"description": "Sample addresses per bucket."
},
"prefix4": {
"type": "integer",
"minimum": 8,
"maximum": 32,
"default": 24,
"description": "IPv4 grouping prefix."
},
"prefix6": {
"type": "integer",
"minimum": 16,
"maximum": 64,
"default": 48,
"description": "IPv6 grouping prefix; /48 = one end-site."
}
},
"required": [
"ips"
],
"additionalProperties": false
}コミュニティ
エビデンス