lookup_municipality

Pack: ibge-br · Endpoint: https://gateway.pipeworx.io/ibge-br/mcp

Look up a single municipality by its 7-digit IBGE code, returning full hierarchy (micro/mesoregion, state, region). e.g. code=“3550308” → São Paulo (capital).

Parameters

NameTypeRequiredDescription
codestringyes7-digit IBGE municipality code, e.g. “3550308” (São Paulo) or “3304557” (Rio de Janeiro).

Example call

curl -X POST https://gateway.pipeworx.io/ibge-br/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lookup_municipality","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "ibge-br": {
      "url": "https://gateway.pipeworx.io/ibge-br/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 29, 2026