Agrobr MCP logo

Agrobr MCP

by bruno-portfolio

Queries Brazilian agricultural prices, production, climate, crop progress, supply, and deforestation data through MCP tools.

Install Agrobr MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "bruno-portfolio-agrobr-mcp": {
      "command": "uvx",
      "args": [
        "agrobr-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

uvx agrobr-mcp

Downloading cryptography (4.5MiB) Downloading lxml (5.0MiB) Downloading pygments (1.2MiB) Downloading duckdb (20.5MiB) Downloading pandas (10.6MiB) Downloading chardet (1.4MiB) Downloading pydantic-core (2.0MiB) Downloading numpy (16.1MiB) Downloading agrobr (3.4MiB) Downloaded pygments Downloaded chardet Downloaded pydantic-core Downloaded agrobr Downloaded lxml Downloaded cryptography Downloaded pandas Downloaded numpy Downloaded duckdb Installed 60 packages in 82ms Traceback (most re

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 25d ago.

Overview

bruno-portfolio/agrobr-mcp MCP server exposes Brazilian agricultural data to MCP-compatible AI clients through ten tools. It retrieves information from public sources including CEPEA, CONAB, IBGE, INPE, B3, and NASA POWER, covering markets, crops, climate, and deforestation. The server is a thin MCP wrapper around the agrobr library, which handles collection, parsing, and caching. Reach for it when an agent needs current or historical agricultural data by commodity, state, or biome.

Use cases

  • Compare daily spot and futures prices for agricultural commodities
  • Check crop estimates and production by Brazilian state
  • Track weekly planting and harvesting progress
  • Retrieve state-level climate measurements
  • Inspect deforestation rates and alerts by biome

Key features

  • CEPEA/ESALQ daily spot prices
  • B3 agricultural futures settlements
  • Crop estimates, production, and progress
  • Supply and demand balances
  • State climate data and biome deforestation alerts
  • Product listing and source health checks

Tools14

What Agrobr MCP lets your agent do. Expand a tool for its parameters.

Self-reported~317 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

19/19 checks healthy over the last 80d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · agrobr-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars29Stargazers on the source repository.
Last commit18d agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed14Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Agrobr MCP works

What bruno-portfolio/agrobr-mcp MCP server does

bruno-portfolio/agrobr-mcp MCP server gives language models access to Brazilian agricultural datasets through the Model Context Protocol. Its tools cover commodity markets, crop estimates and production, crop activity, climate measurements, and forest-loss information. Data is obtained from public services associated with CEPEA/ESALQ, B3, CONAB, IBGE, INPE, and NASA POWER.

The market tools return daily spot prices and B3 agricultural futures settlement prices. Production tools provide current season estimates by Brazilian state, historical annual production, supply-and-demand figures, and weekly planting or harvesting progress. Environmental tools provide climate values by state and deforestation rates or alerts by biome.

How it works

An MCP client sends a natural-language request to the server and receives formatted tool output. The server itself is intentionally thin: the agrobr library performs data retrieval, parsing, and caching, while bruno-portfolio/agrobr-mcp exposes those functions through MCP.

The available tools are grouped into three practical areas:

  • Markets: preco_diario and futuros_b3
  • Production and crops: estimativa_safra, producao_anual, balanco, and progresso_safra
  • Climate and environment: clima and desmatamento

listar_produtos helps identify valid products for the data tools. health_check reports the status of the connected data sources.

Setup and configuration

Install the package with Python 3.11 or newer:

Terminal
pip install agrobr-mcp

The server runs as a standard Python module over stdio:

bash
python -m agrobr_mcp

For Claude Desktop, add a server entry whose command is python and whose argument is -m agrobr_mcp. Cursor uses the same command and argument pattern in its MCP server settings. Claude Code can register it with claude mcp add agrobr python -- -m agrobr_mcp; a wrapper script is available as a workaround if that command mishandles the -m argument.

A Docker image can also be built and run interactively, then referenced from an MCP client using docker run --rm -i agrobr-mcp.

Tools and capabilities

Use preco_diario for daily CEPEA/ESALQ spot prices and futuros_b3 for agricultural futures settlements on B3. Use estimativa_safra for current-season estimates by state and producao_anual for historical IBGE PAM production. balanco covers stocks, consumption, and exports, while progresso_safra reports weekly planting and harvest progress.

clima returns state-level temperature, precipitation, and radiation data from NASA POWER. desmatamento covers rates and real-time alerts by biome from INPE. The metadata and diagnostics tools are useful before querying: listar_produtos exposes accepted product names, and health_check checks source availability.

Limitations and notes

bruno-portfolio/agrobr-mcp depends on external public data sources, so source availability and returned data may vary. The server does not implement the underlying agricultural data logic; that work belongs to the agrobr library. Product names should be checked with listar_produtos when a query requires a specific commodity. The repository provides development commands for running non-integration tests and Ruff checks, but no environment variables are documented as required for normal use.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agrobr MCP

bruno-portfolio/agrobr-mcp is an MCP server that connects AI clients to public Brazilian agricultural data sources, including CEPEA, CONAB, IBGE, INPE, B3, and NASA POWER. Its main tools cover prices, futures, crop estimates, production, crop progress, balances, climate, deforestation, product listings, and source health.

Install it with `pip install agrobr-mcp`, then run it with `python -m agrobr_mcp`. The package requires Python 3.11 or newer. You can configure that command in an MCP client or run the server through Docker.

Yes, bruno-portfolio/agrobr-mcp works with Cursor through its MCP server settings. Add a server entry using `python` as the command and `-m agrobr_mcp` as the argument.

Use the `listar_produtos` tool to see valid products for each data tool. This is the documented way to identify accepted product names before making a commodity-specific request.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgrobr MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/bruno-portfolio-agrobr-mcp?style=directory)](https://allmcps.com/mcp/bruno-portfolio-agrobr-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/bruno-portfolio-agrobr-mcp"><img src="https://allmcps.com/api/badge/bruno-portfolio-agrobr-mcp?style=directory" alt="Agrobr MCP on AllMCPs" /></a>