What it does
MCP server for Mealie, the self-hosted recipe manager and meal planner
- Connects Runs on your computer
- Account or key Needs MEALIE_API_TOKEN · 1 setting to fill in (MEALIE_URL)
- Category Games, sports, food & learning
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 6/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 18/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Mealie MCP Server. Follow https://mcp.popnx.com/i/ni-c-mealie-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Mealie MCP Server for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "mealie": { "command": "npx", "args": [ "-y", "@ni-c/mealie-mcp" ], "env": { "MEALIE_URL": "your-value", "MEALIE_API_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MEALIE_API_TOKEN, MEALIE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mealie MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Sign up and create a Mealie MCP Server key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEALIE_URLBase URL of the Mealie instance, e.g. https://mealie.example.com
Descriptions are as written by the maker.
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "mealie": { "command": "npx", "args": [ "-y", "@ni-c/mealie-mcp" ], "env": { "MEALIE_URL": "your-value", "MEALIE_API_TOKEN": "your-value" } } } }Paste the key only into the app’s field, never into a chat or to anyone
Quit Claude and open it again
Try it
Use Mealie MCP Server and tell me what you can do for me, then show me one thing✓ If Claude says it is using Mealie MCP Server or shows a Mealie MCP Server tool in the answer, you are connected
5 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEALIE_READ_ONLYExactly 'true' registers only the 18 read toolsMEALIE_ACCEPT_LANGUAGEAccept-Language header, e.g. de-DE; localises unit and label namesMEALIE_INSECURE_TLSExactly 'true' accepts a self-signed certificate, scoped to this connectionMEALIE_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)MEALIE_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever MEALIE_ALLOW_TOOLS left
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Mealie MCP Server yet
Mealie MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect Mealie MCP Server
- You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time)
- You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time)
- You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time)
B · Others in Games, sports, food & learning that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- ShipSwift✓ ChatGPT
- Anime Garden✓ ChatGPT
- Summer Engine✓ ChatGPT
Works with Claude Code, with some setup first
You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Mealie MCP Server for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user mealie --env MEALIE_URL=your-value --env MEALIE_API_TOKEN=your-value -- npx -y @ni-c/mealie-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MEALIE_API_TOKEN, MEALIE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mealie MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Sign up and create a Mealie MCP Server key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEALIE_URLBase URL of the Mealie instance, e.g. https://mealie.example.com
Descriptions are as written by the maker.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user mealie --env MEALIE_URL=your-value --env MEALIE_API_TOKEN=your-value -- npx -y @ni-c/mealie-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
Type /mcp in Claude Code
You should see Mealie MCP Server listed as connected
Try it
Use Mealie MCP Server and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Mealie MCP Server or shows a Mealie MCP Server tool in the answer, you are connected
5 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEALIE_READ_ONLYExactly 'true' registers only the 18 read toolsMEALIE_ACCEPT_LANGUAGEAccept-Language header, e.g. de-DE; localises unit and label namesMEALIE_INSECURE_TLSExactly 'true' accepts a self-signed certificate, scoped to this connectionMEALIE_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)MEALIE_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever MEALIE_ALLOW_TOOLS left
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Mealie MCP Server for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "mealie": { "command": "npx", "args": [ "-y", "@ni-c/mealie-mcp" ], "env": { "MEALIE_URL": "your-value", "MEALIE_API_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MEALIE_API_TOKEN, MEALIE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mealie MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Sign up and create a Mealie MCP Server key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEALIE_URLBase URL of the Mealie instance, e.g. https://mealie.example.com
Descriptions are as written by the maker.
Fill in your key
In the Mealie MCP Server settings, MEALIE_API_TOKEN, MEALIE_URL is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in Cursor in Agent mode
Try it
Use Mealie MCP Server and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Mealie MCP Server or shows a Mealie MCP Server tool in the answer, you are connected
5 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEALIE_READ_ONLYExactly 'true' registers only the 18 read toolsMEALIE_ACCEPT_LANGUAGEAccept-Language header, e.g. de-DE; localises unit and label namesMEALIE_INSECURE_TLSExactly 'true' accepts a self-signed certificate, scoped to this connectionMEALIE_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)MEALIE_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever MEALIE_ALLOW_TOOLS left
Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Mealie MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (MEALIE_URL) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Mealie MCP Server for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "mealie": { "type": "stdio", "command": "npx", "args": [ "-y", "@ni-c/mealie-mcp" ], "env": { "MEALIE_URL": "your-value", "MEALIE_API_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MEALIE_API_TOKEN, MEALIE_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mealie MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Sign up and create a Mealie MCP Server key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEALIE_URLBase URL of the Mealie instance, e.g. https://mealie.example.com
Descriptions are as written by the maker.
Fill in your key
In the Mealie MCP Server settings, MEALIE_API_TOKEN, MEALIE_URL is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in VS Code in Agent mode
Try it
Use Mealie MCP Server and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Mealie MCP Server or shows a Mealie MCP Server tool in the answer, you are connected
5 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEALIE_READ_ONLYExactly 'true' registers only the 18 read toolsMEALIE_ACCEPT_LANGUAGEAccept-Language header, e.g. de-DE; localises unit and label namesMEALIE_INSECURE_TLSExactly 'true' accepts a self-signed certificate, scoped to this connectionMEALIE_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)MEALIE_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever MEALIE_ALLOW_TOOLS left
Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user mealie --env MEALIE_URL=your-value --env MEALIE_API_TOKEN=your-value -- npx -y @ni-c/mealie-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"mealie": {
"command": "npx",
"args": [
"-y",
"@ni-c/mealie-mcp"
],
"env": {
"MEALIE_URL": "your-value",
"MEALIE_API_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"mealie": {
"command": "npx",
"args": [
"-y",
"@ni-c/mealie-mcp"
],
"env": {
"MEALIE_URL": "your-value",
"MEALIE_API_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"mealie": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/mealie-mcp"
],
"env": {
"MEALIE_URL": "your-value",
"MEALIE_API_TOKEN": "your-value"
}
}
}
}Values you fill in
MEALIE_URLrequired envBase URL of the Mealie instance, e.g. https://mealie.example.comMEALIE_API_TOKENsecret required envAPI token created in Mealie under Settings → API TokensMEALIE_READ_ONLYenvExactly 'true' registers only the 18 read toolsMEALIE_ACCEPT_LANGUAGEenvAccept-Language header, e.g. de-DE; localises unit and label namesMEALIE_INSECURE_TLSenvExactly 'true' accepts a self-signed certificate, scoped to this connectionMEALIE_ALLOW_TOOLSenvComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)MEALIE_DENY_TOOLSenvComma-separated tool names or list_* prefixes to remove from whatever MEALIE_ALLOW_TOOLS left
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
- Downloads per weeki
- 97/wk
- Connection
- Runs on your computer
- Latest versioni
- 0.6.0
- Categoryi
- Games, sports, food & learning
- Published to registryi
- Oct 7, 2026
- Code last changedi
- Nov 18, 2026
- Maker
- ni-c
- Packages
npm: @ni-c/mealie-mcpoci: ghcr.io/ni-c/mealie-mcp:0.6.0- Website
- mealie-mcp.ni-c.de
- Registry status
- Active
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account ni-c, which owns the repo
- ✓ Pass
Still maintained
Code last changed yesterday
- ✓ Pass
Has a licence
Uses MIT
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
No entries on OSV.dev for @ni-c/mealie-mcp@0.6.0
Checks only this package version, not every dependency · checked Nov 15, 2026
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/ni-c-mealie-mcp)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Games, sports, food & learningi
- More stars than 91% of the other 1614 servers in this category
- Published to the registry more recently than 35% of the other 1614 servers in this category
- Basic checks equal to or better than 99% of the other 1614 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Mealie MCP Server safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: MEALIE_API_TOKEN
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed yesterday, and the latest version (0.6.0) reached the registry 43 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, Docker on your computer.
What can I use instead?
In the same category: Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
WilmAI
Finland's Wilma school system for parents and students: schedule, homework, exams and messages.
Lumify Sports Intelligence
Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.
Savecraft
Savecraft serves real save game data and expert game knowledge to AI assistants.
GoodWatch
Find movies and TV shows, track watches, and get suggestions based on your taste.
| This one Mealie MCP Server | Anime Garden | WilmAI | Lumify Sports Intelligence | Savecraft | GoodWatch | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | Yes | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/4 | 3/3 | 4/4 | 3/4 | 4/4 |
| License | MIT | AGPL-3.0 | MIT | MIT | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
mealie-mcp
A Model Context Protocol (MCP) server for Mealie, the self-hosted recipe manager and meal planner.
Lets MCP clients like Claude Code, Claude Desktop or Codex work with your recipe collection: 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.
Fifty-three tools is the ceiling, not the floor: MEALIE_ALLOW_TOOLS=essential registers a curated eight instead, and a model picks the right tool far more reliably from eight than from fifty-four — see choosing which tools load.
Mealie's REST API has 259 operations across 175 paths. This server exposes 54 tools, chosen so that the common tasks are one call and the dangerous surface is not reachable at all. Verified against Mealie v3.28.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.
What makes it different
Fifty-three curated tools out of 259 API operations. Mealie's REST API is far larger than a model should reach into; what is here covers the common tasks in one call — search, read and import recipes, keep tags and categories tidy, plan meals, build shopping lists, manage cookbooks and ratings.
`update_recipe` uses PATCH, not PUT. Mealie's replace route silently drops recipe fields that were not sent; only the fields you name change here.
The dangerous surface is unreachable. No admin routes, no token minting, no webhooks and no outbound-HTTP triggers, whatever the token would allow.
Requirements
- Node.js 24 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 18 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 |
MEALIE_ALLOW_TOOLS | no | Comma-separated tool names, list_* prefixes, or essential for a curated preset |
MEALIE_DENY_TOOLS | no | Same syntax; removed from whatever MEALIE_ALLOW_TOOLS left |
ELICITATION | no | false replaces the approval dialog with the two-call token. Not prefixed |
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/ /environ.
Choosing which tools load
MEALIE_ALLOW_TOOLS and MEALIE_DENY_TOOLS take comma-separated tool names; a trailing * matches a whole family. essential is a curated preset of eight: search_recipes, get_recipe, import_recipe_from_url, create_recipe, get_todays_meals, create_mealplan_entry, list_shopping_lists, add_recipe_to_shopping_list.
MEALIE_ALLOW_TOOLS=essential
MEALIE_ALLOW_TOOLS=search_recipes,get_recipe,import_recipe_from_url MEALIE_DENY_TOOLS=delete_*
An entry that matches no tool aborts startup and names it, so a typo cannot silently hide a tool — an absent tool is not something anyone traces back to an environment variable. A filtered tool is never registered, so it is absent from tools/list and unknown to tools/call alike, exactly like a write tool under MEALIE_READ_ONLY.
If you run several of these servers at once, mcp-hub is the other answer — its /hub endpoint replaces every server's tools with six meta-tools.
Installation
Claude Code
claude mcp add mealie \
-e MEALIE_URL=https://mealie.example.com \ -e MEALIE_API_TOKEN=… \ -- npx -y @ni-c/mealie-mcp
Claude Desktop
The same entry works in 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": "…" } } } }
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 = "…"
MCP Inspector
To poke at the tools interactively:
npx @modelcontextprotocol/inspector npx -y @ni-c/mealie-mcp
Docker
docker run --rm -i \
-e MEALIE_URL=https://mealie.example.com \ -e MEALIE_API_TOKEN=… \ ghcr.io/ni-c/mealie-mcp
Through mcp-hub
A client that cannot spawn a local process — ChatGPT connectors, Claude on the web, Cursor, LibreChat — reaches mealie-mcp through mcp-hub: one container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login behind a single password and long-lived tokens for the clients that cannot do OAuth. Its /hub endpoint puts every server behind six meta-tools, so one connector reaches all of them without N×tool schemas in the model's context, and it speaks both protocol revisions — a question this server asks travels through it to the person at the far end.
Its /config/mcp.json uses Claude Code's format, so the entry is the one you already have:
{
"mcpServers": { "mealie": { "command": "npx", "args": ["-y", "@ni-c/mealie-mcp"], "env": { "MEALIE_ALLOW_TOOLS": "essential" }, "denyTools": ["delete_*"] } } }
allowTools and denyTools there are the hub's own per-server filter, which is not the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites, are in the client guide.
Tools
Every tool declares an outputSchema and answers with structuredContent alongside the text block, so a client can use the result without parsing prose. Nine tools that answered with a sentence — _"Deleted the recipe with id …"_ — now answer with the fields as well.
Most tools carry untrusted: true and source: "mealie" as fields: recipes are routinely scraped from arbitrary websites and comments come from other users of the instance. The eleven without it answer with an id this server was given — or, for get_about, a version string and the permission flags of the account it authenticates as, which are facts the model should act on.
Mealie's records are described as open objects with the top-level keys this server builds. A self-hosted Mealie is any release, and the SDK validates each result against its schema before it goes out — a strict shape would turn a field a release adds into a tool that fails outright.
Recipes — search_recipes, get_recipe, suggest_recipes, create_recipe, update_recipe, parse_recipe_ingredients, duplicate_recipe, set_recipe_image, 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
🔒 asks a person through MCP elicitation — a dialog the model cannot answer on its behalf. Where the client cannot show one it falls back to a two-call confirm_token. See Asking a person.
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),