Home / Servers / Public Knowledge / geocode

Geocode

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

Find the coordinates, country, region, timezone, population and elevation of a city, town or landmark by name (Open-Meteo geocoding, worldwide). Returns several candidates when the name is ambiguous.

Name on the gateway: knowledge__geocode · read-only.

Parameters

NameTypeDescription
place requiredstringPlace name, e.g. "Pune" or "Springfield, Illinois".
limitintegerCandidates (default 5, max 20).
languagestringLanguage for names, e.g. "en", "hi". Default "en".

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__geocode",
  "arguments": {
    "place": "…"
  }
}

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 geocode tool with place set to ….

More from Public Knowledge