Recipe Commerce Intelligence MCP
Extracts branded ingredients and kitchen tools from recipes, matches them to affiliate products, and generates shoppable ingredient lists to turn recipes into affiliate revenue.
README
Recipe Commerce Intelligence MCP
Turn recipes into affiliate revenue. Extract every branded ingredient and kitchen tool from any recipe, match each to Amazon Associates, ShareASale, or Awin, and generate a shoppable ingredient list in seconds. F1=100% on eval suite. Free tier: 200 calls/day.
⭐ If this saves you time, please star the repo — it helps other developers find it.
Live endpoint:
https://recipe-commerce-mcp.sincetoday.workers.dev/mcp· See examples
Extract recipes and ingredients from cooking video transcripts, match to purchasable products, and build affiliate shopping lists. Built on x402, the open payment standard backed by Shopify, Google, Microsoft, Visa, and the Linux Foundation.
Tools
| Tool | Description |
|---|---|
extract_recipe_ingredients |
Extract structured recipe data from a cooking video transcript or YouTube URL |
match_ingredients_to_products |
Match ingredients to purchasable products with affiliate program details |
suggest_affiliate_products |
Generate a ranked affiliate shopping list scored by revenue potential |
Connect in Claude Code — No Install Required
Add to your claude_desktop_config.json or use /add-mcp in Claude Code. Free tier: 200 calls/day, no API key needed:
{
"mcpServers": {
"recipe-commerce": {
"url": "https://recipe-commerce-mcp.sincetoday.workers.dev/mcp"
}
}
}
Quick Start
# Install
npm install recipe-commerce-mcp
# Configure
cp .env.example .env
# Edit .env: set OPENAI_API_KEY
# Run (stdio MCP server)
npx recipe-commerce-mcp
MCP Client Config
{
"mcpServers": {
"recipe-commerce": {
"command": "npx",
"args": ["recipe-commerce-mcp"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
}
Tool Reference
extract_recipe_ingredients
{
"transcript": "Cooking video transcript or YouTube URL",
"recipe_id": "optional-cache-key",
"api_key": "optional-paid-key"
}
Returns:
{
"result": {
"recipeName": "Beef Bourguignon",
"ingredients": [
{ "name": "beef chuck", "quantity": "2", "unit": "lbs", "category": "meat", "is_optional": false }
],
"equipment": [
{ "name": "Le Creuset Dutch oven 5.5qt", "category": "cookware", "requiredForRecipe": true }
],
"techniques": ["braising", "searing"],
"cuisineType": "French",
"difficulty": "medium"
},
"_meta": { "processing_time_ms": 1950, "ai_cost_usd": 0.0024, "cache_hit": false, "recipe_id": "..." }
}
match_ingredients_to_products
{
"ingredients": [{ "name": "beef chuck", "quantity": "2", "unit": "lbs" }],
"recipe_id": "optional-uses-cached-ingredients",
"api_key": "optional"
}
Returns affiliate program details (Amazon Associates, ShareASale, Awin), price range, commission rate (2–10%), brand? (extracted brand name for branded ingredients, e.g. "Maldon" for "Maldon salt"), estimatedCommission (USD estimate based on price × commission rate), and substitution alternatives.
suggest_affiliate_products
{
"recipe_name": "Beef Bourguignon",
"ingredients": [...],
"api_key": "optional"
}
Returns ingredients and equipment ranked by affiliate revenue score. Equipment scores highest (10% commission via Amazon Associates).
Example Output
Real extraction from a Serious Eats beef bourguignon recipe (live eval avg: F1=93%, 98/100 score, $0.000370/call, 2608ms):
{
"recipe_id": "serious-eats-beef-bourguignon",
"ingredients": [
{
"name": "Dutch oven (5.5 qt)",
"brand": "Le Creuset",
"category": "equipment",
"is_optional": false,
"affiliate_revenue_score": 0.92,
"estimatedCommission": 8.50,
"amazon_search_terms": ["dutch oven 5.5 quart", "Le Creuset 5.5 qt"]
},
{
"name": "Maldon sea salt",
"brand": "Maldon",
"category": "ingredient",
"is_optional": false,
"affiliate_revenue_score": 0.18,
"estimatedCommission": 0.42
},
{
"name": "beef chuck",
"brand": null,
"category": "ingredient",
"is_optional": false,
"affiliate_revenue_score": 0.12,
"estimatedCommission": null,
"amazon_search_terms": null
}
]
}
See /examples endpoint for full output with value narrative: https://recipe-commerce-mcp.sincetoday.workers.dev/examples
Pricing
- Free tier: 200 calls/day per agent (no API key required)
- Paid: $0.01/call — set
MCP_API_KEYSwith valid keys
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
OPENAI_API_KEY |
Yes | — | OpenAI API key |
AGENT_ID |
No | anonymous |
Agent identifier for rate limiting |
MCP_API_KEYS |
No | — | Comma-separated paid API keys |
CACHE_DIR |
No | ./data/cache.db |
SQLite cache path |
PAYMENT_ENABLED |
No | false |
Set true to enforce limits |
Development
npm install
npm run typecheck # Zero type errors
npm test # All tests pass
npm run build # Compile to dist/
License
MIT — Since Today Studio
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。