# ANA (Movimentação de Dados) MCP for AI Agents AI Agent Connect

> ANA (Movimentação de Dados) gives your AI agent direct access to the Brazilian National Water Agency's hydrometeorological database. It lets you query and manage real-time and historical data on rainfall, river flow, water quality, and cross-section profiles across Brazilian basins.

## Overview
- **Category:** data-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_K4JTJl3tosVYZauIMYYW6tx7woJ6hVIfgasPwsMd/ai-agent-connect
- **Tags:** hydrology, brazil-water, environmental-monitoring, rainfall-data, water-quality

## Description

Dealing with hydrometeorological data in Brazil usually involves a lot of friction. You have to navigate complex government websites, find the right station codes, and manually export data into spreadsheets before you can even start your actual work. It's a slow process that makes it hard to stay on top of changing conditions. This Connector changes that by giving your agent a direct line to the ANA API. Instead of hunting for specific station codes or digging through nested menus, you can just ask your agent to pull the latest rainfall figures or check the water quality parameters for a specific basin. It handles the communication with the ANA API so you can focus on the analysis. Whether you're building a flood model or monitoring environmental health, you get clean data delivered right into your workspace. It's part of the Vinkius catalog, which makes it easy to plug into your existing workflow without setting up complex custom scripts. You can also update records or create new data series directly, keeping your datasets current without leaving your primary interface. It's about moving from data collection to data interpretation as fast as possible.

## Tools

### create_serie_qa
Insert new Water Quality (QA) series data. Use this to start new environmental health monitoring.

### create_serie_vazao
Add new Flow (Vazão) series data to the database. This is essential for river flow tracking.

### get_serie_resumo_descarga
Look up Discharge Summary series records for basin management. It provides a summary of water volume.

### get_serie_vazao
Search for Flow (Vazão) series data with no limit on the number of results per request. It pulls large flow datasets.

### update_serie_chuva
Modify or update existing Rainfall (Chuva) series data. Use this to correct or add to precipitation records.

### update_serie_cota
Edit or update Stage/Level (Cota) series records. This keeps your water level data accurate.

### update_serie_perfil_transversal
Update Cross-Section Profile series data for river profiles. It keeps morphology records current.

### update_serie_qa
Modify existing Water Quality (QA) series information. Use this to update environmental monitoring results.

### update_serie_resumo_descarga
Update Discharge Summary series data in the ANA system. This keeps your discharge summaries up to date.

### update_serie_vazao
Edit or update Flow (Vazão) series records for specific stations. This is key for maintaining flow data.

### create_serie_cota
Add new Stage/Level (Cota) series data to the ANA system. This is useful for tracking water height over time.

### create_serie_chuva
Include new Rainfall (Chuva) series data. Use this to register new precipitation monitoring points.

### create_serie_perfil_transversal
Add Cross-Section Profile series data for river morphology studies. It helps in mapping river shapes.

### create_serie_resumo_descarga
Create new Discharge Summary series records. This helps in documenting basin discharge history.

### get_serie_chuva
Search for existing Rainfall (Chuva) series data using specific identifiers. It quickly pulls precipitation records.

### get_serie_cota
Retrieve Stage/Level (Cota) series data for a given location. This shows you how high the water is.

### get_serie_perfil_transversal
Find Cross-Section Profile series data for engineering and morphology. It provides river shape details.

### get_serie_qa
Fetch Water Quality (QA) series data to check environmental health. You can see pollutants and pH levels.

## Prompt Examples

**Prompt:** 
```
Can you find the rainfall data for station 45001000 for last month?
```

**Response:** 
```
I've pulled the rainfall series for station 45001000. Here is the summary for last month:

| Date | Precipitation |
| :--- | :--- |
| 2023-05-01 | 12.5mm |
| 2023-05-02 | 8.2mm |
| 2023-05-03 | 0.0mm |

**Total for period:** 20.7mm. Would you like the full daily breakdown?
```

**Prompt:** 
```
What's the current water quality like for series ID 12345?
```

**Response:** 
```
I've checked the Water Quality (QA) data for series 12345. The latest readings are:

*   **pH Level:** 7.2
*   **Turbidity:** 1.5 NTU
*   **Dissolved Oxygen:** 8.4 mg/L

These values are within the standard environmental safety limits for this basin.
```

