Skip to main content
Glama
Brazil IBGE Geospatial Census MCP

Brazil IBGE Geospatial Census MCP

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

Related MCP server: IBGE Brasil MCP

Available tools

Tool

Purpose

list_brazil_ibge_states

List all 27 Brazilian federal states (UF) with IBGE codes and macro-region assignments

list_brazil_state_municipalities

Search official IBGE municipalities within a Brazilian state by UF or 2-digit IBGE code

get_brazil_municipality_detail

Retrieve full IBGE microregion, mesoregion, and immediate/intermediate region hierarchy for a municipality

list_brazil_ibge_regions

List Brazil five official IBGE macro-regions with their member state UF codes

list_brazil_ibge_mesoregions

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 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.

Available Tools

5 tools
get_brazil_municipality_detailGet IBGE municipality hierarchyA
Read-onlyIdempotent
Inspect

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 mesoregionsA
Read-onlyIdempotent
Inspect

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-regionsA
Read-onlyIdempotent
Inspect

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 statesA
Read-onlyIdempotent
Inspect

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 stateB
Read-onlyIdempotent
Inspect

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

    A3.6/5.0

    Scored across 5 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Query 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.
      6
      7
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      3
      MIT