Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search Ptitchef recipes, read one, and rescale it to any servings. No API key.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PTC_USER_AGENT, PTC_MIN_INTERVAL_MS, PTC_TIMEOUT_MS, PTC_MAX_RETRIES, PTC_CACHE_TTL_MS, PTC_CACHE_MAX_ENTRIES, PTC_MAX_BODY_BYTES, PTC_BUDGET_MS, PTC_LOG_LEVEL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add ptitchef --env PTC_USER_AGENT=your-value --env PTC_MIN_INTERVAL_MS=your-value --env PTC_TIMEOUT_MS=your-value --env PTC_MAX_RETRIES=your-value --env PTC_CACHE_TTL_MS=your-value --env PTC_CACHE_MAX_ENTRIES=your-value --env PTC_MAX_BODY_BYTES=your-value --env PTC_BUDGET_MS=your-value --env PTC_LOG_LEVEL=your-value -- npx -y mcp-ptitchef运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ptitchef": {
"command": "npx",
"args": [
"-y",
"mcp-ptitchef"
],
"env": {
"PTC_USER_AGENT": "your-value",
"PTC_MIN_INTERVAL_MS": "your-value",
"PTC_TIMEOUT_MS": "your-value",
"PTC_MAX_RETRIES": "your-value",
"PTC_CACHE_TTL_MS": "your-value",
"PTC_CACHE_MAX_ENTRIES": "your-value",
"PTC_MAX_BODY_BYTES": "your-value",
"PTC_BUDGET_MS": "your-value",
"PTC_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ptitchef": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-ptitchef"
],
"env": {
"PTC_USER_AGENT": "your-value",
"PTC_MIN_INTERVAL_MS": "your-value",
"PTC_TIMEOUT_MS": "your-value",
"PTC_MAX_RETRIES": "your-value",
"PTC_CACHE_TTL_MS": "your-value",
"PTC_CACHE_MAX_ENTRIES": "your-value",
"PTC_MAX_BODY_BYTES": "your-value",
"PTC_BUDGET_MS": "your-value",
"PTC_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
PTC_USER_AGENT envPTC_MIN_INTERVAL_MS envPTC_TIMEOUT_MS envPTC_MAX_RETRIES envPTC_CACHE_TTL_MS envPTC_CACHE_MAX_ENTRIES envPTC_MAX_BODY_BYTES envPTC_BUDGET_MS envPTC_LOG_LEVEL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 smeet666 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.0)于9天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, MCPB。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Ptitchef is a French cooking site where home cooks publish their recipes. Each one gives its ingredients, its steps, often photographed one by one, its preparation and cooking times, its cost, its nutrition figures and the ratings its readers left. The site files its recipes under a tree of ingredient families, and publishes many of them in several languages.
This server connects a chat client to that site. You can walk the tree of categories, search the recipes by dish or by ingredient, browse a category or one of the site's standing lists, ask what can be made from what is in the fridge, read one recipe with its ingredients rescaled to the number of people at your table, and find the other languages a recipe was published in. It needs no API key and no account.
_Version française_
One-click install
Claude Code
claude mcp add ptitchef -- npx -y mcp-ptitchef
Claude Desktop, Cursor, and any client using the standard config format
{
"mcpServers": { "ptitchef": { "command": "npx", "args": ["-y", "mcp-ptitchef"] } } }
Node 24 or later is required, and no environment variable has to be set.
{
"mcpServers": { "ptitchef": { "command": "docker", "args": ["run", "-i", "--rm", "ghcr.io/smeet666/mcp-ptitchef:1.1.0"] } } }
-i keeps stdin open, which is where the protocol travels, and -t is left out because a TTY rewrites the stream. The container needs outbound HTTPS to www.ptitchef.com, and nothing else: no volume, no port, no credential.
Download mcp-ptitchef-1.1.0.mcpb from the latest release and open it. A client that supports MCP bundles installs it on its own, with no npm and no configuration file to edit. The bundle carries its dependencies, so nothing is fetched at install time.
Ptitchef is a French site, so its recipes are found in French. The ordinary path runs from a listing to a recipe: a row carries an id, and get_recipe takes that id.
| Tool | What it does |
|---|---|
list_categories | Walks the tree of ingredient families the site files under. |
search_recipes | Finds recipes by dish or by ingredient. |
browse_recipes | Reads a category page by page, or a standing list. |
search_by_ingredients | Answers what can be made from what a cook already has. |
get_recipe | Reads one recipe, rescaled to a number of servings on request. |
scale_ingredients | Rescales any ingredient list, with no request to the site. |
get_recipe_translations | Lists the other languages a recipe was published in. |
Start at `list_categories`. The site gives you the right addresses, which saves building one by hand: an address built that way lands on the site's front page.
list_categoriesReads the tree the site files its recipes under. Called with no argument it returns the families; pass a family's slug back as family to read what it holds.
| Argument | Type | Required | What it does |
|---|---|---|---|
family | string, 1 to 80 characters | no | A family's slug, to read the categories under it. |
limit | integer, 1 to 200, default 20 | no | Rows to serve. |
In return: rows carrying slug, which comes back as family or as category; title in the site's own wording; url; description, which is null where the page carries none; and sample_children for the categories one level below.
search_recipesSearches the recipes for a dish or an ingredient.
| Argument | Type | Required | What it does |
|---|---|---|---|
query | string, 1 to 120 characters | yes | A dish or an ingredient, in French. |
limit | integer, 1 to 100, default 20 | no | Rows to serve. |
In return: results, rows carrying id, title, url, image_url, rating, rating_count and review_count, a counter the page prints nothing for being null. The envelope says how the site answered: kind reads category when the answer came from a category page of its own, whose total_available counts that whole category, and free_text when the site answered on its own terms on a single page, where the total counts the rows served. Those two totals count different things. kind also reads guide for a topic the site wrote by hand, where rows carry a name and an address and no total exists. Alongside come result_count, rows_seen, page, single_page and url. A listing marked single_page whose total exceeds rows_seen has a remainder the site counts and does not serve.
browse_recipesReads a category page by page, or one of the site's standing lists.
| Argument | Type | Required | What it does |
|---|---|---|---|
category | string, 1 to 120 characters | no | A category slug, as list_categories published it. |
listing | latest, top_rated or most_viewed | no | A standing list, read instead of a category. |
page | integer, 1 to 1000 | no | The page of a category to read. A standing list has one page. |
limit | integer, 1 to 100, default 20 | no | Rows to serve. |
In return: the envelope search_recipes returns, with kind reading category, standing or topic. page is the page the site served. A page past the last one comes back either as the first page again or as a not_found refusal naming it past the last page.
search_by_ingredientsAnswers what can be made from the ingredients a cook already has.
| Argument | Type | Required | What it does |
|---|---|---|---|
ingredients | array of 1 to 5 strings, 1 to 60 characters | yes | The ingredients on hand, in French. |
limit | integer, 1 to 100, default 20 | no | Rows to serve. |
In return: the envelope the other listings return, with kind reading fridge. The site matches on its own vocabulary, so an ingredient it writes differently narrows the answer rather than widening it.
get_recipeReads one recipe in full, and rescales its ingredients when a number of servings is given.
| Argument | Type | Required | What it does |
|---|---|---|---|
id | string, 1 to 300 characters | yes | The id of a row from a search or a listing. |
servings | integer, 1 to 500 | no | Rescale the ingredients to this many servings. |
In return: title, url, description, image_url, category, cuisine, difficulty in the site's own wording, author, published, modified, rating, rating_count, review_count, prep_minutes, cook_minutes, total_minutes, nutrition as published for the serving size it names, estimated_cost, keywords, faq and translations, each null where the page states nothing. steps carries the method one line per step, and illustrated_steps the same steps with the photograph the site took of each. yield says what the recipe was written for and what it was rescaled to. Every ingredient carries scaling, which reads scaled, rounded or unscaled: read it before quoting a quantity, since rounded was moved to stay usable in a kitchen.
scale_ingredientsApplies the same arithmetic to any list of French ingredient lines, with no request to the site.
| Argument | Type | Required | What it does |
|---|---|---|---|
ingredients | array of 1 to 100 strings, up to 300 chars | yes | The lines to rescale, in French. |
factor | number, above 0 and up to 100 | one of two | The multiplier to apply. |
from_servings | number, above 0 and up to 500 | one of two | How many servings the list is written for. |
to_servings | number, above 0 and up to 500 | one of two | How many servings are wanted. |
Pass factor, or the from_servings and to_servings pair.
In return: the factor used, the rescaled ingredients in the shape get_recipe returns, and scaled_count, rounded_count and unscaled_count.
get_recipe_translationsLists the other languages one recipe was published in, using the pairing the site publishes its
只显示了开头部分;其余内容请在仓库中阅读