Repository avatar
Other Tools
v1.0.1
active

brazil-ibge-geospatial-census-mcp

io.github.theluckystrike/brazil-ibge-geospatial-census-mcp

Official Brazilian IBGE states, 5,570 municipalities, mesoregions, and geographic census divisions.

Documentation

brazil-ibge-geospatial-census-mcp

Official Brazilian geospatial and census division server over Model Context Protocol (MCP) powered by the IBGE Localidades API. Supply-chain teams, regional economists, and LatAm GIS analysts can inspect all 27 states, 5,570 municipalities, mesoregions, and macro-regions with zero API keys and zero sign-up. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://brazil-ibge-geospatial-census-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
list_brazil_ibge_statesList all 27 Brazilian federal states (UF) with IBGE codes and macro-region assignments
list_brazil_state_municipalitiesSearch official IBGE municipalities within a Brazilian state by UF or 2-digit IBGE code
get_brazil_municipality_detailRetrieve full IBGE microregion, mesoregion, and immediate/intermediate region hierarchy for a municipality
list_brazil_ibge_regionsList Brazil five official IBGE macro-regions with their member state UF codes
list_brazil_ibge_mesoregionsList official Brazilian IBGE mesoregions nationwide or filtered by state UF

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "brazil-ibge-geospatial-census": {
      "url": "https://brazil-ibge-geospatial-census-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries servicodados.ibge.gov.br/api/v1/localidades/ with a polite User-Agent header (mcpstamp-brazil-ibge-geospatial-census/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.