
Agrobr
io.github.bruno-portfolioPublished by GitHub account bruno-portfoliov0.2.0Updated Oct 24, 2026
Brazilian agricultural data for LLMs — prices, crops, climate, deforestation.
Overview
Local MCP server that gives an assistant Brazilian agricultural data: commodity prices, crop estimates, climate, deforestation and fire hotspots from public INE
- What you can do
- Query daily spot and B3 futures prices and monthly agricultural exports by product and state of origin. Retrieve crop estimates, annual production, supply and demand balances, weekly planting and harvest progress, historical series and livestock herds by state. Fetch climate data by state, deforestation polygons and alerts by biome, and daily fire hotspots by municipality. List valid products per tool and check the status of the data sources.
- When to use it
- Useful when answering questions about Brazilian agriculture, such as soybean or corn prices, harvest progress, crop estimates, exports, deforestation in a biome or fire hotspots, and you want the assistant to pull the figures from public sources rather than guess.
- Requirements
- Runs as a local process over stdio. Install the agrobr-mcp Python package (pip) and configure the client to launch it with python -m agrobr_mcp, or run it via Docker. Needs Python and network access to the public data sources; no accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Agrobr in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
agrobr-mcp
[PyPI] [Tests] [License: MIT] [Python 3.11+]
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,<3 and MCP Python SDK >=2.0.0,<3.
Setup
Claude Desktop
Add to claude_desktop_config.json:
Cursor
Settings > MCP Servers > Add:
Claude Code
If the above fails due to
-mflag parsing, create a wrapper script:Linux/macOS:
echo 'python -m agrobr_mcp' > run.sh && chmod +x run.sh && claude mcp add agrobr ./run.shWindows:
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
Production & Crop
Climate & Environment
Meta
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,<3 e MCP Python SDK >=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)
- exportacao — Exportações agrícolas somadas por mês, por produto e UF de origem (Comex Stat; ABIOVE como reserva)
- estimativa_safra — Estimativa de safra por UF, por padrão a safra mais recente com dado (CONAB/IBGE)
- producao_anual — Produção histórica por UF (IBGE PAM)
- balanco — Balanço de oferta e demanda (CONAB)
- progresso_safra — Progresso semanal de plantio e colheita (CONAB)
- serie_historica_safra — Série histórica por safra: área, produção e produtividade; por padrão os últimos 10 anos (CONAB)
- rebanho — Rebanhos e produção animal por UF, por padrão o ano mais recente publicado (IBGE PPM)
- clima — Dados climáticos por UF (NASA POWER)
- desmatamento — Polígonos de desmatamento (PRODES do ano anterior ao corrente, recuando mais um ano se vier vazio) e alertas (DETER, últimos 15 dias) por bioma, com filtros opcionais de ano e UF, até 2.000 registros (INPE)
- queimadas — Focos de calor de um dia por município e bioma, satélite de referência (INPE)
- listar_produtos — Lista produtos válidos por tool
- health_check — Status das fontes de dados
Links
- agrobr library — biblioteca de dados agrícolas
- MCP Protocol — Model Context Protocol
mcp-name: io.github.bruno-portfolio/agrobr
Source: README.md at commit 396b737
Tools
0Version history
2- v0.2.0LatestOct 10, 2026
- v0.1.2Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts