🐍 ☁️ - Brazilian agricultural data: prices, crop estimates, climate and deforestation from public sources…
agrobr-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**MCP server that gives LLMs access to real-time Brazilian agricultural data** — prices, crop estimates, climate, deforestation and more from 10 public sources from agrobr.
---
Install
Version 0.2.0 requires agrobr >=2.0.0, =2.0.0, MCP Servers > Add:
Claude Code
> If the above fails due to -m flag parsing, create a wrapper script:
>
> **Linux/macOS:** echo 'python -m agrobr_mcp' > run.sh && chmod +x run.sh && claude mcp add agrobr ./run.sh
>
> **Windows:** echo python -m agrobr_mcp > run.bat && claude mcp add agrobr run.bat
Docker
Add to claude_desktop_config.json:
---
Tools
14 tools available out of the box:
Prices & Market
| Tool | Description |
|------|-------------|
| preco_diario | Daily spot prices for agricultural commodities (CEPEA/ESALQ) |
| futuros_b3 | Daily settlement prices for agricultural futures on B3 exchange (latest published session by default) |
| exportacao | Agricultural exports summed by month, by product and state of origin (Comex Stat; ABIOVE fallback) |
Production & Crop
| Tool | Description |
|------|-------------|
| estimativa_safra | Crop estimate by state, latest season with data by default (CONAB/IBGE) |
| producao_anual | Historical annual production by state (IBGE PAM) |
| balanco | Supply and demand balance — stock, consumption, exports (CONAB) |
| progresso_safra | Weekly planting and harvesting progress by state (CONAB) |
| serie_historica_safra | Historical crop series by season — area, production, yield; last 10 years by default (CONAB) |
| rebanho | Livestock herds and animal products by state, latest published year by default (IBGE PPM) |
Climate & Environment
| Tool | Description |
|------|-------------|
| clima | Climate data by state — temperature, precipitation, radiation (NASA POWER) |
| desmatamento | Deforestation polygons (PRODES for the previous calendar year, falling back one more year when empty) and alerts (DETER, last 15 days) by biome, with optional year and state filters, up to 2,000 records (INPE) |
| queimadas | Fire hotspots of one day by municipality and biome, reference satellite (INPE) |
Meta
| Tool | Description |
|------|-------------|
| listar_produtos | List valid products for each tool |
| health_check | Check status of all data sources |
---
Example queries
---
How it works
agrobr-mcp is a thin wrapper. All data logic lives in the agrobr library.
---
Development
---
License
MIT
---
PT-BR
O que é o agrobr-mcp?
Servidor MCP que dá acesso a dados agrícolas brasileiros em tempo real para LLMs. Preços, safras, clima, desmatamento e mais — tudo de fontes públicas como CEPEA, CONAB, IBGE, INPE e B3.
Instalação
A versão 0.2.0 requer agrobr >=2.0.0, =2.0.0,<3.
Configuração
Adicione ao seu client MCP (Claude Desktop, Cursor ou Claude Code) conforme as instruções acima.
Docker
14 tools disponíveis
- **preco_diario** — Preço spot de commodities agrícolas (CEPEA/ESALQ)
- **futuros_b3** — Ajustes diários de futuros agrícolas na B3 (por padrão, o último pregão publicado)