MCP server for querying the ADEME Agribalyse 3.1 food environmental dataset

MCP server for querying the ADEME Agribalyse 3.1 food environmental dataset

mcp_agribalyse•bytracy040401

An MCP server that provides tools and resources to interact with the Agribalyse public API, letting LLMs retrieve and analyze environmental impact data on food products.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Queries rows from the Agribalyse dataset and computes metrics such as averages and minimums on numeric fields, including multiple fields at once.
  • •Retrieves distinct values and most frequent tokens for text fields, and exposes the dataset column schema.
  • •Exposes resources listing allowed text fields, available data files, sample dataset rows, sortable fields, and metric field and type definitions.
  • •Includes predefined prompts for product search, statistics, product comparison, field value listing, indicator explanation, and guided query refinement.

BEST FOR

  • •Looking up environmental indicator data for a named food product.
  • •Comparing two food products by a specific environmental indicator.
  • •Aggregating environmental metrics across the Agribalyse dataset, such as averages on a numeric field.

ABOUT MCP_AGRIBALYSE

MCP server for querying the ADEME Agribalyse 3.1 food environmental dataset is cataloged as an MCP server attributed to tracy040401. An MCP server that provides tools and resources to interact with the Agribalyse public API, letting LLMs retrieve and analyze environmental impact data on food products. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for querying the ADEME Agribalyse 3.1 food environmental dataset are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What dataset does this MCP server query?

It queries the ADEME Agribalyse 3.1 dataset, which provides environmental indicators such as climate impact, water use, and ecotoxicity for thousands of food products.

What data does the server rely on?

It interacts with the Agribalyse public API, and one of its tools fetches the full OpenAPI specification from the ADEME API.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 343da5780887 · 采集于 2026-11-13 10:43:02 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

mcp-server-agribalyse

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

This MCP server provides tools and resources to interact with the Agribalyse public API, enabling Large Language Models to retrieve and analyze environmental impact data on food products.

⚠️ Note: This server is based on the FastMCP framework and is actively maintained. API coverage may evolve.


🚀 Overview

Agribalyse is a dataset published by ADEME, offering environmental indicators (climate impact, water use, ecotoxicity, etc.) for thousands of food products.

This MCP server allows LLMs to:

  • Search food product data.
  • Aggregate environmental metrics.
  • List possible filter values.
  • Understand dataset structure.

🧰 Tools

Tool NameDescription
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

📚 Resources

URIDescription
agribalyse://fieldsList of allowed text fields for querying
agribalyse://filesAvailable data files published by ADEME
agribalyse://sample-linesA sample of dataset rows
agribalyse://columns/sortablesFields that can be used for sorting
agribalyse://metrics/fieldsNumeric fields usable for aggregation
agribalyse://metrics/typesSupported metric types (avg, sum, percentiles, etc.)
agribalyse://fields/descriptionsHuman-readable descriptions of each dataset column

💬 Prompts

This server also includes predefined prompts for easier interaction:

  • search_product: Ask for environmental info about a named product
  • ask_stat: Ask for a specific metric on an indicator
  • compare_products: Compare two products by one indicator
  • list_field_values: List possible values of a given field
  • sample_prompt: Ask to preview sample data
  • explain_indicator: Ask for an explanation of an indicator
  • custom_query_prompt: Prompt chain for guided query refinement

🧪 Debugging

You can inspect server behavior using:

npx @modelcontextprotocol/inspector uvx run src/agribalyse/server.py

Or follow logs using:

mcp dev server.py

🧑‍💻 Client Example

To test the MCP server using a client, an example client implementation using OpenAI is provided.

Run the client with:

python client/client.py

This will execute example prompts and display the server responses, allowing you to observe how the MCP server handles requests.

🧪 Running Tests

To run the test suite using pytest, make sure your virtual environment is activated and then run:

pytest tests/test_mcp_tools

This will execute all unit tests and validate the MCP tools integration.

👩‍💻 Maintainer

Author: Tracy André

Organization: Positive Solutions

Contact: tracy.andre@food-pilot.eu

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for querying the ADEME Agribalyse 3.1 food environmental dataset from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp_agribalyse)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage