Cooklang Skills
Skills and an MCP server that let AI agents work with Cooklang recipes: plain-text .cook recipes and .menu meal plans in a folder you own.
This repo packages two things for every agent client:
- 14 skills: step-by-step guides the agent follows for writing, validating, searching, scaling, importing and exporting recipes, meal planning, shopping lists, pantry tracking, reports and nutrition.
- The Cook MCP server (
@cookmd/mcp): the tools the skills call. It reads, searches, validates and writes your files, builds shopping lists, tracks a pantry and renders reports. The full tool list and setup notes for each client are in the Cook MCP documentation.
Everything runs locally and is free, with no account. Nutrition and importing from photos or social links use cook.md and need Cook Basic or Cook Pro.
The server runs through npx, so you need Node.js. Builds exist for macOS (arm64, x64) and Linux (x64, arm64). There are no Windows builds yet. The plugin manifests pin @cookmd/[email protected]; the snippets for other clients below use the latest release. Plugin setups need 0.2.2 or newer.
Install
The recipe folder
The server works on one folder of recipes. It uses, in order:
COOK_RECIPES_DIR, if set in the server's config.
- The workspace folder the client reports (MCP roots), which is the project you have open.
- The folder the client started it in.
It ignores /, your home folder and plugin install folders (a plugin's server may be started inside the plugin's own folder). If nothing usable is left, recipe tools reply that no recipe folder is set and say why; set COOK_RECIPES_DIR to an absolute path in the server's config. So open your recipe folder in the client, or set the variable.
Claude Code
/plugin marketplace add cooklang/cooklang-skills
/plugin install cooklang@cooklang-skills
The plugin adds the skills and starts the Cook server with your Claude Code project folder as the recipe folder. Check it with /mcp (look for plugin:cooklang:cook).
Codex
codex plugin marketplace add cooklang/cooklang-skills
codex plugin add cooklang@cooklang-skills
The plugin adds the skills and the Cook server. Codex doesn't report a workspace folder to MCP servers and starts plugin servers inside the plugin's install folder, so the server can't find your recipes by itself. Tell it where they are:
codex mcp add cook --env COOK_RECIPES_DIR=/path/to/recipes -- npx -y @cookmd/mcp
A server you add yourself named cook takes the place of the plugin's cook server, so only one runs. Codex config has no way to set environment variables on a plugin's server ([plugins."cooklang@cooklang-skills".mcp_servers.cook] only takes enabled, tool approval and tool lists), which is why this is a separate server entry.
Without plugins, copy the skills instead: cp -R skills/* ~/.agents/skills/.
Gemini CLI
gemini extensions install https://github.com/cooklang/cooklang-skills
The extension adds the skills, a short GEMINI.md context file, and the Cook server with your workspace as the recipe folder. Check it with gemini mcp list.
Cursor
This repo is an Agent Plugin (root plugin.json, mcp.json and skills/), a format Cursor loads as a plugin. Installed that way, you get the skills and the Cook server, and the server uses the workspace folder Cursor reports.
Or add only the server with this link (paste it into your browser if it isn't clickable):
cursor://anysphere.cursor-deeplink/mcp/install?name=cook&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjb29rbWQvbWNwIl0sImVudiI6eyJDT09LX1JFQ0lQRVNfRElSIjoiJHt3b3Jrc3BhY2VGb2xkZXJ9In19
It installs this config, which you can also put in .cursor/mcp.json or ~/.cursor/mcp.json by hand. For the skills, copy skills/* into ~/.cursor/skills/ (all projects) or .cursor/skills/ in your recipe folder.
{
"mcpServers": {
"cook": {
"command": "npx",
"args": ["-y", "@cookmd/mcp"],
"env": { "COOK_RECIPES_DIR": "${workspaceFolder}" }
}
}
}
VS Code / GitHub Copilot