Setup wizard to configure Recipe API MCP for Claude, Cursor & AI assistants
npm install @recipeapi/mcpMCP (Model Context Protocol) server for Recipe API. Gives Claude, Cursor, and other AI assistants access to 25,000+ recipes with nutrition data.
``bash`
npx @recipeapi/mcp
The setup wizard will:
1. Help you choose a plan (Free tier available)
2. Open browser to get your API key
3. Auto-configure Claude/Cursor
Add to ~/.claude/settings.json:
`json`
{
"mcpServers": {
"recipe-api": {
"command": "npx",
"args": ["-y", "@recipeapi/mcp", "--server"],
"env": {
"RECIPE_API_KEY": "rapi_your_key_here"
}
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
`json`
{
"mcpServers": {
"recipe-api": {
"command": "npx",
"args": ["-y", "@recipeapi/mcp", "--server"],
"env": {
"RECIPE_API_KEY": "rapi_your_key_here"
}
}
}
}
Once configured, Claude can use these tools:
| Tool | Description | Cost |
|------|-------------|------|
| list_dietary_flags | Get dietary options (Vegetarian, Gluten-Free, etc.) | Free |list_cuisines
| | Get available cuisines (Italian, Mexican, etc.) | Free |search_recipes
| | Search recipes by keyword | Free |filter_recipes
| | Filter by cuisine, dietary, difficulty, calories | Free |get_recipe` | Get full recipe with ingredients & instructions | 1 credit |
|
After setup, try asking Claude:
- "What cuisines are available in the recipe API?"
- "Find me a vegetarian Italian dinner under 500 calories"
- "Search for quick chicken recipes"
- "Get the full recipe for [recipe ID]"
| Plan | Unique Recipes/mo | Price |
|------|-------------------|-------|
| Free | 100 | $0 |
| Hobby | 500 | $9/mo |
| Starter | 2,500 | $59/mo |
| Pro | 10,000 | $199/mo |
Get your API key at recipe-api.com
- Recipe API Documentation
- OpenAPI Spec
- LLM Context
MIT