worryzyy/HowToCook-mcp
TypeScript MCP server for HowToCook recipe lookup and household meal planning
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
HowToCook-mcp is a TypeScript MCP server that exposes the Anduin2017/HowToCook recipe collection to an existing assistant. The assistant invokes a tool over MCP; the Node.js process handles the recipe query or recommendation against the bundled all_recipes.json and returns results to the client. The project declares neither a model backend nor a separate database service. MCP is the integration boundary: the host supplies the conversation and model, while the server supplies recipe tools.
The dependency manifest includes @modelcontextprotocol/sdk, Commander, Express, and Zod. The package exposes a howtocook-mcp binary, and a source build produces the runnable build/index.js. The CLI defaults to stdio for client-launched processes. For network deployment, --transport selects HTTP or SSE and --port controls the listening port, which defaults to 3000.
Key Capabilities & Differentiators
The server exposes five functions: fetch the entire catalog, filter by category, retrieve a recipe by dish name, generate a weekly meal plan, and recommend a menu for today. Category examples include seafood, breakfast, meat dishes, and staples. Named recipe lookup returns ingredient and cooking-step details, making it the better call when the user has already picked a dish.
Both recommendation tools accept peopleCount from 1 to 10. The weekly planner also accepts allergies and avoidItems lists, while the today-menu interface exposes only the diner count. Do not assume that exclusions passed to the weekly planner carry over to the quicker menu tool. No exact matching rules, nutrition targets, or allergy validation guarantees are established by the exposed interface.
Trade-offs & Limitations
Compared with browsing HowToCook directly, the server adds structured tool calls and meal-planning inputs, not a different recipe corpus. That is useful when meal planning already happens in an MCP client; it adds configuration and another process when a recipe page would suffice. Bundling JSON avoids running a separate data service, but there is no established live sync mechanism. Check which recipe snapshot you are deploying and how you will refresh it if freshness matters.
Prefer category and name lookups over full-catalog fetches to limit client context growth. Treat allergy filtering as a planning aid, not a guarantee: verify ingredients, substitutions, and cross-contact separately. Compose publishes a host port without showing an authentication or TLS layer; keep it private unless you have verified and configured the necessary access controls. The project identifies MIT, but the root listing exposes no standalone license file, so confirm code and bundled-data terms before redistribution.
Hardware & Deployment Guide
For local source use, the stated baseline is Node.js 16+ and npm or yarn. Run npm install and npm run build, then have the MCP client launch node with build/index.js, or configure it to run npx -y howtocook-mcp. Claude Desktop users can install the included HowToCook-mcp.dxt on a compatible client. Bundled recipe data removes the need to connect the tool server to a database service; package setup and any hosted model used by the client are separate network considerations.
docker compose up --build builds from the working tree, publishes 3000:3000, and runs HTTP MCP at /mcp by default. The container probes /health every 30 seconds with a three-second timeout and restarts unless stopped. A hosted endpoint is also listed, but no GitHub release milestone is available to establish a release cadence. For repeatable deployments, pin the package version or source revision you have tested instead of relying on an unpinned npm invocation or the latest image label.
howtocook-mcp CLI, with a compiled Node.js entry point at build/index.js.all_recipes.json derived from Anduin2017/HowToCook; no database service is declared.allergies and avoidItems; both recommendation tools accept peopleCount from 1 to 10./mcp on port 3000, with SSE selectable./health.Households already using an MCP-compatible assistant that want to look up HowToCook recipes and plan menus for 1–10 diners without running a separate database.
You only need to read recipes, or you require verified allergy safeguards, nutrient optimization, automatic upstream sync, or a turnkey authenticated public endpoint.
Quick Start & Installation
npm installComparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| HowToCook-mcp ★ | 814 | +3 | TypeScript | — | TypeScript MCP server for HowToCook recipe lookup and household meal planning |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| skills | 42.3k | +1.1k | TypeScript | MIT | TypeScript CLI for distributing and restoring skills across coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/worryzyy/HowToCook-mcp.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about HowToCook-mcp
Which transport should I configure in my MCP client?
/mcp on the published host port, which defaults to 3000. Select SSE only if your client expects that transport. /health is the container health probe, not the client endpoint.Does self-hosting require a GPU or significant memory?
Can we self-host it internally or redistribute it commercially?
all_recipes.json.When is this preferable to using HowToCook directly or integrating the JSON myself?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy