mcp-mealie
Allows interaction with a Mealie instance, providing tools for managing recipes, meal plans, and cookbooks, including searching, creating, updating, and deleting recipes, planning meals, and organizing cookbooks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-mealieWhat's on the meal plan for today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-mealie
An MCP server for Mealie, built for agents rather than for API coverage. Eighteen curated tools over recipes, meal plans, and cookbooks, with responses trimmed hard enough that a recipe costs a few hundred tokens instead of a few thousand.
Works with any MCP client that speaks stdio: Claude Code, Claude Desktop, Cursor, Windsurf, Zed.
Install
No clone or virtualenv needed — uvx fetches it on demand.
{
"command": "uvx",
"args": ["mcp-mealie"],
"env": {
"MEALIE_URL": "https://mealie.example.com",
"MEALIE_API_TOKEN": "your-token"
}
}Create the token in Mealie under Settings → API Tokens.
Claude Code
claude mcp add mealie \
--env MEALIE_URL=https://mealie.example.com \
--env MEALIE_API_TOKEN=your-token \
-- uvx mcp-mealieClaude Desktop, Cursor, Windsurf, Zed
Add the JSON block above under mcpServers in the client's config file.
Related MCP server: Mealie MCP Server
Configuration
Variable | Required | Default | Purpose |
| yes | — | Base URL of your Mealie instance |
| yes | — | Long-lived API token |
| no |
| Hide every write tool |
| no |
| Set false for self-signed certs (homelab only) |
| no |
| Log verbosity, to stderr |
Booleans accept 1/true/yes/on and their negations. An unrecognized value is a
startup error rather than a silent false.
Requires Mealie 2.0 or newer. The server checks at startup and refuses to run
against 1.x, which has no /api/households endpoints.
Tools
Recipes — search_recipes, get_recipe, suggest_recipes,
create_recipe, update_recipe, delete_recipe, import_recipe_from_url
Meal plans — get_meal_plan, get_todays_meals, add_meal_plan_entry,
delete_meal_plan_entry, random_meal_plan
Cookbooks — list_cookbooks, get_cookbook_recipes, create_cookbook,
delete_cookbook
Other — parse_ingredients, manage_taxonomy
With MEALIE_READ_ONLY=true, nine read tools remain.
Things it does for you
Ingredients as plain text.
create_recipeaccepts["2 cups flour", "pinch of salt"]and runs them through Mealie's parser. Structured objects work too; the two can be mixed.Tags by name. Mealie's API needs tag objects with a name and a slug. Pass
["Vegan"]and the server resolves or creates it, then tells you which ones were new.Updates don't wipe tags. Mealie's PATCH replaces list fields wholesale.
update_recipemerges tags and categories by default; passreplace_tagsto overwrite.A random week is one call. Mealie's random endpoint fills one day per request.
random_meal_planloops for you, capped at 14 days.
Safety
MEALIE_READ_ONLY=trueprevents write tools from being registered at all.delete_reciperequires the slug twice:delete_recipe(slug, confirm_slug).Write requests are never retried — Mealie has no idempotency key, and a retried create would duplicate the recipe.
Bundled skill
skills/mealie/SKILL.md covers the workflows the tool list alone doesn't
teach: planning a week without repeats, filing an imported recipe, and writing
cookbook filters. Copy it into your agent's skills directory, or read it as
documentation.
Development
uv venv --python 3.11
uv pip install -e ".[dev]"
uv run pytestTests run entirely offline: shape.py against captured fixtures, client.py
against mocked HTTP. scripts/smoke.py hits a live instance on demand.
Related
Knuckles-Team/mealie-mcp takes the opposite approach — it generates 247 tools from Mealie's OpenAPI spec, one per endpoint. Use it if you want complete API coverage. Use this one if you want a small tool list and short responses.
License
MIT
mcp-name: io.github.mgummich/mcp-mealie
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server for Mealie that exposes its REST API to manage recipes, meal plans, shopping lists, cookbooks, and taxonomy through natural language.75MIT
- Alicense-qualityCmaintenanceAn MCP server for managing recipes, meal plans, shopping lists, and more through a self-hosted Mealie instance.1MIT
- Alicense-qualityDmaintenanceMCP server for MealMastery AI meal planning that enables users to manage meal plans, recipes, and grocery lists through natural language conversation with AI agents like Claude.61MIT
- Alicense-qualityAmaintenanceA MCP server for Mealie recipe management. Exposes 43 tools and 1 prompt for AI assistants to search, create, and manage recipes, meal plans, shopping lists, categories, and tags.656MIT
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server for generating rough-draft project plans from natural-language prompts.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mgummich/mcp-mealie'
If you have feedback or need assistance with the MCP directory API, please join our Discord server