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: The Aleph 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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description must fully disclose behavior. It only mentions output type (GeoIP, ASN) but omits error handling, response format, or any side effects. For a zero-parameter tool, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence with no wasted words. Could include more context, but meets conciseness standard.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description is minimal. It does not explain the output structure beyond 'GeoIP and ASN'. For a simple tool, it is adequate but could be improved with example output or data source mention.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist; schema coverage is 100%. Description adds no parameter details but is not needed. Baseline is high.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it looks up GeoIP and ASN for the caller IP as detected by IPRout. It distinguishes from the sibling tool 'lookup_ip' by specifying 'caller IP', implying this is for the current session's IP.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus the sibling 'lookup_ip'. Does not specify if this tool is for the current caller's IP only or if it can be used for other purposes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

lookup_ipA

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

ParametersJSON Schema
NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address to look up, for example 8.8.8.8

TDQS

A4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully disclose behavioral traits. It only states the basic function (lookup GeoIP and ASN) without mentioning any side effects, rate limits, data freshness, or that it may rely on external network calls. This is insufficient for a tool with no annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that immediately conveys the tool's action and scope. No filler or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity of the tool (single parameter, no output schema), the description covers the essential aspects: what the tool does, what input it requires, and the type of information it returns. It does not describe the return structure, but that is partially implied by 'GeoIP and ASN information'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers the parameter 'ip' with 100% description coverage, including an example. The description adds meaning by specifying 'GeoIP and ASN information', which is not in the schema, and reinforces the type of IP addresses accepted (IPv4 and IPv6).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Lookup' and the resources 'GeoIP and ASN information for a specific IPv4 or IPv6 address'. It distinguishes from the sibling tool 'lookup_caller_ip' by indicating it works for any specified IP address, not just the caller's.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage: to get GeoIP and ASN for any IP. The sibling name 'lookup_caller_ip' provides context for when not to use this tool (i.e., for looking up the caller's own IP). However, no explicit when-not or alternative conditions are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 2 tool updatesv1.0.0
    • First observedlookup_caller_ip
    • First observedlookup_ip

TDQS

A3.9/5.0
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

ActivityStale
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables IP address intelligence lookup including geolocation, network information, privacy detection (VPN/proxy/Tor), company data, and abuse contacts using IPLocate.io API. Supports both IPv4 and IPv6 addresses with comprehensive analysis tools and security assessment capabilities.
    107
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Provides LLMs with network intelligence capabilities including PTR record lookups, ASN analysis, traceroute enrichment, and real-time network monitoring through The Aleph API.
    13
    17
    MIT
  • 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.
    14
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IProut2026/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server