连接器指南阅读约 5 分钟21 个 MCP 工具7 种语言

将 IPinfo MCP 接入 Claude

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

IPinfo

IPinfo

IP address intelligence from IPinfo: geolocation, ASN and owner, privacy and residential proxy detection, company, carrier, abuse contacts, hosted domains, IP ranges and WHOIS, single or batch lookups. Free Lite lookups with a token; read-only.

个工具

21

区域

INTL

类别

数据丰富

身份验证

Public API

在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 IPinfo,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

AnythingMCP 已收录在 Claude 的连接器目录中:一键添加到 Claude (在新标签页中打开),然后登录并选择 Claude 可以使用哪些 MCP 服务器。

摘要

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

试试这样问

IPinfo 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

IPinfo · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → IPinfo、直接安装 (无需密钥)、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

IPinfo + Claude

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

(无必填项;可选:IPINFO_TOKEN)

步骤 1 — 设置连接器

无需令牌也能用,有令牌更好:设置不到 2 分钟。连接器读取 IPinfo 的两个主机:当前 API https://api.ipinfo.io(Lite、lookup、places、batch)和经典 API https://ipinfo.io(其余所有功能)。

  1. 在连接器商店中选择 IPinfo 并安装。没有令牌时只有 ipinfo_get_my_ip、ipinfo_get_ip_details 和 ipinfo_get_ip_field 可用,每日额度较小;其他工具都会返回 400 或 403。
  2. 推荐:在 https://ipinfo.io/signup 注册。免费套餐可无限次使用 IPinfo Lite 查询(国家、大洲和 ASN)。把 https://ipinfo.io/dashboard/token 上的访问令牌复制到 IPINFO_TOKEN,不要带 Bearer 前缀。它以 Authorization: Bearer <token> 的形式发送。
  3. 用 ipinfo_get_my_ip 检查连接,有令牌时再运行 ipinfo_get_token_info:它显示套餐、今天和本月已用及剩余的请求数,并在 features 中列出令牌可用的数据产品。

各套餐对应的工具:

  • 无令牌:ipinfo_get_my_ip、ipinfo_get_ip_details、ipinfo_get_ip_field。
  • 免费令牌:另加 ipinfo_lite_lookup、ipinfo_lite_me 和 ipinfo_batch_lite。
  • Core、Plus 或 Max 套餐:ipinfo_lookup(城市级地理位置、ASN 类型、隐私和移动网络标记)和 ipinfo_batch;Plus 和 Max 还有 ipinfo_get_place。
  • Business、企业版或对应的单项 API:ipinfo_get_privacy、ipinfo_get_residential_proxy(住宅代理附加服务)、ipinfo_get_company、ipinfo_get_carrier、ipinfo_get_abuse_contact、ipinfo_get_hosted_domains、ipinfo_get_asn、ipinfo_get_ip_ranges、ipinfo_whois_net、ipinfo_whois_org 和 ipinfo_whois_poc。令牌不含该产品时返回 403。

可以读取的内容:

  • IP 在哪里、由谁运营:免费令牌用 ipinfo_lite_lookup,付费令牌用 ipinfo_lookup,经典格式用 ipinfo_get_ip_details,包含主机名、城市、地区、国家、坐标、邮编、时区和 AS 组织。ipinfo_get_ip_field 以纯文本返回单个值,例如只要国家或城市。
  • 批量查询:ipinfo_batch_lite(免费)或 ipinfo_batch(付费,可混合 IP、8.8.8.8/country 这样的字段、AS15169 这样的 ASN 以及 resproxy/1.1.1.1 这样的路径),每次最多 1,000 条;更长的列表由 AI 拆分。
  • 反欺诈和安全检查:用 ipinfo_get_privacy 查看 VPN、代理、Tor、中继和托管标记,用 ipinfo_get_residential_proxy 识别住宅代理网络的出口,用 ipinfo_get_abuse_contact 找到滥用举报对象,用 ipinfo_get_hosted_domains 查看某个 IP 上托管的域名(反向 IP)。
  • 网络和组织:带前缀、对等、上游和下游信息的自治系统(ipinfo_get_asn),按域名查询公司的 IP 段(ipinfo_get_ip_ranges),IP 背后的公司(ipinfo_get_company),带 MCC 和 MNC 的移动运营商(ipinfo_get_carrier),IP 所属的公共场所,例如酒店或机场(ipinfo_get_place),以及按网络、组织或联系人查询的 WHOIS 记录。
  • ipinfo_get_my_ip 和 ipinfo_lite_me 报告的是 AnythingMCP 服务器的公网 IP,而不是你的 IP。

只读:所有工具都只读取数据,因此安装时没有关闭任何工具。批量工具以 POST 发送,但只做读取。

数据格式:经典 API 以 "latitude,longitude" 返回 loc,以 "AS15169 Google LLC" 返回 org;当前 API 把它们拆成 geo.latitude、geo.longitude 和 as.asn、as.name。国家使用 ISO 3166-1 alpha-2 代码(US、DE),时区使用 IANA 名称(Europe/Berlin)。私有和保留地址返回 bogon: true,不含位置。位置是对网络所在地的估计,而不是某个人的位置;Plus 套餐中 radius 以公里表示精度。批量响应是以输入为键的对象。

