About IP for AI
IP for AI is an MCP server for checking whether a network exit can reach services such as ChatGPT, Claude, and Gemini. It reports network characteristics and service availability for the current exit or a supplied IP, not account or subscription status.
Key features
- 01Check the current IPv4 and IPv6 exit
- 02Look up a supplied IP address
- 03View ASN and network type
- 04Review risk and environment score
- 05Check AI service availability
Use cases
- 01Check whether a current proxy exit can reach AI services
- 02Inspect the network profile of a particular IP
MCP support
The server provides `check_my_ip` and `lookup_ip` tools to MCP clients. Results include network details, AI service availability, and a link to the full report.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
2Saved tool list · updated 2w ago
This tool takes no parameters.
Details
From the project READMEipforai-mcp
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
| Tool | Input | Returns |
|---|---|---|
check_my_ip | none | Profile of this machine's IPv4 / IPv6 exit |
lookup_ip | ip (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
claude mcp add ipforai -- npx -y ipforai-mcp
Claude Desktop / Cursor / other clients
{
"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:
{
"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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.