• DATA
  • GEOGRAPHY
  • ANALYSIS
  • HUMAN

How to analyze Brazilian demographic data with your AI

Connect your AI to IBGE SIDRA to query census variables across different geographic levels. Once connected, your agent handles the data extraction and filtering for you.

Ask AI about this page

Short answer

How can I pull IBGE census data into my AI?

Your AI uses this MCP to browse available census aggregates and pull specific data points like age or education levels. You get filtered datasets ready for analysis without manual SIDRA exports. Here is the breakdown of how it works.

Data outcomes

What you get from your queries

The AI handles the heavy lifting of navigating the SIDRA database.

DATA

Targeted variable extraction

The AI finds specific demographic indicators like sex, age, or income. You get the exact numbers you need for your specific research question.

GEOGRAPHY

Multi-level filtering

Query data at the national, state, or municipal level. Your agent handles the geographic scoping automatically.

ANALYSIS

Instant data processing

Once the data is pulled, your AI client can immediately run comparisons or trend analysis. You skip the CSV export and import loop.

HUMAN

Manual validation required

You must review the final statistical outputs. The AI pulls the raw numbers, but you decide if the interpretation fits your specific project needs.

The workflow

What your AI does when the data arrives.

The AI moves from browsing the database to delivering specific datasets.

  1. Browse available aggregates

    The AI scans the SIDRA database to find relevant census tables and data groupings that match your request.

    list_agregados
  2. Check variable details

    It looks up the specific metadata for a chosen variable to ensure the codes for age, sex, or education are correct.

    get_agregado_metadados
  3. Fetch the numbers

    The AI pulls the actual census values based on the filters you provided.

    get_agregado_data
  4. Format for analysis

    The agent organizes the raw data into a clean structure that your AI client can read and interpret.

    get_agregado_data

Try it

Copy these to start.

Use these prompts to begin your census research.

Starting points

Swap out the bracketed terms for the specific Brazilian state or demographic variable you want to study.

IBGE Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_PThf2O06TMG1DUj0j0i74xevElsGQ3fMYjZONTPJ/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — IBGE capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "ibge-censo-sidra-dados-censitarios-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_PThf2O06TMG1DUj0j0i74xevElsGQ3fMYjZONTPJ/mcp"
    }
  }
}
Copy into chat04
  • List the available census aggregates for education levels in Brazil.

  • Get the demographic data for the population of São Paulo by age group.

  • Find the metadata for the sex and age variables in the latest census.

  • Pull the most recent census data for municipal income levels in Minas Gerais.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect IBGE Censo & SIDRA, Dados Censitários once, then ask.

One connection gives your AI access to the entire SIDRA database. Your credentials stay encrypted and secure.

Connect IBGE Censo & SIDRA, Dados Censitários to your AI

FAQ

How the census task behaves

  • 01

    Can the AI change the data in the IBGE database?

    No. The AI can only read and pull data from SIDRA. It has no permission to modify or delete any official census records.

  • 02

    Can I ask for data from a specific city?

    Yes. As long as the data is available in the SIDRA aggregates, the AI can filter by municipality or other geographic levels.

  • 03

    Does the AI handle the data cleaning?

    The AI pulls the data as it exists in the database. While it can format the data for your chat, you are responsible for final statistical validation.

  • 04

    Can the AI download a CSV file for me?

    No. The AI retrieves the data into your chat interface. You can then ask it to format that data into a table that you can copy into your own tools.

  • 05

    Can I use this to get real-time population updates?

    The AI is limited to the data available in the IBGE SIDRA system. It can only provide the most recent census or survey data that has been officially published.

  • More questions about IBGE Censo & SIDRA, Dados Censitários? The Connector page answers them. See everything the IBGE Censo & SIDRA, Dados Censitários Connector can do

Connect IBGE to Claude, Cursor, ChatGPT & more