Skip to main content
Glama

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:

{}

Related MCP server: geolocation-mcp

Requirements

  • Node.js 18+

  • IPRout API key

Installation

npm install

Environment

Create a .env file:

IPROUT_API_KEY=your_api_key_here
IPROUT_API_BASE_URL=https://api.iprout.com

IPROUT_API_BASE_URL is optional. It defaults to https://api.iprout.com.

Run locally

npm start

Development

npm run dev

Claude 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_KEY

IPRout Resources

License

MIT

Available Tools

2 tools
lookup_caller_ipB

Lookup GeoIP and ASN information for the caller IP as detected by IPRout.

Inputs: no named parameters.

lookup_ipA

Lookup GeoIP and ASN information for a specific IPv4 or IPv6 address.

Inputs: ip (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one looks up the caller's own IP automatically, the other looks up a user-specified IP. There is no overlap in functionality.

    Naming Consistency5/5

    Both tools use a consistent verb_noun pattern (lookup_caller_ip, lookup_ip) with snake_case, making the naming predictable and clear.

    Tool Count3/5

    With only two tools, the server feels minimal. While it covers the essential operations for IP geolocation, the count is on the lower end of acceptable for a domain that could include additional lookups (e.g., bulk, range).

    Completeness5/5

    The tool set provides complete coverage for its stated domain: retrieving GeoIP and ASN information for both the caller and a specified IP. No obvious gaps exist.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides IP geolocation data via ipinfo.io, enabling querying IP addresses for location, ISP, and other details through natural language.
      144 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to perform IP geolocation, proxy detection, and domain WHOIS lookups using IP2Location.io and IP2WHOIS data.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to query IP intelligence tools such as geolocation, VPN/security checks, ASN, timezone, astronomy, user-agent parsing, abuse contacts, and bulk lookups via natural language.
      18 npm
      MIT