Skip to main content
Glama
MealCP

MealCP MCP

Official
by MealCP

MealCP MCP

Offizieller Model Context Protocol Server für MealCP — die Datenebene für Lebensmittel und Ernährung für KI-Agenten.

Stellt zwei Tools über die öffentliche MealCP-API bereit:

  • search_products — durchsucht den Lebensmittelproduktkatalog nach Stichwort mit Facettenfilterung (Land, Einzelhändler, Kette, Marke, Tag, Kategorie, Stadt, Preisbereich, Sortierung, Paginierung).

  • get_price_history — aggregierte Preisverlaufsstatistiken (min/max/avg/erster/letzter, Nettoveränderung) für ein Produkt über einen Zeitraum.

Voraussetzungen

  • Python 3.10+

  • Ein API-Schlüssel von MealCP (jeder Tool-Aufruf verbraucht 1 Credit)

Related MCP server: Swissgroceries MCP

Verwendung

Direkt mit uv ausführen:

uvx mealcp-mcp

Oder installieren:

pip install mealcp-mcp
mealcp-mcp

Der Server spricht MCP über stdio; jeder MCP-Host (Claude Desktop, opencode, Cursor, …) kann ihn starten.

Claude Desktop

{
  "mcpServers": {
    "mealcp": {
      "command": "uvx",
      "args": ["mealcp-mcp"],
      "env": {
        "MEALCP_API_URL": "https://api.mealcp.com",
        "MEALCP_API_KEY": "mcp_live_your_key_here"
      }
    }
  }
}

opencode

{
  "mcp": {
    "mealcp": {
      "type": "local",
      "command": ["uvx", "mealcp-mcp"],
      "enabled": true,
      "environment": {
        "MEALCP_API_URL": "https://api.mealcp.com",
        "MEALCP_API_KEY": "mcp_live_your_key_here"
      }
    }
  }
}

Konfiguration

Variable

Standard

Beschreibung

MEALCP_API_URL

http://localhost:8000

Basis-URL der MealCP-API

MEALCP_API_KEY

(keine)

X-API-Key wird mit jeder Anfrage gesendet

Fehler

Tool-Fehler zeigen die stabilen Fehlertokens der API, formatiert als <code>: <message> (z. B. not_found: Product not found). Verzweigen Sie auf den Code, niemals auf die Nachricht.

Vertrag

Antwortmodelle werden aus der OpenAPI-Spezifikation der API generiert (contract/openapi.json, derzeit Version 0.1.0). Aktualisieren mit:

uvx --from datamodel-code-generator datamodel-codegen \
  --input contract/openapi.json \
  --output src/mealcp_mcp/models.py \
  --output-model-type pydantic_v2.BaseModel \
  --target-python-version 3.10 --disable-timestamp

Entwicklung

uv sync
uv run pytest
uv run ruff check .

Lizenz

MIT

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    A Model Context Protocol server for real-time Swiss grocery shopping that searches and compares products across 8 major Swiss retailers (Migros, Coop, Aldi, Denner, Lidl, Farmy, Volgshop, Otto’s), normalizes per-unit prices, surfaces promotions, computes optimal multi-store shopping plans, and works with any MCP-compatible client without API keys or accounts.
    7
    95
    27
    AGPL 3.0

View all related MCP servers

Related MCP Connectors

  • Kroger MCP — grocery products, prices, and store locations (developer.kroger.com)

  • Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.

  • Track prices & price history on any online shop, with alerts and an API

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MealCP/mealcp-mcp-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server