Paprika MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Paprika MCP Server find recipes with chicken and broccoli"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Paprika MCP Server
A Model Context Protocol (MCP) server for the Paprika Recipe Manager, allowing AI assistants to search, read, and update recipes.
Features
Search Recipes: Search across recipe titles, ingredients, categories, directions, and notes with context
Read Recipes: Get full recipe data including all metadata, ingredients, and directions
Update Recipes: Safely update recipe fields using find/replace (requires user confirmation)
Related MCP server: Mealie MCP Server
Prerequisites
Python 3.10 or higher (Python 3.13 recommended)
A Paprika account with recipes
Node.js (for pre-commit hooks, optional)
Quick Start
Run the setup script to install everything and configure credentials:
cd paprika-mcp
./setup.shThis will:
Install paprika-mcp with dependencies
Set up pre-commit hooks (if npm available)
Manual Installation
If you prefer manual setup:
1. Install paprika-recipes
cd ../paprika-recipes
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
deactivate2. Install paprika-mcp
cd ../paprika-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"3. Configure credentials
Option 1: Interactive setup
source .venv/bin/activate
paprika-mcp setupOption 2: Manual config file
Create ~/.paprika-mcp/config.json:
{
"email": "your@email.com",
"password": "yourpassword"
}Set permissions:
chmod 600 ~/.paprika-mcp/config.jsonOption 3: Environment variables
export PAPRIKA_EMAIL="your@email.com"
export PAPRIKA_PASSWORD="yourpassword"Credential Management
The server uses a credential flow designed for MCP stdio transport:
Priority order:
PAPRIKA_EMAILandPAPRIKA_PASSWORDenvironment variables~/.paprika-mcp/config.jsonfile
Note: This server manages credentials independently from the paprika-recipes CLI tool's keyring storage. This simplifies the credential flow for MCP stdio transport where the process is spawned by the AI app.
User-Agent
If you have Paprika for Mac installed, the fork of the paprika-recipes Python package should automatically create a suitable User-Agent string. Otherwise, you might have to set the PAPRIKA_USER_AGENT environment variable or the "user_agent" property in config.json.
Usage
As an MCP Server
Add to your MCP client configuration (e.g., Claude Desktop's ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"paprika": {
"command": "/Users/yourusername/Developer/paprika-mcp/.venv/bin/paprika-mcp"
}
}
}Or use environment variables:
{
"mcpServers": {
"paprika": {
"command": "/Users/yourusername/Developer/paprika-mcp/.venv/bin/paprika-mcp",
"env": {
"PAPRIKA_EMAIL": "your@email.com",
"PAPRIKA_PASSWORD": "yourpassword"
}
}
}
}Available Tools
format_fraction
Format a fraction string to unicode fraction characters. This tool is local-only and doesn't require Paprika server connectivity - useful for testing.
Parameters:
fraction(required): Fraction in the form "numerator/denominator" (e.g., "1/4", " 31 / 200 "), or already formatted unicode
Features:
Handles already-formatted unicode fractions (returns them as-is)
Strips whitespace from input
Converts common fractions to dedicated unicode characters
Composes complex fractions using superscript/subscript digits
Examples:
{
"fraction": "1/4"
}Returns: ¼
{
"fraction": " 31 / 200 "
}Returns: ³¹⁄₂₀₀ (whitespace stripped)
{
"fraction": "¼"
}Returns: ¼ (already formatted, returned as-is)
Common fractions (1/4, 1/2, 3/4, 1/3, 2/3, etc.) use dedicated Unicode characters. Complex fractions are composed using superscript numerator + fraction slash (⁄) + subscript denominator.
search_recipes
Search for recipes by text across multiple fields.
Parameters:
query(required): Text to search forfields(optional): Array of fields to search in:["name", "ingredients", "categories", "directions", "notes"]context_lines(optional): Number of context lines around matches (default: 2)
Example:
{
"query": "chicken",
"fields": ["name", "ingredients"],
"context_lines": 2
}read_recipe
Read full recipe data by ID or title.
Parameters:
idortitle(one required): Recipe UUID or exact recipe name
Note: Title matching uses Unicode normalization (NFD), so it works correctly with accented characters regardless of their unicode representation (e.g., "café" will match "café").
Example:
{
"id": "RECIPE-UUID-HERE"
}or
{
"title": "Chocolate Chip Cookies"
}User Preferences (Prompts)
You can provide context to the AI about how you want it to work with your recipes by creating a ~/.paprika-mcp/prompt.md file. This will be automatically loaded as a prompt when the MCP server starts.
Example prompt file:
# Recipe Management Preferences
- Always preserve source URLs and attribution
- Prefer metric measurements
- I'm cooking for 2 people typically
- I avoid peanuts (allergy)
- Categorize using: Breakfast, Lunch, Dinner, Desserts, SnacksSee prompt.example.md for a complete template.
update_recipe
Update a recipe field using find/replace.
⚠️ DANGEROUS: This tool modifies recipe data. User confirmation is recommended before execution.
Parameters:
id(required): Recipe UUIDfield(required): Field to update (name, ingredients, directions, notes, etc.)find(required): Text to findreplace(required): Text to replace withregex(optional): Treat find pattern as regex (default: false)
Example:
{
"id": "RECIPE-UUID-HERE",
"field": "ingredients",
"find": "1 cup sugar",
"replace": "3/4 cup sugar"
}Code Changes and Rebuilding
The package is installed in editable mode (pip install -e .), so:
✓ No rebuild needed: Changes to
.pyfiles are immediately available⚠️ Restart required: MCP clients cache the stdio process - restart VS Code or your MCP client to pick up changes
↻ Reinstall needed: Only for
pyproject.tomlor entry point changes
Force reinstall if needed:
.venv/bin/pip install -e . --force-reinstall --no-depsPre-commit Hooks
Pre-commit hooks run automatically via Husky when you commit. They:
Only run on staged Python files
Run isort, black, and ruff
Auto-fix issues and re-stage files
To install hooks manually:
npm installSecurity Notes
Credentials are stored in plain text in
~/.paprika-mcp/config.jsonEnvironment variables (
PAPRIKA_EMAIL,PAPRIKA_PASSWORD) are also supported
License
MIT
Credits
Built on top of paprika-recipes originally by Adam Coddington.
Available Tools
4 toolsformat_fractionA
Format a fraction string to unicode fraction characters. Converts simple fractions like '1/4' to '¼' or complex ones like '31/200' to '³¹⁄₂₀₀'. Handles already-formatted unicode fractions and strips whitespace. This tool does not require server connectivity and can be used for testing.
Inputs: fraction (required).
read_recipeA
Read full recipe data by ID or exact title. Returns all recipe fields including categories, times, ingredients, directions, etc.
Inputs: id, title.
search_recipesA
Search recipes by text across title, ingredients, categories, directions, or notes. Returns recipe IDs, titles, and context for each match. Use an empty query ('') to get all recipes. Results are paginated and sorted alphabetically. Only non-trashed recipes are included.
Inputs: query (required), fields, context_lines, page, +1 more.
update_recipeA
Update recipe fields using find/replace. This is a DANGEROUS operation that requires user confirmation. Can update any text field in a recipe.
Inputs: id (required), field (required), find (required), replace (required), +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: format_fraction handles text formatting, read_recipe retrieves specific recipes, search_recipes finds recipes via queries, and update_recipe modifies recipes. The descriptions clearly differentiate between data retrieval (read/search) and operations (format/update).
All tools follow a consistent verb_noun pattern (format_fraction, read_recipe, search_recipes, update_recipe) with no deviations. The naming is predictable and readable, using snake_case uniformly across all tools.
Four tools are reasonable for a recipe management server, covering core operations like reading, searching, updating, and a utility for formatting. It might benefit from additional tools for creating or deleting recipes, but the current set is well-scoped for basic functionality.
The tools cover key operations (read, search, update) and include a useful formatting utility, but there are notable gaps: no create_recipe or delete_recipe tools, which limits full CRUD lifecycle coverage. Agents can work around this for read/update tasks but cannot handle recipe creation or removal.
Maintenance
Related MCP Connectors
Search, save, organize, cook, and share recipes with any AI assistant.
Recipe search, ingredient matching, nutrition filters and a private cookbook for any AI agent.
Search structured recipes, scale servings, match pantry ingredients, and build shopping lists.
Your family recipe box inside ChatGPT and Grok. Save, scale, plan menus and share recipes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Saffron recipe management functionality, including creating and updating recipes, importing from websites or text, and organizing cookbooks. Provides comprehensive recipe management capabilities through Saffron's API with support for ingredients, instructions, timing, and metadata.4 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Mealie recipe databases, allowing users to manage and query their recipes through natural language conversations.17 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with Paprika Recipe Manager to create, search, update recipes, and generate food photos via AI.4MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to search recipes, compose nutritionally balanced meals, optimize weekly meal plans based on macro targets for family members, and generate consolidated grocery lists from a personal recipe database.-