Server data from the Official MCP Registry
MCP server for Mealie, the self-hosted recipe manager and meal planner
About
MCP server for Mealie, the self-hosted recipe manager and meal planner
Security Report
Valid MCP server (2 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (21/21 approved).
5 files analyzed ยท 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
What You'll Need
Set these up before or after installing:
Environment variable: MEALIE_URL
Environment variable: MEALIE_API_TOKEN
Environment variable: MEALIE_READ_ONLY
Environment variable: MEALIE_ACCEPT_LANGUAGE
Environment variable: MEALIE_INSECURE_TLS
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ni-c-mealie-mcp": {
"env": {
"MEALIE_URL": "your-mealie-url-here",
"MEALIE_API_TOKEN": "your-mealie-api-token-here",
"MEALIE_READ_ONLY": "your-mealie-read-only-here",
"MEALIE_INSECURE_TLS": "your-mealie-insecure-tls-here",
"MEALIE_ACCEPT_LANGUAGE": "your-mealie-accept-language-here"
},
"args": [
"-y",
"@ni-c/mealie-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
mealie-mcp
A Model Context Protocol server for Mealie, the self-hosted recipe manager and meal planner.
It gives a model a curated view of a Mealie instance: search and read recipes with their ingredients and steps, import new ones from a website, keep tags and categories tidy, plan meals, build shopping lists from those plans, and record what was actually cooked.
๐ Full documentation at mealie-mcp.ni-c.de

Mealie's REST API has 259 operations across 175 paths. This server exposes 52
tools, chosen so that the common tasks are one call and the dangerous surface is
not reachable at all. Verified against Mealie v3.22.0; the source of truth for
every request shape is the GET /openapi.json of a running instance, not the
published documentation, which is out of date in several places.
Requirements
- Node.js 22 or newer
- A Mealie instance and an API token from Settings โ API Tokens
Configuration
| Variable | Required | Description |
|---|---|---|
MEALIE_URL | yes | Base URL, e.g. https://mealie.example.com |
MEALIE_API_TOKEN | yes | Token from Settings โ API Tokens. It acts as the user who created it. |
MEALIE_READ_ONLY | no | Exactly true registers the 17 read tools only |
MEALIE_ACCEPT_LANGUAGE | no | e.g. de-DE; localises unit and label names |
MEALIE_INSECURE_TLS | no | Exactly true accepts a self-signed certificate, scoped to this connection |
The two booleans are compared against the literal string true, so a typo leaves
them off โ check the startup line on stderr, which reports the mode in effect.
The token is removed from the process environment once it has been read, so child
processes cannot pick it up out of /proc/<pid>/environ.
Install
Claude Desktop, or any MCP client that takes a JSON config:
{
"mcpServers": {
"mealie": {
"command": "npx",
"args": ["-y", "@ni-c/mealie-mcp"],
"env": {
"MEALIE_URL": "https://mealie.example.com",
"MEALIE_API_TOKEN": "โฆ"
}
}
}
}
claude mcp add mealie \
-e MEALIE_URL=https://mealie.example.com \
-e MEALIE_API_TOKEN=โฆ \
-- npx -y @ni-c/mealie-mcp
Codex (~/.codex/config.toml):
[mcp_servers.mealie]
command = "npx"
args = ["-y", "@ni-c/mealie-mcp"]
[mcp_servers.mealie.env]
MEALIE_URL = "https://mealie.example.com"
MEALIE_API_TOKEN = "โฆ"
Or as a container:
docker run --rm -i \
-e MEALIE_URL=https://mealie.example.com \
-e MEALIE_API_TOKEN=โฆ \
ghcr.io/ni-c/mealie-mcp
To poke at the tools interactively:
npx @modelcontextprotocol/inspector npx -y @ni-c/mealie-mcp
Tools
Recipes โ search_recipes, get_recipe, suggest_recipes, create_recipe,
update_recipe, duplicate_recipe, set_recipe_last_made, delete_recipe ๐
Import โ preview_recipe_url (dry run, saves nothing), import_recipe_from_url,
import_recipe_from_html_or_json, import_recipe_from_image
Organizing โ list_organizers, create_organizer, update_organizer,
delete_organizer ๐ โ each takes kind: tag | category | tool
Ingredients โ list_foods, create_food, merge_foods ๐, list_units,
create_unit, merge_units ๐, parse_ingredients
Meal plans โ list_mealplans, get_todays_meals, create_mealplan_entry,
create_random_meal, update_mealplan_entry, delete_mealplan_entry ๐
Shopping โ list_shopping_lists, get_shopping_list, create_shopping_list,
delete_shopping_list ๐, add_shopping_list_items, update_shopping_list_items,
delete_shopping_list_items ๐, add_recipe_to_shopping_list,
remove_recipe_from_shopping_list
Cookbooks โ list_cookbooks, get_cookbook, create_cookbook,
delete_cookbook ๐
Notes and sharing โ set_recipe_rating, add_recipe_comment,
delete_recipe_comment ๐, list_recipe_comments, list_recipe_timeline,
create_timeline_event, list_share_tokens, create_share_token ๐,
delete_share_token
Instance โ get_about
๐ needs a confirmation token: call once to receive one, then again with it.
Recipes can be addressed by slug or by UUID everywhere โ Mealie splits its identifier space between the two, and the tools resolve whichever they are given.
Not exposed, on purpose
Everything under /api/admin (backups, restore, maintenance, user, group and
household management, email, AI provider settings), /api/users/api-tokens (a tool
that mints API credentials is privilege-escalation surface), the authentication
routes, user CRUD and passwords, webhooks, event notifications and recipe actions
(all three trigger outbound HTTP from the instance), meal plan rules, migrations,
seeders, invitations, bulk export and ZIP download, and asset and image uploads.
PUT /api/recipes/{slug} is not exposed either: it replaces the entire 33-field
recipe object, so a partial update through it silently drops ingredients, steps and
tags. update_recipe uses PATCH.
Safety
- Instance content is untrusted input. Recipes are routinely scraped from
arbitrary websites and comments come from other users, so every tool result that
can contain instance content is prefixed with an explicit marker telling the model
to treat it as data. This matters after the import too: the text stays in the
database and comes back through
get_recipe. - The import tools make Mealie fetch, not this server. URLs are restricted to
public
http/httpsaddresses; loopback, private-range, link-local and.lan/.internal/.localhosts are refused. - Confirmation prompts quote no upstream text โ ids, counts and flags only.
- Responses are bounded: oversized results drop whole items rather than cutting the JSON mid-string, and a response body is never read past 8 MB.
- Redirects are refused so the token cannot be resent to another host.
See SECURITY.md for the trust model and how to report a vulnerability.
Development
npm install && npm test && npm run build
scripts/verify-live.mjs exercises all 52 tools against a throwaway Mealie
instance; the recipe for setting one up is in CONTRIBUTING.md.
The architecture diagram and the social card are rendered from
docs/assets/architecture.source.svg and docs/assets/og.json by
npm run assets; CI fails if a rendered copy was edited by hand.
Releasing
Everything is driven by a tag; there is no manual publish step.
-
Move the
[Unreleased]section of CHANGELOG.md to the new version and date it. The release workflow extracts that section withawk, so the## [x.y.z]heading shape matters. -
Bump
versioninpackage.json. -
npm run lint && npm run build && npm run test:coverage. -
Commit, then a signed annotated tag:
git tag -s v0.1.1 -m "v0.1.1" git push origin main v0.1.1
release.yml then verifies the tag matches package.json, publishes to npm over
Trusted Publishing (OIDC โ no npm token exists to leak) with provenance, syncs the
version into both server.json package entries, publishes to the MCP registry, and
cuts the GitHub release from the changelog section. ci.yml pushes the multi-arch
container image to GHCR in parallel.
License
MIT
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Fetch
Freeby Modelcontextprotocol ยท Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace ยท Developer Tools
Create, build, and publish Python MCP servers to PyPI โ conversationally.
MarkItDown
Freeby Microsoft ยท Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace ยท Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace ยท Finance
Free stock data and market news for any MCP-compatible AI assistant.
