# Minas Gerais (Estado) MCP for AI Agents AI Agent Connect

> Minas Gerais (Estado) MCP gives your AI client direct access to the official Open Data Portal of the State of Minas Gerais, Brazil. It lets you query public datasets, explore government organizations, and pull metadata for specific files in health, education, and finance. It's built for anyone who needs to navigate Brazilian state transparency records without manual searching.

## Overview
- **Category:** data-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_AEiVZYrgo5g4lNwMahCCHbC0vm4dwkLsGbJLYD2q/ai-agent-connect
- **Tags:** open-data, transparency, public-records, dataset-discovery, metadata-query, brazil-public-data

## Description

Imagine you're trying to find specific health statistics or education funding records from the Minas Gerais government. Usually, this means digging through a complex web of categories, clicking through multiple pages, and trying to figure out which department owns which file. This Connector changes that by letting your AI client do the heavy lifting for you. Instead of manually browsing the portal, you can just ask your agent to find all datasets related to a specific theme or look for the official records of a particular state agency. It pulls the raw metadata, identifies the right file formats like CSV or PDF, and organizes the information so you can actually use it. It's a huge time-saver for anyone who needs to stay on top of Brazilian public records. You can find this and thousands of other tools in the Vinkius catalog to help connect your agent to the data that matters most to your work. This connection lets you move from manual searching to direct querying, making it much easier to build reports or feed data into your own applications without the usual friction of navigating a government website.

## Tools

### get_organization
Retrieves details and specific datasets for a single government organization. This helps you find the exact data owned by a specific department.

### list_packages
Lists all dataset names currently available in the Minas Gerais portal. It gives you a high-level view of all available public data.

### search_packages
Searches for datasets based on specific criteria or keywords. Use this to find specific records without browsing every category.

### get_package
Pulls the full metadata for a specific dataset you want to explore. This provides the technical details needed for data analysis.

### search_resources
Searches for specific files within the portal matching a query. It helps you find the actual files you need to download.

### get_resource
Gets the metadata for a specific file, such as a CSV or PDF. This confirms the file type and content before you try to use it.

### list_groups
Lists all thematic categories available in the state portal. It helps you understand how the government organizes its data.

### get_group
Provides specific details and associated datasets for a chosen category. This is useful for seeing what data exists within a specific theme.

### list_organizations
Shows all government departments and entities listed in the portal. Use this to identify which agency is responsible for specific records.

### list_tags
Lists all the tags used to categorize data across the portal. This helps you understand the metadata structure of the entire system.

## Prompt Examples

**Prompt:** 
```
Find all datasets related to education in Minas Gerais.
```

**Response:** 
```
I found several education datasets. Here are the main ones:

| Dataset Name | Organization | Tags |
| :--- | :--- | :--- |
| Indicadores da Educação Básica | SEPLAG | Educação, Dados |
| Matrículas na Rede Estadual | SEPLAG | Educação, Matrícula |

Would you like to see the metadata for any of these?
```

**Prompt:** 
```
Which government organization handles health data?
```

**Response:** 
```
The **Secretaria de Estado de Saúde** is the primary organization for health records. I can pull their specific datasets for you if you'd like.
```

**Prompt:** 
```
Are there any CSV files available for state budget execution?
```

**Response:** 
```
Yes, I found several resources related to budget execution. The **Planejamento e Monitoramento** package contains 12 resources, including multiple CSV files. Would you like me to pull the metadata for those?
```

## Capabilities

### Search for specific public datasets
Your agent can find datasets based on keywords like health or education.

### Browse government department structures
Identify which state organizations own specific data records.

### Identify specific file types
Check if a dataset contains CSVs, PDFs, or other specific file formats.

### Filter records by thematic categories
Narrow down results using the state's official data tags and groups.

### Get detailed metadata for individual records
Pull the full technical details and resource counts for any specific package.

## Use Cases

### Finding specific education spending
A journalist asks the agent to search_packages for 'educação' and then uses get_group to find the relevant department.

### Locating health data files
A researcher asks the agent to search_resources for 'saúde' and use get_resource to see if there are downloadable CSVs.

### Mapping state government departments
A developer uses list_organizations to map out the state's departments and get_package to pull the correct data points.

### Filtering environmental records
An analyst uses list_tags to see how the state categorizes environmental records and then uses search_packages to filter them.

## Benefits

- Skip manual browsing by using search_packages to find specific records instantly.
- Understand government structures faster by using list_organizations to see who owns what data.
- Identify the right files for your analysis using get_resource to check for CSV or PDF availability.
- Organize your research by using list_groups to see how the state categorizes its public records.
- Save hours of research time by using get_package to pull full metadata for multiple datasets at once.

## How It Works

The bottom line is you get direct, programmatic access to Brazilian state transparency data without the manual clicking.

1. Connect your preferred AI client to the Minas Gerais (Estado) MCP through the Vinkius platform.
2. Optional: Enter your Minas Gerais Portal API Key to increase your request limits.
3. Ask your agent to find, filter, or describe specific state datasets from the portal.

## Frequently Asked Questions

**What is the Minas Gerais (Estado) MCP for?**
This Connector gives your AI agent direct access to the official Open Data Portal of the State of Minas Gerais, Brazil. It allows you to find datasets, organizations, and files for research or analysis.

**Can I use this to find Brazilian state data?**
Yes, but specifically for the state of Minas Gerais. It connects to their official transparency portal to pull records on health, education, finance, and more.

**Does the Minas Gerais (Estado) MCP work for journalists?**
It's a great tool for journalists who need to automate the discovery of government transparency data. You can quickly find which departments own specific records without manual searching.

**How do I find specific files like CSVs?**
Your agent can search for specific resources and pull their metadata. This lets you see exactly what file types are available before you try to use them.

**Can I use this for research on education?**
Yes, you can query all available education datasets, find the relevant government organizations, and pull the metadata for specific records to use in your research.

**What kind of datasets are in the Minas Gerais (Estado) portal?**
The portal contains a wide range of public data including information on education, health, finance, and various other state-level records categorized by thematic groups.

**How can I find datasets related to a specific topic like 'health'?**
You can use the `search_packages` tool with the query 'saude' or use `get_group` with the ID 'saude' to list all datasets categorized under that theme.

**Can I see the actual download links for the data files?**
Yes. By using `get_package` with a dataset ID, the AI will retrieve the metadata for all associated resources, which typically includes the URL, format (CSV, PDF), and description of each file.

**How do I list all government agencies that publish data on the portal?**
Use the `list_organizations` tool. It will return a list of all government bodies (like CGE, SEF, etc.) that have active datasets in the Minas Gerais portal.