Recipe Commerce Mcp

io.github.teamsincetoday由 GitHub 账号 teamsincetoday 发布v0.1.3更新于 Oct 24, 2026

Extract shoppable ingredients from recipe content with affiliate signals.

已验证STDIO仅桌面商业与电商媒体与设计

概览

AI 生成的概览

从食谱文字稿或 YouTube 链接中提取结构化的食材与厨具,并生成按收益排序的联盟购物清单。

可以做什么
  • 从烹饪视频文字稿或 YouTube 链接提取结构化食谱数据(食材、厨具、技法、菜系、难度)
  • 将食材与厨具匹配到可购买商品,并给出联盟计划、价格区间、佣金比例与替代品
  • 生成按预估收益潜力排序的联盟购物清单
  • 在结果中附带处理耗时、预估 AI 成本与缓存状态等元数据
适用场景
适合食谱出版方、美食博主或联盟营销人员,把烹饪视频或食谱转成可购买的食材与厨具清单并估算佣金。
运行要求
以 npm 包形式通过 stdio 在本地运行(npx recipe-commerce-mcp),也可使用提供方的托管端点。需要 OpenAI API 密钥(OPENAI_API_KEY)进行商品提取。可选配置包括 MCP_API_KEYS(付费使用)、AGENT_ID、CACHE_DIR 与 PAYMENT_ENABLED。需联网访问 OpenAI 与联盟数据。
安装前请注意
食谱内容会发送给 OpenAI 进行提取,文字稿会离开本机。免费额度为每天 200 次调用;付费按次计费,需在 MCP_API_KEYS 中配置密钥。佣金数字为估算值,发布联盟链接或清单的责任由使用者承担。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Recipe Commerce Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Recipe Commerce Intelligence MCP

[npm] [License: MIT] [Stars]

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

ToolDescription
extract_recipe_ingredientsExtract structured recipe data from a cooking video transcript or YouTube URL
match_ingredients_to_productsMatch ingredients to purchasable products with affiliate program details
suggest_affiliate_productsGenerate 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:

json
{  "mcpServers": {    "recipe-commerce": {      "url": "https://recipe-commerce-mcp.sincetoday.workers.dev/mcp"    }  }}

Quick Start

bash
# Installnpm install recipe-commerce-mcp
# Configurecp .env.example .env# Edit .env: set OPENAI_API_KEY
# Run (stdio MCP server)npx recipe-commerce-mcp

MCP Client Config

json
{  "mcpServers": {    "recipe-commerce": {      "command": "npx",      "args": ["recipe-commerce-mcp"],      "env": {        "OPENAI_API_KEY": "sk-..."      }    }  }}

Tool Reference

extract_recipe_ingredients

json
{  "transcript": "Cooking video transcript or YouTube URL",  "recipe_id": "optional-cache-key",  "api_key": "optional-paid-key"}

Returns:

json
{  "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

json
{  "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

json
{  "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):

json
{  "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_KEYS with valid keys

Environment Variables

VariableRequiredDefaultDescription
OPENAI_API_KEYYes—OpenAI API key
AGENT_IDNoanonymousAgent identifier for rate limiting
MCP_API_KEYSNo—Comma-separated paid API keys
CACHE_DIRNo./data/cache.dbSQLite cache path
PAYMENT_ENABLEDNofalseSet true to enforce limits

Development

bash
npm installnpm run typecheck   # Zero type errorsnpm test            # All tests passnpm run build       # Compile to dist/

License

MIT — Since Today Studio

来源:README.md,提交 43e67f2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。