MealCP MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MealCP MCPsearch for organic milk and show price history"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MealCP MCP
Official Model Context Protocol server for MealCP — the grocery & food data layer for AI agents.
Exposes two tools over the MealCP public API:
search_products— search the grocery product catalog by keyword with faceted filtering (country, retailer, chain, brand, tag, category, city, price range, sort, pagination).get_price_history— aggregated price-history stats (min/max/avg/first/ last, net change) for one product over a date range.
Requirements
Python 3.10+
An API key from MealCP (each tool call consumes 1 credit)
Related MCP server: Swissgroceries MCP
Usage
Run directly with uv:
uvx mealcp-mcpOr install:
pip install mealcp-mcp
mealcp-mcpThe server speaks MCP over stdio; any MCP host (Claude Desktop, opencode, Cursor, …) can spawn it.
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"
}
}
}
}Configuration
Variable | Default | Description |
|
| Base URL of the MealCP API |
| (none) |
|
Errors
Tool errors surface the API's stable error tokens, formatted
<code>: <message> (e.g. not_found: Product not found). Branch on the code,
never the message.
Contract
Response models are generated from the API's OpenAPI spec
(contract/openapi.json, currently version 0.1.0). Refresh with:
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-timestampDevelopment
uv sync
uv run pytest
uv run ruff check .License
MIT
Maintenance
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
- FlicenseNot gradedqualityDmaintenanceProvides grocery price and nutritional information search capabilities, allowing AI agents to search for food products, compare prices, and analyze nutritional content across different grocery stores.1
- AlicenseAqualityBmaintenanceA 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.79527AGPL 3.0
- AlicenseAqualityDmaintenanceEnables querying Turkish market prices, searching products, and comparing prices across different stores using the Market Fiyatı API.31434MIT
- FlicenseNot gradedqualityFmaintenanceEnables searching and comparing grocery prices from Turkish markets via marketfiyati.org.tr.7
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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