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:

Create a Mealie token

The server uses a Mealie token to act as you. You create the token once.

  1. Open https://recipes.torrtle.co/user/profile/api-tokens.
  2. Enter a name, for example MCP.
  3. Select Generate.
  4. 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

  1. Open claude.ai → Settings → Connectors.
  2. Select Add custom connector.
  3. Enter the name Mealie and the server URL.
  4. Select Connect.
  5. Sign in on the Authelia page.
  6. 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

  1. Run this command in a terminal:
    claude mcp add --transport http mealie https://mealie-mcp.torrtle.co/mcp
  2. Run /mcp in Claude Code.
  3. Select mealie, then Authenticate.
  4. Sign in on the Authelia page.
  5. 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:

  1. Open https://mealie-mcp.torrtle.co/account.
  2. Sign in on the Authelia page.
  3. Paste your Mealie token if the page asks for it.
  4. Select Create access token. Enter a name, for example Grok.
  5. Copy the token. The page shows it only once.
  6. Paste the server URL https://mealie-mcp.torrtle.co/mcp and 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:

The assistant sees only your own Mealie data and the data your household shares in Mealie.

What the assistant can do

AreaActions
RecipesSearch, read, scale, import from a web page, create, edit, tag, delete, and record a cooked meal.
Meal planRead a date range, add, change, or remove a meal, and add a random meal.
Shopping listsRead 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:

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

MessageFix
"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-inYour 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