Skip to main content
Glama
duksh

PeerGlass

by duksh

peerglass_geo_lookup

Read-onlyIdempotent

Determine geographic location from IP addresses to identify city, region, country, coordinates, and timezone data using MaxMind GeoLite2 databases.

Instructions

Look up the geographic location of an IP address using MaxMind GeoLite2.

Returns city, region, country, coordinates, and timezone when available. Requires the PEERGLASS_GEOIP_DB environment variable pointing to a GeoLite2-City.mmdb file (free download from maxmind.com with account).

Args: params (GeoLookupInput): - ip (str): IPv4 or IPv6 address - response_format (str): 'markdown' (default) or 'json'

Returns: str: City, region, country, coordinates, timezone, EU membership.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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/duksh/peerglass'

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