MCP MCP Server

MCP Server of Agribalyse API

Local serverstdioPython

What is the MCP MCP server?

MCP Server of Agribalyse API. Exposed over MCP by the mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

🌿 A Model Context Protocol (MCP) server for querying the ADEME Agribalyse 3.1 dataset.

Adding it to your client

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Its toolset

Everything the assistant can do here goes through one of these:

  • read_lines — Query rows from the Agribalyse dataset
  • get_values — Get distinct values for a given text field
  • get_metric_agg — Compute a single metric (avg, min, etc.) on a numeric field
  • get_simple_metrics_agg — Compute metrics on one or more fields at once
  • get_words_agg — Retrieve most frequent tokens in a text field
  • read_schema — Get the complete column schema of the dataset
  • read_safe_schema — Get a reduced version of the column schema
  • read_api_docs — Fetch the full OpenAPI specification from the ADEME API

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp mcp server does with a few real requests.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP's toolset — read_lines, get_values, get_metric_agg and 5 more — is a fair guide to whether it matches your workflow. It is maintained by tracy040401; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
read_linesQuery rows from the Agribalyse dataset
get_valuesGet distinct values for a given text field
get_metric_aggCompute a single metric (avg, min, etc.) on a numeric field
get_simple_metrics_aggCompute metrics on one or more fields at once
get_words_aggRetrieve most frequent tokens in a text field
read_schemaGet the complete column schema of the dataset
read_safe_schemaGet a reduced version of the column schema
read_api_docsFetch the full OpenAPI specification from the ADEME API

How to install the MCP MCP server

{
  "mcpServers": {
    "agribalyse": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use MCP to read lines.
  • Use MCP to get values.
  • Use MCP to get metric agg.

Frequently asked questions

Agribalyse is a dataset published by ADEME that contains environmental indicators (e.g., climate impact, water use, ecotoxicity) for thousands of food products.