IBGE Localidades MCP for AI. Access Brazil's Definitive Municipal and State Hierarchy
Works with every AI agent you already use
…and any MCP-compatible client








Connect to your AI in seconds.
IBGE Localidades — Cidades do Brasil gives your AI agent direct access to Brazil’s official geographic database. It provides a complete map of all 5,570 municipalities across the 27 states, including the full administrative hierarchy and metropolitan areas, with zero authentication required.
What your AI can do
List estados
Provides a comprehensive list of all 27 states in Brazil and their official codes.
Get municipios por uf
Lists all municipalities belonging to a Brazilian state, given the two-letter UF abbreviation.
Get municipio
Retrieves full details for a specific city using its 7-digit IBGE code.
You can retrieve the full administrative profile for any single city using its official 7-digit IBGE code.
The MCP lists every municipality within a specific Brazilian state, requiring only the two-letter UF abbreviation (like SP or RJ).
You get a complete list of Brazil's 27 states and their corresponding codes.
The agent can provide the names and structures of the five main Brazilian macro-regions (Norte, Nordeste, etc.).
It lists all recognized metropolitan regions for a state, helping you distinguish between general and major urban centers.
Ask an AI about this
Waiting for input…
IBGE Localidades — Cidades do Brasil (5 Tools)
Use these five specific tools to query the full depth of Brazilian geographic data, from macro-regions down to individual municipal codes.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using IBGE Localidades — Cidades do Brasil on VinkiusList Estados
Provides a comprehensive list of all 27 states in Brazil and their official codes.
Get Municipios Por Uf
Lists all municipalities belonging to a Brazilian state, given the two-letter UF...
Get Municipio
Retrieves full details for a specific city using its 7-digit IBGE code.
List Regioes
Returns the five major administrative macro-regions used across Brazil.
List Regioes Metropolitanas
Lists all designated metropolitan areas within a given state.
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with IBGE Localidades — Cidades do Brasil, then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,100+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by IBGE. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This connection provides 5 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.
The Struggle of Brazilian Location Data
Every time you build an agent or run a report that touches location data in Brazil, someone has to manually cross-reference state codes, municipal boundaries, and macro-regions. You’re clicking through spreadsheets, copying UF abbreviations, and constantly running validation checks just to make sure 'São Paulo' means the same thing everywhere—and if you miss one link, your entire workflow breaks down.
With this MCP, that manual headache disappears. You connect directly to the official IBGE database. Your agent handles the complex hierarchy for you, whether it’s listing all 5,570 municipalities or just mapping out a specific metropolitan area. It's accurate data flow, period.
Get Municipal Details with get_municipio
Before this MCP, getting the full profile for one city meant finding an obscure code and manually cross-referencing its mesoregion and microregion. That was a slow, error-prone process that often required multiple API calls or database joins.
Now, you just give your agent the IBGE code. It retrieves the complete, structured data package instantly—all levels of hierarchy included. It’s simple: the input is specific, and the output is definitive.
What your AI can actually do with this
Need location data for Brazil? This MCP connects your agent directly to the authoritative IBGE source—the same data government agencies, fintechs, and logistics firms rely on. Forget guessing city codes or struggling with incomplete regional maps. You can ask about any specific municipality using its 7-digit code, pull lists of all cities within a state (by UF abbreviation), or get a breakdown of the five major macro-regions.
It even handles metropolitan areas like São Paulo and Rio de Janeiro by listing their constituent parts.
This is vital for anyone building agents that need to understand Brazilian geography accurately. If your workflow depends on correct administrative data, connecting through Vinkius and using this MCP means you're working with the definitive source. You just ask your agent about a state or region, and it gives you the full structure—from the macro-region all the way down to the specific city code.
019d75b6-ca9b-715f-bbff-f6deb4df1434 Here's how it actually works
The bottom line is you get structured, official Brazilian geographic intelligence directly into your workflow without needing to manage any keys or endpoints.
Subscribe to this MCP. It's free and instant.
Your agent connects to the service using your Vinkius account credentials; no API keys are needed because IBGE data is open government source material.
You instruct your agent on the required location parameters (e.g., 'Find all municipalities in Minas Gerais') and it executes the necessary calls to structure the data.
Who is this actually for?
Anyone building systems that deal with specific location data in Brazil—think logistics routing, financial record keeping, or CRM address validation. If your job requires knowing if a city is part of a metropolitan area or what its full administrative code is, you need this.
Uses the MCP to validate pickup and drop-off addresses instantly, ensuring the shipment location matches an official municipal boundary.
Runs reports that correlate financial data with precise state or metropolitan region codes for regulatory compliance reporting.
Asks the agent to group potential target markets by macro-region, helping narrow down survey scope across Brazil's different economic zones.
What Changes When You Connect
Stop dealing with vague location data. By using get_municipio, you guarantee your agent has the precise administrative profile for any city via its IBGE code.
Need to scope a market? Use list_regioes to quickly understand which of Brazil's five macro-regions are relevant to your current project.
Don't waste time checking state boundaries manually. With list_estados, you get all 27 UFs and their codes in one go for quick validation checks.
Distinguish between a general city and a major urban cluster. Running list_regioes_metropolitanas identifies the official metro areas within any given state.
The process of finding all cities in a large state is simple. Just call get_municipios_por_uf with the two-letter UF code, and you're done.
See it in action
Validating a complex shipping address
A logistics agent needs to verify if an incoming shipment address is valid. It first uses list_estados to confirm the state code, then gets_municipio using the 7-digit IBGE code to ensure the city and municipality structure is absolutely correct before generating a manifest.
Segmenting market research by zone
A researcher wants to analyze consumer behavior across major economic zones. They call list_regioes, identify the target macro-region (e.g., Sudeste), and then use get_municipios_por_uf on states within that region.
Building a comprehensive CRM lookup tool
A developer builds an address validator. The agent first calls list_estados to populate the main dropdown, and if the user selects 'São Paulo', it then uses get_municipios_por_uf to fill the secondary list accurately.
Mapping all major urban centers
A city planner needs a full list of all metropolitan areas in Minas Gerais. They run list_regioes_metropolitanas, which immediately gives them the official designations and boundaries to work with.
The honest tradeoffs
Guessing region codes
Trying to manually map a city's region using general search terms like 'Northeast Brazil'. This leads to vague, non-standardized data.
Always start by calling list_estados to get the two-letter UF code. Then, if you need all cities, use get_municipios_por_uf. For macro-regions, run list_regioes first.
Missing municipal details
Only getting a state name ('Rio de Janeiro') but not the full administrative code needed for database joining.
You must use get_municipio and provide the specific 7-digit IBGE code to ensure you have all necessary metadata.
Confusing regions
Thinking that listing general regions is enough, when in fact the user needs major urban centers like São Paulo or Belo Horizonte.
When targeting large cities, use list_regioes_metropolitanas to get the specific metropolitan designation rather than just assuming it's a 'region'.
When It Fits, When It Doesn't
Use this MCP if your core problem is reliably mapping or referencing administrative boundaries within Brazil. If you are building anything that requires knowing which state, region, or municipality an address belongs to, this data structure is non-negotiable. Don't use it if your need is for global geo-queries (use a general geospatial tool) or if you only need street addresses (you still require the municipal code). Remember, while list_estados gives you all 27 states, and get_municipios_por_uf lets you drill down to every city, always confirm the required data level. If you need granular detail on a single city, make sure you have its IBGE code for the best results using get_municipio.
Questions you might have
How do I list all cities in Brazil using get_municipios_por_uf? +
You provide the two-letter UF code (like 'BA' for Bahia). The MCP returns a full list of every municipality within that state, making it easy to build out comprehensive regional data sets.
What is the best way to get details on a single city? Should I use get_municipio? +
Yes, using get_municipio is the most precise method. You just need that specific 7-digit IBGE code for the city you're interested in.
Does this MCP handle metropolitan areas? Which tool do I use? +
Yes, list_regioes_metropolitanas is designed for this. It specifically pulls together all the constituent municipalities that make up a major urban center like Belo Horizonte.
I need to know all Brazilian states. Which tool do I call? +
You simply run list_estados. This gives you an immediate, complete roster of all 27 UFs and their necessary codes to start your data queries.
How do I get the list of Brazil's five major macro-regions using `list_regioes`? +
It lists the 5 macro-regions: Norte, Nordeste, Centro-Oeste, Sudeste, and Sul. This provides a high-level view, grouping all smaller states into their correct geographic zone for broader analysis.
What specific format does the code need to be when I call `get_municipio`? +
The IBGE code must be exactly 7 digits long. This unique identifier pinpoints the municipality down to its most granular administrative level, ensuring precise data retrieval.
If I already know the state abbreviation (UF), can I list cities using `get_municipios_por_uf`? +
Yes, you only need the 2-letter UF abbreviation. The tool uses that code to pull every corresponding municipality within that entire Brazilian state.
How do I check which metropolitan areas belong to a specific state using `list_regioes_metropolitanas`? +
You supply the 2-letter UF abbreviation, and it returns all associated metropolitan regions. This helps you map out complex urban clusters that span multiple cities within one major state.
Do I need an API key? +
No! IBGE data is 100% open government data. This server works instantly with zero configuration — just subscribe and start querying Brazilian geography.
We've already built the connector for IBGE Localidades. Just plug in your AI agents and start using Vinkius.
No hosting. No infrastructure. No complex setup.
All 5 tools are live and waiting.
You're up and running in seconds.
Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.
Built, hosted, and secured by Vinkius. You just connect and go.