**Prompt:** 
```
I need the flow data for station 66070000.
```

**Response:** 
```
I've retrieved the flow (vazão) data for station 66070000. 

**Current Status:**
*   **Mean Flow:** 150 m³/s
*   **Peak Flow:** 185 m³/s

Would you like to see the full table of measurements for the last 30 days?
```

## Capabilities

### Pull historical rainfall and flow data
Query past and current weather and water movement records for specific Brazilian stations.

### Monitor water quality parameters
Access environmental health metrics like turbidity and pH levels across different basins.

### Retrieve river morphology profiles
Get transverse profile data for engineering studies and river shape analysis.

### Access discharge summaries
View discharge summaries and water level data for comprehensive basin management.

### Create and update data records
Add new data series or modify existing records directly within the ANA system.

## Use Cases

### Building a flood model for a new dam
A hydrologist needs to build a flood model for a new dam. They ask the agent to pull flow and rainfall data for 10 different stations using get_serie_vazao and get_serie_chuva.

### Checking industrial pollution levels
An environmental consultant needs to check if a factory is polluting a river. They use get_serie_qa to pull the latest water quality parameters and compare them to safety limits.

### Mapping river morphology for bridge design
An engineer is designing a bridge and needs river morphology. They ask the agent to find the most recent cross-section profiles using get_serie_perfil_transversal.

### Updating regional water level records
A researcher needs to update a specific dataset with new observations. They use update_serie_cota to modify the water level records for a specific station.

## Benefits

- Skip the manual portal navigation by using get_serie_vazao to pull flow data instantly into your project.
- Keep your records current by using create_serie_chuva and update_serie_chuva to manage rainfall data without spreadsheets.
- Analyze environmental health faster with get_serie_qa to retrieve water quality parameters in one step.
- Build accurate river models by pulling morphology data with get_serie_perfil_transversal for your engineering plans.
- Automate time-series collection for climate studies using the various get_serie tools to pull historical records.
- Manage basin levels and summaries easily through get_serie_resumo_descarga and get_serie_cota for better oversight.

## How It Works

The bottom line is you get instant access to Brazilian water data without ever touching a government website.

1. Connect the Connector to your AI client and provide your ANA credentials (Identificador and Senha).
2. Ask your agent to query specific station codes or data series for rainfall, flow, or water quality.
3. Review the returned data tables or summaries directly in your chat or IDE.

## Frequently Asked Questions

**Can I use the ANA (Movimentação de Dados) MCP to get real-time rainfall?**
Yes, you can query real-time rainfall data for specific stations. This lets you monitor weather events as they happen without manually refreshing a web page.

**Does the ANA (Movimentação de Dados) MCP support water quality monitoring?**
Yes, it includes tools to fetch water quality parameters. You can use it to check things like pH, turbidity, and oxygen levels across different basins.

**Can I update data in the ANA system using the ANA (Movimentação de Dados) MCP?**
Yes, authorized users can create and update records. This includes adding new data series for flow, rainfall, and water levels directly through your agent.

**Is the ANA (Movimentação de Dados) MCP suitable for river morphology studies?**
Yes, it allows you to retrieve cross-section profile data. This is specifically useful for engineers and hydrologists mapping river shapes and depths.

**Do I need a special API key for the ANA (Movimentação de Dados) MCP?**
You'll need your ANA Identificador and Senha. Once you provide these credentials to your agent, it can perform all the queries and updates for you.

**Can the ANA (Movimentação de Dados) MCP handle large data requests?**
The tool for flow series allows for a high number of searches per request. This makes it effective for pulling large datasets for climate and impact analysis.

**How can I search for flow data for a specific station?**
Use the `get_serie_vazao` tool by providing the `codigo_estacao`. You can also filter by `data_busca` to get data for a specific date.

**Is it possible to update existing rainfall records?**
Yes, if you have the necessary permissions, you can use the `update_serie_chuva` tool with the updated JSON data body.

**What information is included in the cross-section profile search?**
The `get_serie_perfil_transversal` tool retrieves morphological data of the riverbed at the station location, including depth and width measurements recorded in the series.