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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。