
How to add agrobr-mcp to Claude Desktop
Give LLMs real-time Brazilian agricultural data — prices, crop estimates, climate and deforestation from public sources. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.
Last updated June 14, 2026 · 25★ · stdio · no auth
Claude Desktop config for agrobr-mcp
pip install agrobr-mcp{
"mcpServers": {
"agrobr-mcp": {
"command": "python",
"args": [
"-m",
"agrobr_mcp"
]
}
}
}Setup steps
- 1Open Claude Desktop → Settings → Developer → Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
- 2Paste the agrobr-mcp config below under the top-level "mcpServers" key.
- 3Fill in any placeholder secrets (API keys, paths) in the snippet.
- 4Save the file, then fully quit and reopen Claude Desktop.
- 5Open a chat and confirm agrobr-mcp's tools appear under the 🔌 tools menu.
Before you start
- Python 3.11+
- pip install agrobr-mcp (or Docker)
What agrobr-mcp can do in Claude Desktop
preco_diarioDaily spot prices for agricultural commodities (CEPEA/ESALQ).
futuros_b3Daily settlement prices for agricultural futures on the B3 exchange.
estimativa_safraCurrent crop season estimate by state (CONAB/IBGE).
producao_anualHistorical annual production by state (IBGE PAM).
balancoSupply and demand balance — stock, consumption, exports (CONAB).
progresso_safraWeekly planting and harvesting progress by state (CONAB).
climaClimate data by state — temperature, precipitation, radiation (NASA POWER).
desmatamentoDeforestation rates and real-time alerts by biome (INPE).
Security
No authentication or API keys required; all data is fetched from public Brazilian government and exchange sources. Data accuracy and availability depend entirely on those upstream public APIs.
agrobr-mcp + Claude Desktop FAQ
Where is the Claude Desktop config file?
Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the agrobr-mcp config there under the "mcpServers" key and restart the client.
Is agrobr-mcp safe to use with Claude Desktop?
No authentication or API keys required; all data is fetched from public Brazilian government and exchange sources. Data accuracy and availability depend entirely on those upstream public APIs.
Does it require an API key?
No. All data comes from public Brazilian government and exchange sources, so no authentication or API keys are needed.
What is the relationship to the agrobr library?
agrobr-mcp is a thin MCP wrapper that handles tool exposure and text formatting. All data collection, parsing, and caching logic lives in the separate agrobr Python library.
How do I install it in Claude Code?
Run `claude mcp add agrobr python -- -m agrobr_mcp`. If the `-m` flag fails to parse, create a wrapper script (run.sh / run.bat) and add that instead.