Spoonacular
БесплатноНе проверенEnables AI assistants to search for recipes, get nutritional information, find ingredients, and more through the Spoonacular Food API using natural language.
Описание
Enables AI assistants to search for recipes, get nutritional information, find ingredients, and more through the Spoonacular Food API using natural language.
README
A Model Context Protocol (MCP) server that provides access to the Spoonacular Food API. This server enables AI assistants to search for recipes, get nutritional information, find ingredients, and more through the MCP protocol.
npm version npm downloads License: ISC
Features
- Recipe Search: Search for recipes by ingredients, diet, cuisine, and other criteria
- Recipe Information: Get detailed recipe information including ingredients, instructions, and nutrition
- Ingredient Search: Find and explore ingredient information
- Nutrition Analysis: Analyze nutrition for ingredient lists
- Recipe by Ingredients: Find recipes based on available ingredients
- Random Recipes: Get random recipe suggestions with optional filtering
Quick Start
Installation
npm install -g spoonacular-mcp
Setup
Get a Spoonacular API key (free at https://spoonacular.com/food-api/console#Dashboard)
Set your API key as an environment variable:
# Windows (PowerShell) $env:SPOONACULAR_API_KEY="your_api_key_here" # macOS/Linux export SPOONACULAR_API_KEY="your_api_key_here"
Usage with MCP Clients
Add this configuration to your MCP client (Claude Desktop, etc.):
{
"servers": {
"spoonacular": {
"command": "spoonacular-mcp",
"env": {
"SPOONACULAR_API_KEY": "your_api_key_here"
}
}
}
}
Test the Installation
# Set your API key
export SPOONACULAR_API_KEY="your_key_here"
# Test the server
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | spoonacular-mcp
Available Tools
search_recipes
Search for recipes with various filters.
Parameters:
query(string): Search query for recipesnumber(number, 1-100): Number of results (default: 10)diet(string, optional): Diet type (vegetarian, vegan, gluten-free, etc.)intolerances(string, optional): Comma-separated intolerancesincludeIngredients(string, optional): Required ingredients (comma-separated)excludeIngredients(string, optional): Ingredients to exclude (comma-separated)type(string, optional): Meal type (main course, side dish, dessert, etc.)cuisine(string, optional): Cuisine type (italian, mexican, chinese, etc.)
get_recipe_information
Get detailed information about a specific recipe.
Parameters:
id(number): Recipe IDincludeNutrition(boolean): Include nutrition information (default: false)
search_ingredients
Search for ingredients by name.
Parameters:
query(string): Ingredient search querynumber(number, 1-100): Number of results (default: 10)metaInformation(boolean): Include meta information (default: false)
analyze_nutrition
Analyze nutrition for a list of ingredients.
Parameters:
ingredientList(string): List of ingredients, one per lineservings(number): Number of servings
find_recipes_by_ingredients
Find recipes based on available ingredients.
Parameters:
ingredients(string): Comma-separated list of available ingredientsnumber(number, 1-100): Number of recipes (default: 5)ranking(number, 1-2): Ranking strategy (1=maximize used, 2=minimize missing)
get_random_recipes
Get random recipes with optional filtering.
Parameters:
number(number, 1-100): Number of random recipes (default: 1)tags(string, optional): Comma-separated tags for filtering
Development
To run in development mode:
npm run dev
To build:
npm run build
API Rate Limits
The free Spoonacular API plan includes:
- 150 requests per day
- Rate limiting applies
Consider upgrading to a paid plan for production use.
License
ISC
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Установка Spoonacular
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ddsky/spoonacular-mcpFAQ
Spoonacular MCP бесплатный?
Да, Spoonacular MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Spoonacular?
Нет, Spoonacular работает без API-ключей и переменных окружения.
Spoonacular — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Spoonacular в Claude Desktop, Claude Code или Cursor?
Открой Spoonacular на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Spoonacular with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
