Brazil IBGE Geospatial Census MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Brazil IBGE Geospatial Census MCP list all municipalities in São Paulo state"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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/mcpRelated MCP server: IBGE Brasil MCP
Available tools
Tool | Purpose |
| List all 27 Brazilian federal states (UF) with IBGE codes and macro-region assignments |
| Search official IBGE municipalities within a Brazilian state by UF or 2-digit IBGE code |
| Retrieve full IBGE microregion, mesoregion, and immediate/intermediate region hierarchy for a municipality |
| List Brazil five official IBGE macro-regions with their member state UF codes |
| List 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 startCompliance 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.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsget_brazil_municipality_detailGet IBGE municipality hierarchyARead-onlyIdempotentInspect
Fetch full IBGE geographic hierarchy (microregion, mesoregion, state UF, immediate and intermediate regions) for a 7-digit IBGE municipality code.
Inputs: ibge_id (required).
list_brazil_ibge_mesoregionsList Brazilian IBGE mesoregionsARead-onlyIdempotentInspect
List official Brazilian IBGE geographic mesoregions nationwide or scoped to a single state UF.
Inputs: limit, state_uf.
list_brazil_ibge_regionsList Brazilian IBGE macro-regionsARead-onlyIdempotentInspect
List Brazil five official IBGE macro-regions (Norte, Nordeste, Sudeste, Sul, Centro-Oeste) along with their member state UF lists.
Inputs: no named parameters.
list_brazil_ibge_statesList Brazilian IBGE statesARead-onlyIdempotentInspect
List all 27 Brazilian federal states (UF) from the official IBGE Localidades API, optionally filtered by macro-region abbreviation.
Inputs: region_abbr.
list_brazil_state_municipalitiesList Brazilian municipalities by stateBRead-onlyIdempotentInspect
List and search official IBGE municipalities for a Brazilian state by 2-letter UF (e.g. "SP", "RJ") or 2-digit IBGE state code.
Inputs: state_uf (required), limit, query.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct IBGE geography level or action, and list_brazil_state_municipalities versus get_brazil_municipality_detail is clearly separated by verb and input type. There is minor conceptual overlap between macro-regions and mesoregions, but the descriptions make the distinction clear.
All names follow a verb_noun pattern with Brazil/IBGE prefixes, and the list_ versus get_ distinction is meaningful. One tool drops the ibge token (list_brazil_state_municipalities), so the pattern is not perfectly uniform.
Five tools map cleanly to the main reference levels: macro-regions, states, municipalities, municipality detail, and mesoregions. The set is focused and none of the tools appears redundant.
The core IBGE hierarchy is covered, but there is no standalone listing for microregions, immediate regions, or intermediate regions, and nationwide municipality lookup by name is not supported. Despite the 'Census' and 'Geospatial' naming, no census variables or spatial geometry operations are exposed.
Maintenance
Related MCP Connectors
The whole IBGE, one smart connection: every public IBGE API (Brazil's official statistics agency), searchable and validated through Kyrodata. 14 read-only tools: search and describe SIDRA tables (about 9,300), read their values with the query validated first, find official IBGE codes for places (all 5,571 municipalities), territorial boundaries (GeoJSON), IBGE Cidades municipality indicators, country indicators, CNAE activity codes, Census first-name statistics, the release calendar, survey metadata, the publications catalogue, the IBGE News Agency and geodetic services. Every answer carries a citation line and the source link. Labels stay in Portuguese as IBGE publishes them. This is a second, separate server on the Kyrodata platform, next to the main Kyrodata MCP (Brazilian trade, crops, climate and commodity forecasts at mcp.kyrodata.com/mcp), the Atlas and the Analyst. Same API key and credits. Unofficial: not affiliated with or endorsed by IBGE. IBGE open data, used with attribution.
IBGE: Código de Município, official-source lookup. Platform-hosted, pay per query with prepaid credi
IBGE: Área territorial brasileira, official-source lookup. Platform-hosted, pay per query with prepa
Brazil CNPJ, CEP, Selic/IPCA/PTAX, holidays, banks/ISPB for agents. Pay per call in USDC (x402).
Related MCP Servers
- FlicenseBqualityDmaintenanceQuery a variety of data from Brasil resources seamlessly. Access information on postal codes, area codes, banks, holidays, taxes, and more through a unified interface. Enhance your AI agents and applications with rich and updated data from BrasilAPI effortlessly.67-
- AlicenseAqualityBmaintenanceThis server provides access to IBGE's public APIs, enabling AI assistants to query geographic, demographic, and statistical data from Brazil.23317 npm15MIT
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Brazilian municipality codes from IBGE, an official government source, via MCP. Works with any MCP-compatible client to query municipality data using natural language.MIT
- AlicenseAqualityBmaintenanceEnables querying official Brazilian territorial data (IBGE), including municipalities, regions, population, and GDP, while automatically handling cross-dataset code mismatches like 6- vs 7-digit municipality codes.3MIT