Cookidoo MCP Server
Lets Claude read recipes from your Cookidoo account and create TM7-optimized custom recipes with guided-cooking annotations, quality scoring, and automatic rollback on upload failure.
README
Cookidoo MCP Server
Let Claude read recipes from your Cookidoo account and create new TM7-optimized custom recipes with guided-cooking annotations, quality scoring, and automatic rollback on upload failure.
Disclaimer: Unofficial project. Not affiliated with Cookidoo, Vorwerk, Thermomix or any of their subsidiaries. Cookidoo has no public API, so this server uses the
cookidoo-apiscraping/auth library. Use at your own risk and review the Cookidoo Terms of Service.
Quickstart (Claude Desktop)
-
Clone and install:
git clone https://github.com/danielkliem/mcp-cookidoo.git cd mcp-cookidoo python3.12 -m venv venv source venv/bin/activate pip install -r requirements.txt -
Add to
~/Library/Application Support/Claude/claude_desktop_config.json:{ "mcpServers": { "cookidoo": { "command": "/absolute/path/to/mcp-cookidoo/venv/bin/python", "args": ["/absolute/path/to/mcp-cookidoo/server.py"], "env": { "COOKIDOO_MCP_MODE": "stdio", "COOKIDOO_EMAIL": "you@example.com", "COOKIDOO_PASSWORD": "your-password" } } } } -
Restart Claude Desktop. Ask Claude: "Create a TM7 recipe for Spaghetti Carbonara and upload it to my Cookidoo."
Credentials warning: Cookidoo has no OAuth, so the server logs in with your email + password. Run it locally (stdio mode) unless you control the host. The HTTP transport supports a Bearer token but does not encrypt credentials at rest beyond your
.envfile permissions.
What it does
-
Read recipes. Fetch any Cookidoo recipe by ID (e.g.
r59322) including ingredients, steps, timings, and metadata. -
Create TM7-optimized custom recipes. Action steps are parsed and rewritten into the three guided-cooking annotation families:
- TTS (standard):
30 Sek./Stufe 5 - MODE/STEAMING (Varoma): auto-detects the word "Varoma" and emits the correct accessory shape
- MODE/BROWNING (Anbraten):
5 Min./150°C/Intensiv
These render as proper guided steps with a Play-Button on the TM7 device. Verb prefixes like Mahlen, Zerkleinern, Anbraten are auto-stripped, since pure-action steps render as guided steps while verb-prefixed prose renders as "mark as done" checkboxes.
- TTS (standard):
-
Quality gate. Recipes are scored 0–100 on Thermomix vocabulary coverage before upload. Below the configured bar, upload is refused unless
force_upload=true. -
Automatic rollback. If the upload PATCH fails (e.g. schema validation error), the partial recipe is deleted so no zombies accumulate in your account.
-
Multilingual prompts. Built-in workflow prompts in German (
prompt.md) and French (prompt_FR.md).
MCP Tools
| Tool | Description |
|---|---|
connect_to_cookidoo() |
Verify credentials. Optional, other tools auto-connect. |
get_recipe_details(recipe_id) |
Fetch an existing Cookidoo recipe by ID. |
generate_recipe_structure(...) |
Parse + validate recipe data into the upload JSON schema. |
validate_recipe_quality(recipe_json) |
Score recipe against TM7 criteria with suggestions. |
upload_custom_recipe(recipe_json, force_upload=false) |
Upload to the user's account. Quality-gated, with rollback on failure. |
list_my_custom_recipes() |
List custom recipes in the account. |
delete_custom_recipe(recipe_id) |
Delete a custom recipe. Irreversible. |
MCP Prompts
create_tm7_recipe(dish): autonomous workflow that drives Claude through TM7-optimized recipe creation, from concept to validated upload.
Quality Scoring
Score out of 100. Default upload threshold is 70, configurable via COOKIDOO_QUALITY_BAR. The score is dominated by how many steps are parseable as TM7 guided-cooking actions — only those render with a Play-Button on the device.
| Criterion | Points | Notes |
|---|---|---|
| TTS/MODE-parseable action steps (Play-Button) | 50 | Roughly half of steps should be pure actions like 5 Sek./Stufe 5 or 15 Min./Varoma/Stufe 2. Scales linearly with coverage. |
| Ingredient annotations resolved in step text | 20 | At least one step should reference an ingredient using the exact substring from the ingredient list, so the backend can link them. |
| Accessory mentions (Schmetterling, Varoma, Spatel, Gareinsatz, …) | 10 | Helps the cook know what to attach. |
| TM7 parallelization (Varoma above, Gareinsatz inside, "gleichzeitig"/"während") | 20 | Encourages using the TM7's two cooking zones at once. |
The validator also produces contextual suggestions, e.g. Schmetterling for cream/egg whites, Teigknetstufe for dough.
Configuration
All settings via environment variables (or .env file):
| Variable | Default | Purpose |
|---|---|---|
COOKIDOO_EMAIL |
required | Cookidoo account email |
COOKIDOO_PASSWORD |
required | Cookidoo account password |
COOKIDOO_MCP_MODE |
stdio |
stdio for Claude Desktop, http for remote |
COOKIDOO_MCP_PORT |
8001 |
Local bind port (HTTP mode only) |
COOKIDOO_API_TOKEN |
empty | Bearer token required on /mcp. Empty = no middleware auth. |
COOKIDOO_QUALITY_BAR |
70 |
Minimum quality score required by upload_custom_recipe |
HTTP Transport
For remote use (e.g. claude.ai connectors) run the server in HTTP mode:
COOKIDOO_MCP_MODE=http \
COOKIDOO_API_TOKEN=$(openssl rand -hex 32) \
./venv/bin/python server.py
Endpoints:
POST /mcp: MCP protocol endpoint, requiresAuthorization: Bearer <COOKIDOO_API_TOKEN>if the token is set.GET /health: health check.
For production deployment behind a reverse proxy (Caddy/nginx/Traefik), terminate TLS at the proxy and forward to localhost:8001. A typical Caddy config injects the Bearer token server-side so the URL itself carries a path token, keeping credentials out of client config.
Troubleshooting
- 401 after ~1 hour of uptime. Fixed in
5f85973. The server now refreshes the OAuth token automatically before expiry. If you still see 401, update to latest. - Upload returns 404 on the response URL. Make sure you're on a version that points at
/created-recipes/{locale}/{id}/editrather than the old/recipes/custom-recipes/...path. - Zombie empty recipes in your account. Should not happen, since rollback runs automatically if the PATCH step fails. Delete leftovers with
delete_custom_recipeorlist_my_custom_recipes. - Step renders with "mark as done" checkbox instead of Play-Button. The verb prefix wasn't stripped. Ensure the step text starts with a quantity (e.g.
30 Sek./Stufe 5), not a verb (Mahlen 30 Sek./Stufe 5).
Known Limitations
- Shopping list ingredients land under "Sonstige" (Misc). When a custom recipe is added to the Cookidoo shopping list, every ingredient is categorized as
ShoppingCategory-rpf-10(Sonstige), regardless of what it is. This is a Cookidoo backend behaviour, not an MCP limitation: the public custom-recipe API accepts ingredients only as free-text strings, the Cookidoo web editor itself has no per-ingredient category picker or canonical-ingredient autocomplete, and the backend hardcodes therpf-10reference for every customer-recipe ingredient. Categorization on the shopping list works for native Cookidoo recipes because those carry a canonicalingredient_refthat maps to a category server-side. There is currently no known workaround.
Development
pip install -r requirements.txt
python -m pytest test_integration.py test_auth_refresh.py
test_integration.py creates a real recipe in the configured account, asserts backend rendering, and cleans up. Requires valid .env credentials.
Acknowledgments
- cookidoo-api by miaucl for the underlying Cookidoo client library.
- FastMCP for the MCP server framework.
License
MIT. See LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。