Skip to main content
Glama
MealCP

MealCP MCP

Official
by MealCP

MealCP MCP

AI 에이전트를 위한 식료품 및 식품 데이터 레이어인 MealCP의 공식 Model Context Protocol 서버입니다.

MealCP 공개 API를 통해 두 가지 도구를 제공합니다:

  • search_products — 키워드로 식료품 제품 카탈로그를 검색하고 패싯 필터링(국가, 소매업체, 체인, 브랜드, 태그, 카테고리, 도시, 가격 범위, 정렬, 페이지네이션)을 지원합니다.

  • get_price_history — 날짜 범위에 걸쳐 한 제품의 집계된 가격 이력 통계(최소/최대/평균/첫 번째/마지막, 순 변화)를 제공합니다.

요구 사항

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

구성

Variable

Default

Description

MEALCP_API_URL

http://localhost:8000

MealCP API의 기본 URL

MEALCP_API_KEY

(none)

모든 요청에 전송되는 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