Skip to main content
Glama
ipinfo

IPinfo MCP Server

Official
by ipinfo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IPINFO_HOSTNoHTTP host (only for http transport)0.0.0.0
IPINFO_PORTNoHTTP port (only for http transport)8000
IPINFO_TOKENYesAPI token. Get a free token at https://ipinfo.io/signup
IPINFO_CACHE_TTLNoSeconds a cached IP result stays fresh3600
IPINFO_TRANSPORTNoTransport type ('stdio' or 'http')stdio
IPINFO_API_BASE_URLNoBase URL for api.ipinfo.io endpointshttps://api.ipinfo.io
IPINFO_LEGACY_BASE_URLNoBase URL for legacy ipinfo.io endpoints (e.g. /me)https://ipinfo.io

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ipinfo_lookupA

Look up geolocation, network, and metadata for one or more IP addresses.

By default queries the IPinfo Lite endpoint, which returns country, continent, and ASN info. Set detailed=True to query the full lookup endpoint, which adds city-level geolocation, privacy flags (VPN, proxy, Tor, hosting, anycast), and richer AS data.

Results are paginated. Use page and page_size to control which slice is returned.

If the API reports an error for specific IPs, those IPs are listed in errors with the reason and left out of results.

Results are cached in memory for the session, so repeat lookups of the same IP are served from cache without consuming API quota. You do not need to maintain your own cache or deduplicate IPs before calling this tool. The _meta field reports api_calls_made and from_cache counts.

ipinfo_check_privacyA

Check whether IP addresses are using privacy or anonymity services.

Returns privacy flags for each IP: whether it is anonymous, using a VPN, proxy, relay, or Tor, and whether it is an anycast, hosting, mobile, or satellite address.

Requires a paid API token. Results are paginated.

If the API reports an error for specific IPs, those IPs are listed in errors with the reason and left out of results. Do not treat a missing result as "no privacy services detected": check errors.

Results are cached in memory for the session, so repeat checks of the same IP are served from cache without consuming API quota. You do not need to maintain your own cache or deduplicate IPs before calling this tool. The _meta field reports api_calls_made and from_cache counts.

ipinfo_check_residential_proxyA

Check whether IP addresses are known residential proxies.

Returns whether each IP is a residential proxy and, if so, the proxy service name, the date it was last seen, and the percentage of days the IP was observed as a proxy.

Requires a paid API token with residential proxy access. Results are paginated.

If the API reports an error for specific IPs, those IPs are listed in errors with the reason and left out of results. Do not treat a missing result as "not a residential proxy": check errors.

Results are cached in memory for the session, so repeat checks of the same IP are served from cache without consuming API quota. You do not need to maintain your own cache or deduplicate IPs before calling this tool. The _meta field reports api_calls_made and from_cache counts.

ipinfo_geolocateA

Get geographic location data for one or more IP addresses.

By default queries the IPinfo Lite endpoint, which returns country and continent. Set detailed=True to query the full lookup endpoint, which adds city, region, coordinates, timezone, and postal code.

Results are paginated.

If the API reports an error for specific IPs, those IPs are listed in errors with the reason and left out of results.

Results are cached in memory for the session, so repeat lookups of the same IP are served from cache without consuming API quota. You do not need to maintain your own cache or deduplicate IPs before calling this tool. The _meta field reports api_calls_made and from_cache counts.

ipinfo_asnA

Get autonomous system (network ownership) information for IP addresses.

By default queries the IPinfo Lite endpoint, which returns ASN, name, and domain. Set detailed=True to query the full lookup endpoint, which also includes the network type (e.g. isp, hosting, business, education).

Results are paginated.

If the API reports an error for specific IPs, those IPs are listed in errors with the reason and left out of results.

Results are cached in memory for the session, so repeat lookups of the same IP are served from cache without consuming API quota. You do not need to maintain your own cache or deduplicate IPs before calling this tool. The _meta field reports api_calls_made and from_cache counts.

ipinfo_quotaA

Check your IPinfo API usage and remaining quota.

Returns daily and monthly request counts, the plan limit, and how many requests remain.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation3/5

The general ipinfo_lookup tool can return geolocation, ASN, and privacy flags (in detailed mode), overlapping with ipinfo_geolocate, ipinfo_asn, and ipinfo_check_privacy. Descriptions help clarify intended use, but an agent may still wonder when to use specialized tools versus the general lookup.

Naming Consistency4/5

All tools use the ipinfo_ prefix and snake_case, but suffixes mix verbs (lookup, geolocate) and nouns (asn, quota), and the check_* tools are more verbose. The pattern is mostly consistent with minor deviations.

Tool Count5/5

Six tools is well-scoped for IP intelligence: one general lookup, three specialized lookups (geolocation, ASN, privacy), a residential proxy check, and a quota check. Each targets a distinct API endpoint without excessive granularity.

Completeness4/5

Core IP intelligence is covered: geolocation, ASN, privacy, residential proxy, quota, and a general lookup. Some IPinfo API features like IP ranges or hosted domains are missing, but these are minor gaps agents can work around.

Maintenance

ActivityActive
ResponsivenessNo issues