• DATA
  • ANALYSIS
  • REPORTS
  • HUMAN

How to rank Brazilian cities with your AI

Connect your AI to IBGE data to pull specific metrics for any municipality in Brazil. Once connected, you can ask for sorted lists based on any social or economic indicator.

Ask AI about this page

Short answer

How can I rank Brazilian cities by specific metrics?

You ask your AI to pull rankings from IBGE data using the connector. It will return a sorted list of municipalities based on the indicator you choose. You'll get organized data ready for analysis.

The results you get.

Where your data lands.

Your AI processes the raw IBGE data into these specific formats.

DATA

Sorted municipality lists

The AI pulls specific cities based on your request. You get a clean list ordered by the metric you chose.

ANALYSIS

Comparative snapshots

You can ask for the top or bottom performers. This helps you spot outliers in economic or social trends.

REPORTS

Ready-to-use tables

The AI formats the rankings into tables. You can copy these directly into your own documents or spreadsheets.

HUMAN

Contextual interpretation

The AI provides the numbers, but you decide what the rankings mean for your specific project or strategy.

The workflow

What your AI does when the request arrives.

The AI acts as a bridge between your prompt and the IBGE database.

  1. Identify the metric

    Your AI parses your request to find which specific IBGE indicator you want to use for the ranking.

    get_ranking_indicador
  2. Fetch the data

    The agent calls the tool to pull the latest available values for that indicator across the requested municipalities.

    get_ranking_indicador
  3. Sort the results

    The AI organizes the raw data into the order you asked for, whether it's highest to lowest or vice versa.

    get_ranking_indicador
  4. Format the output

    The AI presents the final list in a readable format like a table or a bulleted list.

    get_ranking_indicador

Try it

Copy these to start.

Use these prompts to trigger the ranking tool immediately.

Starting points

Swap out the bracketed text with the specific indicator or state you want to investigate.

IBGE Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_XVJCujmRVsH7g75ddxCcZdiZfirsFlJdjNgTBRBS/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-pesquisas-brasil-cidades-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_XVJCujmRVsH7g75ddxCcZdiZfirsFlJdjNgTBRBS/mcp"
    }
  }
}
Copy into chat04
  • Rank the top 10 cities in São Paulo by GDP using the IBGE data.

  • Show me a list of municipalities in Minas Gerais sorted by population density.

  • Which cities in the Northeast have the highest literacy rates according to the latest IBGE metrics?

  • Give me a ranked list of the smallest municipalities in Brazil by land area.

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

Start here

Connect IBGE Pesquisas, Brasil Cidades once, then ask.

Click the link to connect the MCP to your preferred client. Your credentials stay encrypted, and you can start asking questions right away.

Connect IBGE Pesquisas, Brasil Cidades to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change the actual IBGE data?

    No. The AI can only read and sort the data provided by the IBGE through the connector.

  • 02

    Can I ask for rankings that aren't in the IBGE database?

    No. The AI is limited to the indicators and metrics available through the get_ranking_indicador tool.

  • 03

    Does the AI decide which cities are 'best'?

    No. The AI only sorts based on the mathematical metric you provide. You must decide the qualitative meaning of the ranking.

  • 04

    Can I export these lists to Excel?

    The AI can format the data as a table that you can copy and paste into Excel, but it cannot write files directly to your hard drive.

  • 05

    How recent is the data?

    The AI pulls the most recent data available through the IBGE connector tools.

  • More questions about IBGE Pesquisas, Brasil Cidades? The Connector page answers them. See everything the IBGE Pesquisas, Brasil Cidades Connector can do

Connect IBGE to Claude, Cursor, ChatGPT & more