Skip to main content
Glama
MealCP

MealCP MCP

Official
by MealCP

MealCP MCP

MealCP 公式の Model Context Protocol サーバー — AI エージェント向けの食料品・食品データレイヤーです。

MealCP 公開 API 上で 2 つのツールを公開しています:

  • search_products — キーワードによる食料品カタログ検索。ファセットフィルタリング(国、小売業者、チェーン、ブランド、タグ、カテゴリ、都市、価格帯、並び順、ページネーション)に対応。

  • get_price_history — 1 つの商品の日付範囲にわたる価格履歴統計(最小/最大/平均/最初/最後、純変動)の集計。

必要条件

  • Python 3.10+

  • MealCP の API キー(各ツール呼び出しで 1 クレジット消費)

Related MCP server: Swissgroceries MCP

使用方法

uv で直接実行:

uvx mealcp-mcp

またはインストール:

pip install mealcp-mcp
mealcp-mcp

サーバーは stdio 経由で MCP を話します。任意の MCP ホスト(Claude Desktop、opencode、Cursor など)から起動できます。

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"
      }
    }
  }
}

設定

変数

デフォルト

説明

MEALCP_API_URL

http://localhost:8000

MealCP API のベース URL

MEALCP_API_KEY

(なし)

すべてのリクエストで送信される X-API-Key

エラー

ツールエラーは API の安定したエラートークンを <code>: <message> 形式で表示します(例: not_found: Product not found)。メッセージではなくコードで分岐してください。

契約

レスポンスモデルは API の OpenAPI 仕様(contract/openapi.json、現在バージョン 0.1.0)から生成されています。以下で更新:

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

開発

uv sync
uv run pytest
uv run ruff check .

ライセンス

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