# Rio Grande do Sul (Dados RS) MCP for AI Agents AI Agent Connect

> Rio Grande do Sul (Dados RS) MCP. Access the official Open Data portal of Rio Grande do Sul to query public datasets, government organizations, and thematic groups. It lets your agent pull regional statistics directly from the state's CKAN-based repository.

## Overview
- **Category:** data-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_8wKN6HQka16PPK7UOkRk0TJP6qVXaLeeEAEEiu66/ai-agent-connect
- **Tags:** open-data, brazil, public-sector, ckan, regional-statistics, data-transparency

## Description

This Connector lets you pull official public data from the Rio Grande do Sul government portal directly into your workflow. Instead of hunting through government websites or manually downloading CSVs, you can ask your agent to find specific records on health, education, or finance. It connects to the state's CKAN-based repository, which means your agent can browse thematic groups like 'Economy' or 'Security' to see what's available. You can also go deeper by asking for specific metadata or pulling tabular data using SQL queries. It makes the state's entire public data infrastructure searchable in plain English. If you're tired of manual data gathering, this is the way to get official records into your projects. It's one of the many specialized connectors you can find in the Vinkius catalog to bridge the gap between public records and your AI client.

## Tools

### list_groups
Get a list of all thematic data groups available on the portal. This helps you see what categories of data are hosted.

### show_group
View the specific details and contents of a single thematic group. Use this to see exactly what a category contains.

### show_resource
See the metadata for a specific resource to understand its structure. This is helpful for checking file types and sizes.

### search_datastore_sql
Run SQL queries against the DataStore to get specific tabular results. This is useful for complex filtering of large datasets.

### search_datastore
Search the DataStore for specific records or information. Use this to find general data points within the repository.

### list_organizations
See a list of all government bodies that publish data. This helps you identify which departments are providing information.

### show_organization
View the details of a specific government organization. Use this to see the scope of a particular department's data.

### list_datasets
Get a list of every public dataset available on the portal. This provides a high-level view of all available data.

### search_datasets
Search for specific datasets based on your keywords or topics. This is the fastest way to find a specific record.

### show_dataset
View the full metadata and details for a specific dataset. Use this to check the source and update frequency of a record.

### search_resources
Find specific files and links within the dataset repository. This helps you locate the actual files you need to download.

## Prompt Examples

**Prompt:** 
```
Find datasets about education in Rio Grande do Sul.
```

**Response:** 
```
I found several datasets related to education, including:

* **Escolas Estaduais**
* **Taxa de Analfabetismo**

Which one would you like to explore further?
```

**Prompt:** 
```
List the government organizations in the portal.
```

**Response:** 
```
I've retrieved the list of organizations. There are over 50 bodies, including:

* **Secretaria da Saúde**
* **Secretaria da Fazenda**
* **Brigada Militar**

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

**Prompt:** 
```
Show me the details for the 'receita-corrente-liquida' dataset.
```

**Response:** 
```
The dataset **Receita Corrente Líquida** contains metadata about state revenue. 

* **Maintained by:** Secretaria da Fazenda
* **Resources:** 3 files (CSV and PDF)
* **Description:** Provides details on current liquid revenue for the state.
```

## Capabilities

### Search for government datasets
Find specific public records using keywords like health, education, or finance.

### Browse thematic data groups
Navigate through categories like environment, security, or economy to find relevant data.

### Query the DataStore with SQL
Execute complex queries to pull specific tabular results from the repository.

### Inspect resource metadata
Get details on specific files and links to understand their structure before you use them.

### List government organizations
See a list of all official bodies that publish data on the portal.

## Use Cases

### Auditing Public Spending
A journalist asks for spending records from the 'Secretaria da Fazenda' to check for budget discrepancies in the state's records.

### Education Research
A researcher searches for 'educação' datasets to find school enrollment numbers across the state for a new study.

### App Development
A developer pulls regional health stats to populate a real-time public health dashboard for a local municipality.

### Environmental Analysis
A scientist looks for 'Environment' thematic groups to find pollution data for a regional environmental report.

## Benefits

- Skip manual CSV downloads by using search_datasets to find records instantly.
- Get precise data points with search_datastore_sql for complex filtering.
- Explore government transparency by listing all bodies with list_organizations.
- Understand data structure quickly using show_resource before you start your work.
- Navigate by topic easily using list_groups to find relevant thematic data.

## How It Works

The bottom line is you get official state records without the manual download headache.

1. Subscribe to the Connector in your preferred AI client.
2. Add your Dados RS API Key to increase your rate limits.
3. Ask your agent to find regional statistics or specific datasets from the portal.

## Frequently Asked Questions

**What does the Rio Grande do Sul (Dados RS) MCP do?**
It connects your AI client to the official Open Data portal of Rio Grande do Sul. You can use it to find and query public datasets, browse government organizations, and get regional statistics.

**Can I use the Rio Grande do Sul (Dados RS) MCP to find health data?**
Yes, you can search for health-related datasets and thematic groups directly through the portal using your agent.

**Is the Rio Grande do Sul (Dados RS) MCP good for journalists?**
It is excellent for journalists who need to audit public spending or access official records quickly without manual downloads.

**How do I get regional stats with the Rio Grande do Sul (Dados RS) MCP?**
You can ask your agent to search for specific topics like economy or security, or use SQL queries to pull precise regional statistics.

**Does the Rio Grande do Sul (Dados RS) MCP support SQL queries?**
Yes, it allows you to execute SQL queries against the DataStore to get specific tabular results from the government's records.

**Can I use the Rio Grande do Sul (Dados RS) MCP to see government spending?**
Yes, you can find and analyze data related to state revenue and public spending by searching for the relevant government organizations.

**How can I search for datasets related to a specific topic like 'COVID'?**
Use the `search_datasets` tool with the `q` parameter set to your topic. For example, searching for 'covid' will return all matching packages from the portal.

**Can I perform advanced data analysis using SQL on the portal's data?**
Yes! The `search_datastore_sql` tool allows you to execute full SQL SELECT statements against datasets stored in the CKAN DataStore, enabling complex filtering and aggregation.

**How do I find which government departments are publishing data?**
Use the `list_organizations` tool to get a complete list of all government bodies. You can then use `show_organization` with a specific ID to see their metadata and datasets.