MCP Directory

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

  1. 1Open Claude Desktop → Settings → Developer → Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
  2. 2Paste the agrobr-mcp config below under the top-level "mcpServers" key.
  3. 3Fill in any placeholder secrets (API keys, paths) in the snippet.
  4. 4Save the file, then fully quit and reopen Claude Desktop.
  5. 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_diario

Daily spot prices for agricultural commodities (CEPEA/ESALQ).

futuros_b3

Daily settlement prices for agricultural futures on the B3 exchange.

estimativa_safra

Current crop season estimate by state (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).

clima

Climate data by state — temperature, precipitation, radiation (NASA POWER).

desmatamento

Deforestation 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.

View repo Full agrobr-mcp page