IP.LS — IP Lookup Service

Keyless IP geolocation, ASN/ISP, timezone and DNS records for any IP or domain, plus your own IP.

我該用這個嗎

品質與安全性

B
說明品質
95%
結構描述完整度
64%
命名品質
77%
汙染風險
80%
權限相符程度
100%
協定合規性
100%

發現項目(4)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains URL to non-standard domain在 ip_self 中
  • LOWTool 'ua' description lacks action verb在 ua 中
  • LOWTool 'ua' name length outside 3-30 range在 ua 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,078Token(工具定義)
~622 B典型回應大小
中等的注意力影響(128k 上下文的 0.84%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `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
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具
已驗證未記錄版本5 個工具