
IPRout MCP Server
from IProut2026
GeoIP and ASN intelligence for AI agents with country, city, timezone, network ownership and ASN lookups.
IPRout MCP Server
GeoIP and ASN intelligence for AI agents using the IPRout API.
This MCP server exposes IPRout lookup tools to MCP-compatible clients such as Claude Desktop and other agent runtimes.
Tools
lookup_ip
Lookup GeoIP and ASN information for a specific IPv4 or IPv6 address.
Input:
{
"ip": "8.8.8.8"
}lookup_caller_ip
Lookup GeoIP and ASN information for the caller IP as detected by IPRout.
Input:
{}Environment
Create a .env file:
IPROUT_API_KEY=your_api_key_here
IPROUT_API_BASE_URL=https://api.iprout.comIPROUT_API_BASE_URL is optional. It defaults to https://api.iprout.com.
Run locally
npm startDevelopment
npm run devClaude Desktop config example
Update your Claude Desktop MCP config:
{
"mcpServers": {
"iprout": {
"command": "node",
"args": [
"/absolute/path/to/iprout-mcp-server/src/index.js"
],
"env": {
"IPROUT_API_KEY": "your_api_key_here",
"IPROUT_API_BASE_URL": "https://api.iprout.com"
}
}
}
}Example prompts
Lookup 8.8.8.8 using IPRout.What country, ASN, and organization owns 1.1.1.1?Lookup my current IP using IPRout.Authentication
The server sends your API key to IPRout using:
X-API-Key: YOUR_API_KEYIPRout Resources
- Website: https://iprout.com
- Documentation: https://iprout.com/docs
- OpenAPI: https://iprout.com/docs/openapi.json
- Postman: https://documenter.getpostman.com/view/55991899/2sBXwtrASm
- Examples: https://github.com/IProut2026/examples
npm installBefore it works, you'll need: IPROUT_API_KEYIPROUT_API_BASE_URL
Requirements
- Node.js 18+
- IPRout API key
Installation
npm installNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
License
MIT