craftpip

๐Ÿณ Kitchen MCP

Community craftpip
Updated

๐Ÿณ 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

MCP Server ยท Populars

MCP Server ยท New

    agent-room-alkl

    Agent Room

    Multi-agent collaboration rooms for Claude Code, Cursor, Codex & Gemini โ€” distributed dev, code review, PR handoff, FEโ†”BE integration. MCP-native, self-hostable.

    Community agent-room-alkl
    Last-emo-boy

    Rikune

    MCP Server

    Community Last-emo-boy
    koul777

    PR MCP Builder

    PR MCP Builder - ๊ณต๊ณต๊ธฐ๊ด€ ๊ทœ์ • MCP ๋นŒ๋”

    Community koul777
    TrueClicks

    Google Ads MCP (Node.js) - by TrueClicks

    The easiest to use Google Ads MCP. Connect Google Ads with Claude's AI in seconds and let it analyze your campaigns. You'll be surprised how well the AI knows PPC! This is the only Google Ads MCP where you won't need to create developer tokens or OAuth credentials.

    Community TrueClicks
    whuanle

    EasyTouch

    ไธ€ไธช่ทจๅนณๅฐ็š„็ณป็ปŸ่‡ชๅŠจๅŒ–ๆ“ไฝœๅทฅๅ…ท๏ผŒๆ”ฏๆŒ้ผ ๆ ‡ใ€้”ฎ็›˜ใ€ๅฑๅน•ใ€็ช—ๅฃใ€็ณป็ปŸ่ต„ๆบ็ญ‰ๅคš็งๆ“ไฝœใ€‚ๆ”ฏๆŒ CLI ๅ’Œ MCP ไธค็งไฝฟ็”จๆ–นๅผใ€‚

    Community whuanle