Home / Servers / Public Knowledge / ip_geolocation

Ip geolocation

An MCP tool from the Public Knowledge server, hosted on mcp.hjlabs.in.

Approximate location of a public IP address (ipapi.co): city, region, country, coordinates, timezone, ASN and organisation. Accuracy is city-level at best. The free source allows about 1,000 lookups a day, so this is limited to 10 fresh lookups a minute and cached for a day.

Name on the gateway: knowledge__ip_geolocation · read-only.

Parameters

NameTypeDescription
ip requiredstringPublic IPv4 or IPv6 address.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "knowledge__ip_geolocation",
  "arguments": {
    "ip": "…"
  }
}

Or connect the Public Knowledge server directly, which lists 47 tools including this one:

Run in your terminal
claude mcp add --transport http hj-knowledge https://mcp.hjlabs.in/mcp/knowledge \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the ip geolocation tool with ip set to ….

More from Public Knowledge