Food Recipe Mcp

io.github.AIDataNordic由 GitHub 账号 AIDataNordic 发布v1.0.1更新于 Nov 2, 2026

Semantic search across 50,000+ food recipes with hybrid retrieval and reranking.

已验证Streamable HTTP可网页运行位置与生活网页搜索与抓取

概览

AI 生成的概览

远程 MCP 服务器,让助手按自然语言、饮食类型、时长和难度检索约 5 万条 Food.com 食谱。

可以做什么
  • 用混合语义检索加重排序搜索食谱,可按饮食类型、最长烹饪时间和难度筛选
  • 读取返回的食谱详情:食材、步骤、份量、总时长、主要食材和饮食标签
  • 查看每份营养信息(热量、脂肪、蛋白质、碳水、钠、纤维、糖)以及用户评分和评分人数
  • 用简单的 ping 问候测试服务器连通性
适用场景
适合需要助手从大型公开食谱库中推荐或查找菜谱的场景,例如膳食规划、按饮食限制筛选,或用英语、挪威语回答烹饪问题。
运行要求
需要一个远程 streamable-HTTP 端点;无需安装、账号、API 密钥或配置。客户端需支持 streamable HTTP 传输并能访问该端点。
安装前请注意
仅提供只读的搜索与查询,不会写入或修改数据。查询内容会发送到第三方托管服务,请勿在搜索文本中放入个人或敏感信息。食谱数据来自 Food.com,评分和营养数值未经核实。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.AIDataNordic%2Ffood-recipe-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "food-recipe": {
      "type": "http",
      "url": "https://recipes.aidatanorge.no/mcp"
    }
  }
}

README

Food Recipe MCP

Semantic search over 50,000+ food recipes — built for AI agents and LLMs. Two-stage hybrid retrieval (dense + sparse BM25, fused via RRF) with cross-encoder reranking. Supports natural language queries in Norwegian and English.

Live endpoint: https://recipes.aidatanorge.no/mcp
Transport: streamable-http
Demo: https://recipes.aidatanorge.no/


Connect

Add to your MCP client config:

json
{  "mcpServers": {    "food-recipe": {      "type": "streamable-http",      "url": "https://recipes.aidatanorge.no/mcp"    }  }}

Or with Claude Code:

bash
claude mcp add --transport http food-recipe https://recipes.aidatanorge.no/mcp

Quick Test

Try the live demo in your browser:
https://recipes.aidatanorge.no/

No installation or configuration needed.


MCP Tools

search_recipes

Semantic search over 50,000+ recipes from Food.com with hybrid retrieval and reranking.

python
search_recipes(    query="quick Italian pasta for weeknight dinner",    diet="vegetarian",      # vegetarian | vegan | gluten-free | dairy-free | low-carb | keto | paleo    max_minutes=30,         # maximum total cooking time in minutes    difficulty="easy",      # easy | medium | hard    limit=5                 # default 5, max 20)# Returns: rerank_score, rrf_score, title, description, total_time, difficulty,#          diet, main_ingredient, servings, ingredients, instructions, nutrition,#          rating, rating_count, source, recipe_id

Query examples:

  • "Swedish meatballs with gravy"
  • "healthy high-protein chicken bowl"
  • "easy chocolate cake for beginners"
  • "traditional Norwegian kjøttkaker"
  • "hurtig pasta med kylling"

Search pipeline: Dense embedding (intfloat/e5-large-v2, 1024d) + sparse BM25, fused via Reciprocal Rank Fusion (RRF), reranked by mmarco-mMiniLMv2-L12-H384-v1.

ping

python
ping(name="world")# Returns: "Hello world! Recipe MCP server is running."

Data

  • Source: Food.com (~50,000 recipes)
  • Coverage: Wide range of cuisines, meal types, and cooking styles
  • Nutritional data: calories, fat, protein, carbohydrates, sodium, fiber, sugar per serving
  • Ratings: user rating + rating count per recipe
  • Languages: English and Norwegian supported natively in queries

Architecture

Food.com recipes → Python ingest → Qdrant (recipe_data_v2 collection)                                         ↓                              Hybrid search (dense e5-large-v2 + sparse BM25)                                         ↓                              RRF fusion + cross-encoder reranking                                         ↓                              FastMCP 3.2 → MCP clients / AI agents

Technical Stack

  • Embeddings: intfloat/e5-large-v2 (1024d dense) + Qdrant/bm25 (sparse)
  • Reranker: cross-encoder/mmarco-mMiniLMv2-L12-H384-v1
  • Vector DB: Qdrant (self-hosted)
  • Server: FastMCP 3.2 over HTTP
  • Infrastructure: Ubuntu Server 24 LTS, Cloudflare Tunnel

License

MIT

来源:README.md,提交 b0da109

工具

2

ping

Simple connectivity test. Returns a greeting to confirm the server is running.

输入参数name

search_recipes

Search a database of recipes using hybrid semantic search (dense + sparse) with reranking. The database contains ~50,000 recipes from Food.com covering a wide range of cuisines, meal types, and cooking styles. Recipes include nutritional information, difficulty ratings, and user ratings. Use natural language in the query to describe what you are looking for — cuisine, style, main ingredient, occasion, or mood all work well. Norwegian and English are both supported natively. Examples: 'quick Italian pasta for weeknight dinner' 'Swedish meatballs with gravy' 'healthy high-protein chicken bowl' 'easy chocolate cake for beginners' 'something with salmon and lemon' 'Indian curry chicken' 'traditional Norwegian kjøttkaker' 'hurtig pasta med kylling' 'enkel sjokoladekake' Args: query: What you are looking for — describe the dish, cuisine, main ingredient, cooking style or mood freely. Any language is supported. diet: Optional — filter by dietary requirement: 'vegetarian', 'vegan', 'gluten-free', 'dairy-free', 'low-carb', 'keto', 'paleo' max_minutes: Optional — maximum total time in minutes, e.g. 30 difficulty: Optional — 'easy', 'medium' or 'hard' servings: Optional — not used for filtering (servings vary), but include in query for scaling context, e.g. 'pasta dish for 6 people' limit: Number of results to return after reranking (default 5, max 20) Returns: List of recipes ranked by relevance. Each result includes rerank_score, rrf_score (hybrid fusion), title, total_time, difficulty, diet labels, ingredients, instructions, nutrition, rating, and source URL context.

输入参数dietlimitquery必填servingsdifficultymax_minutes

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分