Kitchen MCP
Your digital kitchen, powered by AI. Track what you have, discover what you can cook, and get guided through every recipe — step by step, timer by timer.
README
🍳 Kitchen MCP
Your digital kitchen, powered by AI. Track what you have, discover what you can cook, and get guided through every recipe — step by step, timer by timer.
Whether you're a home cook managing a busy kitchen or a developer building AI-powered cooking assistants, Kitchen MCP gives you the structured foundation to make it real.
🔍 What is this?
Kitchen MCP is a local-first Model Context Protocol server that connects an AI assistant to your kitchen. It knows your inventory, your recipes, your equipment, your restrictions, and your preferences — and it helps you cook better with all of it.
The AI never guesses. The server is always the source of truth.
✨ Features
| Feature | Status | Description |
|---|---|---|
| 📦 Inventory Management | ✅ | Track food by lot, location, expiry, and state (sealed, opened, cooked, frozen) |
| 📖 Recipe Engine | ✅ | Create, version, scale, and validate recipes with ingredients, steps, and equipment |
| 🎯 Smart Matching | ✅ | Find the best recipes based on what you have, your restrictions, and your taste |
| 👨🍳 Cooking Sessions | ✅ | Start a session, follow guided steps, track ingredient usage, get help when things go wrong |
| ⏱️ Kitchen Timers | ✅ | Create, pause, resume, and extend timers tied to cooking steps |
| 🚫 Dietary Restrictions | ✅ | Set allergies, intolerances, religious and ethical restrictions; server blocks unsafe recipes |
| 🌶️ Taste Preferences | ✅ | Set spice heat, saltiness, sweetness on a 0-10 scale; recipes scored to match |
| 🍞 Equipment Catalog | ✅ | Register stoves, pressure cookers, mixers, refrigerators; server checks compatibility |
| ⚖️ Unit Conversion | ✅ | Convert between grams, kilograms, milliliters, teaspoons, tablespoons, cups, and more |
| 🛒 Shopping Lists | 🔜 | Generate shopping needs from recipes and current inventory |
| 📅 Meal Planning | 🔜 | Plan meals for the week based on preferences, expiry, and inventory |
| ⏰ Expiry Tracking | 🔜 | Get notified before food goes bad, use expiring items first |
🚀 Quick Start
📋 Prerequisites
- Node.js >= 20
- npm
⬇️ Install
git clone https://github.com/craftpip/kitchen-mcp.git
cd kitchen-mcp
npm install
▶️ Run (stdio)
npm start
🌐 Run (HTTP)
npm run dev -- --http
Server listens on http://0.0.0.0:3100/mcp.
🐳 Docker
docker compose build && docker compose up -d
Data persists in the kitchen-mcp_kitchen-data volume.
🤖 Usage with AI Assistants
Add to your MCP client (like OpenCode, Claude Desktop, etc.):
{
"mcp": {
"kitchen": {
"type": "remote",
"url": "http://localhost:3100/mcp"
}
}
}
Once connected, the AI can:
| Ask | What happens | |
|---|---|---|
| 🗄️ | "What do I have?" | Checks inventory, shows what's in stock |
| 🍽️ | "What can I cook for lunch?" | Matches recipes to your inventory and preferences |
| 👨🍳 | "Start cooking the egg curry" | Creates session, guides through each step |
| ⏱️ | "Set a 10-minute timer" | Creates kitchen timer, tracks it |
| 📦 | "Add 1kg of rice to the pantry" | Adds inventory lot with full tracking |
| 🚫 | "I'm allergic to peanuts" | Blocks all peanut-containing recipes |
🛠️ 66 Tools
| Category | 🔧 | What it does |
|---|---|---|
| 💚 System | 2 | Health check, capabilities |
| 🗺️ Locations | 3 | Rooms, shelves, cabinets, drawers |
| 🥕 Ingredients | 4 | Catalog, aliases, search |
| 📦 Inventory | 7 | Lots, transactions, expiry tracking |
| 🍞 Equipment | 6 | Appliances, calibration, availability |
| ⚖️ Measurements | 3 | Unit conversion, household containers |
| 📖 Recipes | 9 | CRUD, versioning, scaling, availability |
| 🚫 Restrictions | 3 | Allergies, intolerances, dietary rules |
| 🌶️ Preferences | 3 | Spice heat, saltiness, sweetness |
| 🎯 Matching | 1 | Recipe scoring engine |
| 👨🍳 Sessions | 16 | Cooking lifecycle, step tracking |
| ⏱️ Timers | 9 | Kitchen timers with full control |
🏗️ Architecture
Kitchen MCP follows a strict principle: the server is the authority.
- 🗄️ SQLite with WAL mode for reliability
- 🔒 All state changes go through structured tools
- 📖 Recipe versions are immutable once used in sessions
- 📦 Inventory deductions happen via transactions, never direct overwrites
- 📝 Every action is audit-logged
The AI interprets natural language, picks the right tools, and explains results. The server stores facts, validates requests, and enforces rules. Neither side does the other's job.
🧑💻 Development
# Typecheck
npx tsc --noEmit
# Build
npm run build
# Test
npm test
# Dev (HTTP mode)
npm run dev -- --http
📁 Project Structure
src/
├── 🛠️ server/tools/ # 13 tool files, 66 tools
├── 🏗️ domain/ # Services and types per domain
├── ⚙️ infrastructure/ # Database, audit, idempotency, logging
└── 📦 shared/ # Response envelope, errors, IDs, time
📄 License
MIT
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。