Skip to main content
Glama

IPInfo MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IPINFO_API_TOKENYesYour IPInfo API token

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_ip_info

Get comprehensive information about an IP address.

Args: ip: IP address to lookup. If None, returns info about current IP. ctx: MCP context

Returns: Complete IP information including location, ASN, company, privacy, etc.

get_account_info

Get IPInfo account information and API limits.

Returns: Account information including API limits and available features.

batch_lookup

Batch lookup multiple IP addresses.

Args: ips: List of IP addresses to lookup (can include field paths like "8.8.8.8/city")

Returns: Dictionary with IP information for each address.

summarize_ips

Summarize a list of IP addresses with statistics and insights.

Args: ips: List of IP addresses to summarize (up to 500,000)

Returns: Summary report with statistics and map URL.

map_ips

Create a visual map of IP address locations.

Args: ips: List of IP addresses to map (up to 500,000)

Returns: Map report with visualization URL.

get_asn_info

Get information about an Autonomous System Number (ASN).

Args: asn: The ASN number (without 'AS' prefix)

Returns: ASN information including prefixes, peers, and network details.

get_company_info

Get company information for an IP address.

Args: ip: IP address to lookup

Returns: Company name, domain, and type.

get_carrier_info

Get mobile carrier information for an IP address.

Args: ip: IP address to lookup

Returns: Mobile carrier details including MCC and MNC codes.

get_privacy_info

Detect privacy services (VPN, proxy, Tor, etc.) for an IP address.

Args: ip: IP address to check

Returns: Privacy detection results including VPN, proxy, Tor, relay, and hosting status.

get_hosted_domains

Get domains hosted on an IP address.

Args: ip: IP address to lookup page: Page number (starts at 0) limit: Number of results per page (max 1000, default 100)

Returns: List of domains hosted on the IP address.

get_ip_ranges

Get IP ranges owned by a domain/organization.

Args: domain: Domain name to lookup

Returns: IP ranges information including IPv4 and IPv6 blocks.

get_abuse_contact

Get abuse contact information for an IP address.

Args: ip: IP address to lookup

Returns: Abuse contact details including email, phone, and address.

whois_lookup_by_ip

WHOIS lookup by IP address or IP range.

Args: ip: IP address or range to lookup page: Page number for paginated results source: Filter by WHOIS source (arin, ripe, afrinic, apnic, lacnic)

Returns: WHOIS records for the IP or range.

whois_lookup_by_domain

WHOIS lookup by organization domain.

Args: domain: Domain name to lookup page: Page number for paginated results source: Filter by WHOIS source (arin, ripe, afrinic, apnic, lacnic)

Returns: WHOIS records for the domain.

whois_lookup_by_asn

WHOIS lookup by ASN.

Args: asn: ASN number to lookup page: Page number for paginated results source: Filter by WHOIS source (arin, ripe, afrinic, apnic, lacnic)

Returns: WHOIS records for the ASN.

get_ip_city

Get just the city for an IP address.

Args: ip: IP address to lookup. If None, returns current city.

Returns: City name.

get_ip_country

Get just the country code for an IP address.

Args: ip: IP address to lookup. If None, returns current country.

Returns: Two-letter country code (ISO-3166).

get_ip_region

Get just the region/state for an IP address.

Args: ip: IP address to lookup. If None, returns current region.

Returns: Region or state name.

get_ip_location

Get just the coordinates for an IP address.

Args: ip: IP address to lookup. If None, returns current location.

Returns: Latitude,longitude coordinates.

get_ip_postal

Get just the postal code for an IP address.

Args: ip: IP address to lookup. If None, returns current postal code.

Returns: Postal or ZIP code.

get_ip_timezone

Get just the timezone for an IP address.

Args: ip: IP address to lookup. If None, returns current timezone.

Returns: IANA timezone string.

get_ip_hostname

Get just the hostname for an IP address.

Args: ip: IP address to lookup. If None, returns current hostname.

Returns: Hostname.

get_ip_org

Get just the organization/ASN for an IP address.

Args: ip: IP address to lookup. If None, returns current organization.

Returns: ASN and organization name.

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/NimbleBrainInc/mcp-ipinfo'

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