Mealie MCP Server

by rldiao
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables interaction with a Mealie recipe database, allowing AI assistants to access and manipulate recipe data stored in a Mealie instance.

Mealie MCP Server

This project enables AI assistants to interact with your Mealie recipe database through MCP client such as Claude Desktop.

Prerequisites

  • Python 3.12+
  • Running Mealie instance with API key
  • Package manager uv

Usage with Claude Desktop

Install the server directly with the fastmcp command:

fastmcp install src/server.py \ --env-var MEALIE_BASE_URL=https://your-mealie-instance.com \ --env-var MEALIE_API_KEY=your-mealie-api-key

Option 2: Manual Configuration

Add the server to your claude_desktop_config.json

{ "mcpServers": { "mealie-mcp-server": { "command": "uv", "args": [ "--directory", "/path/to/repo/src", "run", "server.py" ], "env": { "MEALIE_BASE_URL": "https://your-mealie-instance.com", "MEALIE_API_KEY": "your-mealie-api-key" } } } }

Development

  1. Clone the repository and navigate to the project directory
  2. Install dependencies using uv:
uv sync
  1. Copy the provided template file:
cp .env.template .env
  1. Edit the .env file with your Mealie instance details:
MEALIE_BASE_URL=https://your-mealie-instance.com MEALIE_API_KEY=your-mealie-api-key
  1. Run MCP inspector
uv run mcp dev src/server.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

-
security - not tested
A
license - permissive license
-
quality - not tested

Enables AI assistants to interact with Mealie recipe databases through MCP clients like Claude Desktop.

  1. Prerequisites
    1. Usage with Claude Desktop
      1. Option 1: Using fastmcp (Recommended)
      2. Option 2: Manual Configuration
    2. Development
      1. License
        ID: 1q7q3euxzk