Skip to main content
Glama

IP2Location IP Geolocation MCP Server

Official

get_geolocation

Retrieve detailed geolocation data for any IP address, including country, city, latitude, longitude, ASN, ISP, proxy details, and more, using JSON output.

Instructions

Fetch geolocation for the given IP address.

It helps users to retrieve detailed information such as country, region, city, latitude, longitude, ZIP code, time zone, ASN, and proxy information for any IPv4 or IPv6 address

Args: ip: The IP address to analyze (IPv4 or IPv6).

Returns: A JSON string result includes:

Location & Geography: Country, region, district, city, ZIP code, latitude & longitude, time zone. Network & Connectivity ASN (Autonomous System Number), ISP (Internet Service Provider), domain, net speed, IDD code, area code, address type, usage type. Mobile Information MNC (Mobile Network Code), MCC (Mobile Country Code), Mobile Brand. Currency & Language currency code, currency name, currency symbol, language code, language name. Proxy & Security proxy type, last seen, threat level/type, proxy provider, fraud score. Others IAB category, weather, elevation, population and more. Note that some information may only available in paid plan. Learn more on this in https://www.ip2location.io/pricing.

Input Schema

NameRequiredDescriptionDefault
ipYes

Input Schema (JSON Schema)

{ "properties": { "ip": { "title": "Ip", "type": "string" } }, "required": [ "ip" ], "title": "get_geolocationArguments", "type": "object" }
Install Server

Other Tools from IP2Location IP Geolocation MCP Server

Related Tools

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/ip2location/mcp-ip2location-io'

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