Skip to main content
Glama

IPInfo MCP Server

get_ip_city

Retrieve the city location for any IP address. When no IP is specified, it returns the city of your current connection. This tool provides quick geolocation data for IP analysis.

Instructions

Get just the city for an IP address.

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

Returns: City name.

Input Schema

NameRequiredDescriptionDefault
ipNo

Input Schema (JSON Schema)

{ "properties": { "ip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Ip" } }, "type": "object" }

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