IP.LS — IP Lookup Service

ls.ip由 ip.ls 發布官方發布者v1.4.0更新於 Oct 27, 2026

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

已驗證Streamable HTTP可網頁執行位置與生活網頁搜尋與抓取

概覽

AI 產生的概覽

免金鑰的 IP 查詢服務,讓助理取得 IP 與網域的地理位置、ASN/ISP、時區與 DNS 記錄,以及自身公網 IP。

可以做什麼
  • 查詢單一 IP、主機名稱或批次位址的地理位置、ISP/ASN、時區與所屬洲別
  • 將網域解析為 A 與 AAAA 記錄,並回傳每個位址的地理資訊
  • 取得呼叫端自身的公網 IP 與連線協定堆疊
  • 檢視伺服器收到的 HTTP 請求標頭與 User-Agent
  • 將大批 IP 彙整為國家、洲別、ASN 與網段分布並附範例位址
適用情境
適合需要快速取得 IP 或網域情報又不想申請金鑰的情境:判斷位址歸屬、解析網域位址、排查代理請求標頭,或依國家與電信業者分析大量 IP 清單。
執行需求
遠端 streamable HTTP 端點 ip.ls;未宣告驗證、API 金鑰或環境變數。需要能連線至該端點的網路。
安裝前請注意
查詢會送往第三方服務,提交的 IP、網域與請求標頭對其可見。headers 工具會揭露代理與用戶端身分資訊。批次查詢會回傳每一列,可能超出上下文,大量輸入應改用彙整工具。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 IP.LS — IP Lookup Service,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ls.ip%2Fipls-ip-lookup-service/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "ip-ls-ip-lookup-service": {
      "type": "http",
      "url": "https://ip.ls/mcp"
    }
  }
}

工具

6

ip_lookup

IP / domain geolocation lookup

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.

輸入參數ip必填

ip_resolved

Resolve a domain to its IPs, with geolocation

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.

輸入參數host必填

ip_self

Look up my own public IP

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.

無需輸入參數。

headers

Show request headers as the server sees them

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.

無需輸入參數。

ua

Show the caller's User-Agent

Return the User-Agent string of the current HTTP client.

無需輸入參數。

ip_summary

Summarize a batch of IPs (country / continent / ASN / network)

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).

輸入參數ips必填topsampleprefix4prefix6

版本歷史

2
  1. v1.4.0最新Sep 25, 2026
  2. v1.3.0Sep 23, 2026

評分

已滿足適用檢查項的 72%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。