Mealie MCP
Connect an AI assistant to your recipes, meal plan, and shopping lists in Mealie.
Server URL: https://mealie-mcp.torrtle.co/mcp
Paste this URL into your AI app. The steps for each app are below.
What you need
You need three things before you start:
- An account on
auth.torrtle.coin themealiegroup. Ask Ryan for one. - One sign-in to Mealie at https://recipes.torrtle.co. Your first sign-in creates your Mealie account.
Create a Mealie token
The server uses a Mealie token to act as you. You create the token once.
- Open https://recipes.torrtle.co/user/profile/api-tokens.
- Enter a name, for example
MCP. - Select Generate.
- Copy the token. Mealie shows it only once.
The server asks for this token the first time you connect. It encrypts the token before it saves it.
Connect your AI app
Claude on the web, desktop, or phone
- Open claude.ai → Settings → Connectors.
- Select Add custom connector.
- Enter the name
Mealieand the server URL. - Select Connect.
- Sign in on the Authelia page.
- Paste your Mealie token on the "Link Mealie" page.
The connector also appears in the Claude desktop and phone apps. You connect it only once.
Claude Code
- Run this command in a terminal:
claude mcp add --transport http mealie https://mealie-mcp.torrtle.co/mcp - Run
/mcpin Claude Code. - Select mealie, then Authenticate.
- Sign in on the Authelia page.
- Paste your Mealie token on the "Link Mealie" page.
Grok and other apps
Some apps support sign-in with OAuth. For those apps, add the server URL and follow the sign-in steps above.
Other apps accept only a URL and a token. For those apps, use a personal access token:
- Open https://mealie-mcp.torrtle.co/account.
- Sign in on the Authelia page.
- Paste your Mealie token if the page asks for it.
- Select Create access token. Enter a name, for example
Grok. - Copy the token. The page shows it only once.
- Paste the server URL
https://mealie-mcp.torrtle.co/mcpand the token into the app.
For example, the xAI API takes the token in the remote MCP tool settings:
"tools": [{
"type": "mcp",
"server_url": "https://mealie-mcp.torrtle.co/mcp",
"server_label": "mealie",
"authorization": "Bearer mmcp_pat_..."
}]
Things to ask
Ask in plain words. For example:
- "What is on the meal plan this week?"
- "Find a chicken recipe that takes less than 30 minutes."
- "Import this recipe: https://…"
- "Add the ingredients for lemon pasta to my shopping list."
- "Put tacos on Friday for dinner."
- "I cooked the lentil soup tonight."
The assistant sees only your own Mealie data and the data your household shares in Mealie.
What the assistant can do
| Area | Actions |
|---|---|
| Recipes | Search, read, scale, import from a web page, create, edit, tag, delete, and record a cooked meal. |
| Meal plan | Read a date range, add, change, or remove a meal, and add a random meal. |
| Shopping lists | Read lists, add items, add a recipe's ingredients, mark items as bought, and remove items. |
To delete a recipe, the assistant must repeat the exact recipe name. Claude also asks you before it changes data.
Manage your connection
Open https://mealie-mcp.torrtle.co/account to manage your connection. The page lets you do these things:
- Replace your Mealie token.
- See your connected apps and access tokens.
- Revoke one access token, or disconnect all apps.
Sign in again every 30 days. After 30 days without a sign-in, your apps stop working until you sign in on the account page or reconnect.
Fix a problem
| Message | Fix |
|---|---|
| "Your Mealie link stopped working" | Your Mealie token was deleted. Create a new token, then paste it on the account page. |
| "Access denied" after sign-in | Your account is not in the mealie group. Ask Ryan to add it. |
| "The Mealie account email must match" | Use a token from your own Mealie account. The email in Mealie must match your sign-in email. |
| "rate limited" | Wait one minute. Each person can make 60 requests per minute. |
| "Link expired" | Start the connection again from your AI app. |
Privacy
- The server stores your Mealie token in encrypted form.
- The server logs which action you use and when. It does not log your recipes, lists, or questions.
- The server does not store recipes. All data stays in Mealie.