分页:ipinfo_get_hosted_domains 接受 page(从 0 开始)和 limit(默认 100,最多 1,000)。WHOIS 工具每页返回 50 条记录,接受 page(从 0 开始)。

限制和常见错误:Lite 不限次数;付费套餐有月度配额,用完后返回 429。带有 "Token not passed" 或 "API Access Token Required" 的 400 表示该工具需要令牌,403 "Unknown token" 表示令牌错误,有效令牌返回 403 表示你的套餐不含该产品,404 "Wrong ip" 表示 IP 地址格式错误。

该连接器不定位个人,不修改你的 IPinfo 账户,也不下载 IPinfo 数据库。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Claude 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

推荐路径:在 claude.ai web 上工作,无需触碰任何配置文件。

  1. 在 Claude 中打开 Customize → Connectors。
  2. 点击 +,然后点击 Add custom connector。
  3. 输入名称(例如 IPinfo)和远程 MCP 服务器 URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后点击 Add。
  4. 点击 Connect,登录 AnythingMCP(OAuth)并允许访问。

下面所有工具都会出现在你的聊天中,开始输入提示。

可用工具

ToolWhat it does
ipinfo_get_my_ipDetails of the IP address the request comes from (the AnythingMCP server's public IP): IP, hostname, city, region, country, coordinates…
ipinfo_get_ip_detailsDetails of an IP address from the classic IPinfo API: hostname, city, region, country, coordinates (loc, 'lat,lng'), postal code, time…
ipinfo_get_ip_fieldOne field of an IP address as plain text, e.g. only the country code or the city
ipinfo_lite_lookupIPinfo Lite: country, country code, continent and ASN (number, name, domain) of an IP address
ipinfo_lite_meIPinfo Lite for the IP address the request comes from (the AnythingMCP server): country, continent and ASN
ipinfo_lookupFull lookup on the current IPinfo API (Core, Plus or Max plan): geo (city, region, country, coordinates, time zone, postal code; Plus adds…
ipinfo_get_placeBuilding-level place matched to an IP address (Plus or Max plan): the public place's name, category (hotel, airport, university, ...) and…
ipinfo_batch_liteLook up many IPs in one request with IPinfo Lite (free with any token): country, continent and ASN for up to 1,000 inputs
ipinfo_batchLook up many IPs or other IPinfo paths in one request (paid plans): by default each IP gets the full lookup; entries can also be fields…
ipinfo_get_token_infoPlan of the IPinfo token and its usage: requests made and remaining this day and month, and which data products (geolocation, ASN, privacy…
ipinfo_get_asnDetails of an autonomous system: name, country, registry, allocation date, domain, type (isp, hosting, business, education), number of IPs…
ipinfo_get_ip_rangesIP ranges (CIDR blocks) owned by the organization behind a domain, with the number of ranges
ipinfo_get_abuse_contactAbuse contact of an IP address: name, e-mail, phone, postal address, country and the network it covers
ipinfo_get_privacyPrivacy detection for an IP address: true or false for vpn, proxy, tor, relay and hosting, and the VPN or proxy service name when known
ipinfo_get_residential_proxyResidential proxy detection: whether an IP was seen as an exit of a residential proxy network, which service, when it was last seen and on…
ipinfo_get_companyCompany behind an IP address: name, domain and type (isp, business, education, hosting, government)
ipinfo_get_carrierMobile carrier of an IP address, if it is on a mobile network: carrier name, mobile country code (mcc) and mobile network code (mnc)
ipinfo_get_hosted_domainsDomains hosted on an IP address (reverse IP), with the total count. 100 per page by default, up to 1,000 per page
ipinfo_whois_netWHOIS network records found by a network id (NET-24-62-0-0-1), an IP or IP range (24.62.0.0/15), an organization domain (comcast.net) or an…
ipinfo_whois_orgWHOIS organization records by organization id (e.g
ipinfo_whois_pocWHOIS point-of-contact records by POC id (e.g

示例提示

  • “IP 8.8.8.8 在哪里?它属于哪个网络和组织?”
  • “查一下登录日志里的这 50 个 IP,并按国家和 ASN 分组。”
  • “185.220.101.1 是 VPN、代理、Tor 还是托管服务器的地址?”
  • “203.0.113.45 的滥用联系人是谁?它覆盖哪个网段?”
  • “我的 IPinfo 令牌是什么套餐?本月还剩多少次请求?”

FAQ

Claude Code 和 Claude Desktop 一样工作吗? 是的,两者都指向 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。

下一步

这份指南对你有帮助吗?

你的 IPinfo 智能体只差一次点击。

安装连接器,粘贴密钥,向 Claude 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

将 IPinfo MCP 接入 ChatGPT

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

连接器

将 IPinfo MCP 接入 Cursor

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

连接器

将 IPinfo MCP 接入 Gemini CLI

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

连接器

将 IPinfo MCP 接入 Meta Muse

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

连接器

IPinfo MCP 服务器:地理位置、ASN 与 WHOIS

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。

连接器

将 IPinfo MCP 接入 Microsoft Copilot

来自 IPinfo 的 IP 地址情报:地理位置、ASN 和网络所有者、VPN、代理、Tor 和住宅代理检测、公司、移动运营商、滥用联系人、托管域名、IP 段和 WHOIS,可逐个查询,也可每批最多 1,000 个。只读;部分查询无需令牌,免费令牌可无限使用 IPinfo Lite。