kitchenowl-mcp
Enables AI assistants to manage shopping lists, recipes, meal plans, and shared expenses with a KitchenOwl instance via its REST API.
README
kitchenowl-mcp
An MCP server for KitchenOwl, built with FastMCP. It lets AI assistants (Claude, or any MCP client) manage your shopping lists, recipes, meal plan, and shared expenses over KitchenOwl's REST API.
It runs as a standalone service with streamable HTTP transport — typically as a Docker container next to your KitchenOwl instance. It is independent of KitchenOwl's built-in /api/mcp endpoint and also works with older KitchenOwl servers.
Quick start (Docker Compose)
cp .env.example .env # fill in KITCHENOWL_TOKEN (and JWT_SECRET_KEY for the bundled KitchenOwl)
docker compose up -d
The MCP endpoint is then available at http://localhost:8000/mcp.
If you already run KitchenOwl elsewhere, only build/run the kitchenowl-mcp service and point KITCHENOWL_URL at your instance.
Configuration
| Env var | Required | Default | Description |
|---|---|---|---|
KITCHENOWL_URL |
yes | — | Base URL of your KitchenOwl instance (no trailing /api) |
KITCHENOWL_TOKEN |
yes | — | Long-lived token of the KitchenOwl user to act as |
KITCHENOWL_HOUSEHOLD_ID |
no | auto | Default household; auto-picked when the user has exactly one |
MCP_HOST / MCP_PORT / MCP_PATH |
no | 0.0.0.0 / 8000 / /mcp |
Where the MCP HTTP endpoint listens |
MCP_SERVER_TOKEN |
no | unset | If set, MCP clients must send Authorization: Bearer <token> |
Getting a long-lived token
In the KitchenOwl app: Profile → Sessions → create a long-lived token, or via the API:
# 1. Log in (returns a short-lived access_token)
curl -X POST "$KITCHENOWL_URL/api/auth" -H 'Content-Type: application/json' \
-d '{"username":"you","password":"your-password"}'
# 2. Mint a long-lived token with it
curl -X POST "$KITCHENOWL_URL/api/auth/llt" \
-H "Authorization: Bearer <access_token>" \
-H 'Content-Type: application/json' -d '{"device":"kitchenowl-mcp"}'
Connecting a client
- Claude Code:
claude mcp add --transport http kitchenowl http://localhost:8000/mcp - Claude Desktop / claude.ai custom connector: add a remote MCP server with the URL
https://<your-host>/mcp(must be HTTPS-reachable; put a reverse proxy in front) - MCP Inspector:
npx @modelcontextprotocol/inspector, connect tohttp://localhost:8000/mcp(streamable HTTP)
If MCP_SERVER_TOKEN is set, configure the client to send it as a bearer token.
Tools
All household-scoped tools take an optional household_id; with a single household (or KITCHENOWL_HOUSEHOLD_ID set) it can be omitted.
Households — list_households, get_household (includes member ids for expenses)
Shopping lists — list_shopping_lists, create_shopping_list, rename_shopping_list, delete_shopping_list, get_shopping_list_items, add_shopping_list_item, update_shopping_list_item, remove_shopping_list_items (batch), get_recent_items, get_suggested_items, add_recipe_items_to_shopping_list, search_items, update_item
KitchenOwl has no check/uncheck state: removing an item means it was purchased and feeds the purchase history and suggestions.
Recipes — list_recipes, search_recipes, get_recipe, create_recipe, update_recipe, delete_recipe, import_recipe_from_url (scrapes a recipe website; returns a draft unless save=true)
Meal planner — get_meal_plan, add_recipe_to_plan, remove_recipe_from_plan, get_recipe_suggestions
Expenses — list_expenses, add_expense, update_expense, delete_expense, get_expense_categories, create_expense_category, get_expense_overview
Security
By default the MCP endpoint is unauthenticated — anyone who can reach it acts as the configured KitchenOwl user. Options, in increasing order of robustness:
- Keep the port on a trusted network (Docker-internal, LAN, VPN).
- Set
MCP_SERVER_TOKENto require a bearer token (static token — fine for personal use, not a full auth system). - Put a reverse proxy (Caddy/Traefik/nginx) with TLS in front — required anyway for claude.ai remote connectors.
Development
uv sync # install deps (Python >= 3.11)
uv run pytest # run the test suite (mocked KitchenOwl API)
uv run ruff check . # lint
KITCHENOWL_URL=... KITCHENOWL_TOKEN=... uv run kitchenowl-mcp # run locally
The tests use FastMCP's in-memory client with a respx-mocked KitchenOwl API, so no running KitchenOwl instance is needed.
Limitations / roadmap
- No item-catalog create/delete tools (
add_shopping_list_itemcreates catalog items implicitly). - No household create/delete or member management.
- Recipe
update_recipewithitems/tagsreplaces the full list (KitchenOwl API semantics). - KitchenOwl's own experimental MCP endpoint (
/api/mcp, recent versions) is an alternative if you don't need a separately deployable server.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。