IP for AI

cc.ipforai由 ipforai.cc 发布v0.1.0更新于 Oct 24, 2026

Check if your exit IP works for ChatGPT, Claude, Gemini: ASN, proxy/IDC type, risk, AI availability

概览

AI 生成的概览

一个本地 MCP 服务器,让助手检测本机出口 IP 是否适合使用 ChatGPT、Claude、Gemini 等 AI 服务。

可以做什么
检测本机当前 IPv4 或 IPv6 出口 IP,并返回其画像,包括位置、ASN 和网络类型(住宅、ISP、数据中心、代理或 Tor)。查询你指定的任意 IPv4 或 IPv6 地址的同类画像。查看风险等级、环境评分和 AI 服务可用性,以及服务商网站上完整报告的链接。结果仅描述网络环境,不代表账号或订阅状态。
适用场景
当你怀疑代理、VPN 或数据中心 IP 导致 AI 服务无法访问,或在把 AI 流量切换到某个出口 IP 前想先比较时使用。
运行要求
通过 npx 在本地运行,需要 Node.js 20.18.1 或更高版本。无需 API 密钥。需要能访问服务商网站。若要检测 AI 流量实际使用的出口 IP,请求必须经过同一代理;服务器会读取 HTTPS_PROXY、HTTP_PROXY 和 NO_PROXY,可在客户端配置中设置。
安装前请注意
服务器会访问服务商网站并发送被检测的 IP,因此服务商能看到你的出口 IP 和你查询的地址。它会读取环境中的代理变量。结果只是网络环境信号,不能当作账号或订阅可用的证明。

安装

在 SourceWeft 中

  1. 打开 控制台中的 IP for AI,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ipforai-mcp

[npm]

MCP server for IP for AI: ask your AI assistant whether your current exit IP works for ChatGPT, Claude, Gemini and other AI services.

为 IP for AI 提供的 MCP 服务:在 Claude、Cursor 等 AI 客户端里直接检测当前出口 IP 能否正常使用 ChatGPT、Claude、Gemini 等 AI 服务。

Tools

ToolInputReturns
check_my_ipnoneProfile of this machine's IPv4 / IPv6 exit
lookup_ipip (IPv4 or IPv6)Profile of the given address

Each profile includes location, ASN, network type (residential / ISP / datacenter / proxy / Tor), access and routing type, risk level, an environment score, AI service availability, and a link to the full report on ipforai.cc.

Results describe the network environment only. They are not account, login or subscription verdicts.

Setup

Requires Node.js 20.18.1 or later. No API key.

Claude Code

bash
claude mcp add ipforai -- npx -y ipforai-mcp

Claude Desktop / Cursor / other clients

json
{  "mcpServers": {    "ipforai": {      "command": "npx",      "args": ["-y", "ipforai-mcp"]    }  }}

Proxy

check_my_ip reports the exit that ipforai.cc sees, so the request has to go through the same proxy your AI traffic uses. The server honors HTTPS_PROXY, HTTP_PROXY and NO_PROXY. TUN / transparent proxy modes need no setup. If your proxy is only set as the system proxy, pass it explicitly:

json
{  "mcpServers": {    "ipforai": {      "command": "npx",      "args": ["-y", "ipforai-mcp"],      "env": { "HTTPS_PROXY": "http://127.0.0.1:7890" }    }  }}

Privacy

The server only calls ipforai.cc (/json and the exit echo endpoints). It reads nothing from your machine besides the proxy environment variables.

License

MIT

来源:mcp/README.md,提交 69111a1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 14, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分