Skip to content
UsecaseBoard
← All use cases
githubMeal Planning

Turn a Mealie recipe library into a weekly shopping list

At a glance

A Mealie community member connects a recipe library to Claude through an authenticated MCP server for menus and grouped groceries. This workflow is listed under Meal Planning, Grocery Lists, Self-hosting.

SourceBuilding a tool for these workflows? See weekly rates.

What they did

1) Have Mealie 3.30 or later, a populated recipe library, Docker Compose, and an MCP-capable assistant. In Mealie, create an API token under Profile > API Tokens. 2) Clone amercat37/mealie-mcp-server and copy .env.template to .env. Set MEALIE_BASE_URL to an address reachable from its container, MEALIE_API_KEY to your token, and MCP_SERVER_URL to the public server origin without /mcp. 3) For remote access, create an Authentik OAuth2/OpenID confidential provider and application with your assistant's callback URL and a signing key. Allow openid, profile, email, and offline_access. Set AUTHENTIK_ISSUER from the provider's issuer URL and AUTHENTIK_AUDIENCE from its client ID. 4) Run docker compose up -d. Put the server behind a TLS reverse proxy, add its /mcp address to your assistant, and authenticate. 5) Invoke weekly_meal_plan to choose library recipes and create entries with leftover planning. Invoke shopping_trip to consolidate ingredients by store section. Check the saved menu and shopping list in Mealie, then tick off purchases.

Worth knowing

Authentication is opt-in; an unset issuer leaves the server unauthenticated. This implementation deliberately excludes editing or deleting existing recipes. The discussion and linked README document the workflow, without measured household outcomes.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

No prompt excerpt was provided by the source.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →