
Model Context Protocol (MCP) server for Mealie recipe management, meal planning, and shopping lists
概览
A Model Context Protocol (MCP) server that enables AI assistants to interact with Mealie for recipe management, meal planning, and shopping lists. - mealie_recipes_search - Search recipes by name, tags, or categories - mealie_recipes_get - Get full recipe details including ingredients and instructions - mealie_recipes_list - List all recipes with pagination - mealie_recipes_create - Create a new recipe - mealie_recipes_create_from_url - Import recipe by scraping a URL - mealie_recipes_update - Update an existing recipe - mealie_recipes_update_structured_ingredients - Update recipe with structured ingredients from parser - mealie_recipes_delete - Delete a recipe - mealie_mealplans_list - List meal plans for a date range - mealie_mealplans_today - Get today's meals - mealie_mealplans_get - Get specific meal plan entry - mealie_mealplans_get_date - Get meals for a specific date - mealie_mealplans_create - Create meal plan entry - mealie_mealplans_update - Update meal plan entry -...
README
以下为原文 README 节选,完整内容请查看原文。
Mealie MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with Mealie for recipe management, meal planning, and shopping lists.
Features
Tools (31 total)
Recipes
mealie_recipes_search- Search recipes by name, tags, or categoriesmealie_recipes_get- Get full recipe details including ingredients and instructionsmealie_recipes_list- List all recipes with paginationmealie_recipes_create- Create a new recipemealie_recipes_create_from_url- Import recipe by scraping a URLmealie_recipes_update- Update an existing recipemealie_recipes_update_structured_ingredients- Update recipe with structured ingredients from parsermealie_recipes_delete- Delete a recipe
Meal Planning
mealie_mealplans_list- List meal plans for a date rangemealie_mealplans_today- Get today’s mealsmealie_mealplans_get- Get specific meal plan entrymealie_mealplans_get_date- Get meals for a specific datemealie_mealplans_create- Create meal plan entrymealie_mealplans_update- Update meal plan entrymealie_mealplans_delete- Delete meal plan entrymealie_mealplans_random- Get random meal suggestion
Shopping Lists
mealie_shopping_lists_list- List all shopping listsmealie_shopping_lists_get- Get shopping list with itemsmealie_shopping_lists_create- Create new shopping listmealie_shopping_lists_delete- Delete shopping listmealie_shopping_items_add- Add item to listmealie_shopping_items_add_bulk- Add multiple items at oncemealie_shopping_items_check- Mark item checked/uncheckedmealie_shopping_items_delete- Remove item from listmealie_shopping_add_recipe- Add recipe ingredients to listmealie_shopping_generate_from_mealplan- Generate shopping list from meal planmealie_shopping_clear_checked- Clear all checked items
Ingredient Parsing
mealie_parser_ingredient- Parse single ingredient string to structured formatmealie_parser_ingredients_batch- Parse multiple ingredient strings at once
Resources
recipes://list- Browse all recipesrecipes://{slug}- View specific recipemealplans://current- Current week’s meal planmealplans://today- Today’s mealsmealplans://{date}- Specific date’s mealsshopping://lists- All shopping listsshopping://{list_id}- Specific shopping list
Prerequisites
- Docker (or Podman)
- A running Mealie instance
- Mealie API token
Quick Start
1. Get the Docker Image
安装
docker run -i --rm -e MEALIE_URL=https://your-mealie-instance.com -e MEALIE_API_TOKEN=your-api-token-here ghcr.io/mdlopresti/mealie-mcp:latest配置
{
"mcpServers": {
"mealie": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "MEALIE_URL=https://your-mealie-instance.com",
"-e", "MEALIE_API_TOKEN=your-api-token-here",
"ghcr.io/mdlopresti/mealie-mcp:latest"
]
}
}
}