brewfather-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@brewfather-mcplist my 5 most recent recipes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Brewfather MCP
This is a Model Context Protocol service that runs on your personal computer. It can read, search, create, and safely modify Brewfather recipes through the Brewfather API v2 and the Brewfather 3.1 public beta interface.
The service communicates over local standard input/output. Brewfather credentials are stored only on the user's own computer; a short-lived preview confirmation token is required before creating or modifying recipes. This service intentionally does not provide recipe deletion.
Easiest installation: let an AI assistant do it for you (recommended)
This tool is mainly for homebrewers who are not familiar with terminal commands. You can have an AI assistant that can access the local terminal and supports the Model Context Protocol do the installation, such as Codex, Claude Code, Cursor, the assistant in Visual Studio Code, or the Gemini command-line tool.
Start a new conversation and paste the following text to the agent:
请帮我安装当前项目中的 brewfather-mcp,并注册到我正在使用的agent。
请你:
1. 检查本机是否有 Node.js 20 或更高版本;
2. 在当前项目目录安装依赖、构建项目并安装 brewfather-mcp 命令;
3. 自动识别我正在使用的智能助手,运行对应的 brewfather-mcp install 命令;
4. 如果打开本机授权页面,让我自己在页面中输入 Brewfather 用户编号和应用程序接口密钥。不要让我把密钥发到对话里,也不要输出或读取密钥内容;
5. 等我提交授权页面后,运行 brewfather-mcp doctor,并检查模型上下文协议服务是否已成功注册。
请直接开始执行;只有在必须由我操作授权页面时再提醒我。The AI assistant will open an authorization page accessible only from this machine. Enter your Brewfather API ID and API key on the page, then submit.
After installation succeeds, restart the AI assistant or start a new conversation, then simply say:
使用 Brewfather 工具列出我最近的 5 个配方。Web-only AI assistants usually cannot install a local service that runs on your computer. Please use a desktop, IDE, or command-line assistant that can access local projects and the terminal.
Related MCP server: Tandoor MCP Server
Requirements
Node.js 20 or later
Brewfather Premium or an active Premium trial
Joining the Brewfather 3.1 public beta is required to create or modify recipes
A Brewfather API key with
recipes.readpermission; writing recipes also requiresrecipes.writepermission
Install from source
cd /path/to/brewfather-mcp
npm install
npm run build
npm linkOpen the local credentials page and register the service with the chosen AI assistant:
brewfather-mcp install codexThe setup page only listens on a random port on 127.0.0.1. It validates the credentials with a read-only request, saves them locally, and then exits automatically. Generate the key in Brewfather under Settings → API. There is no need to grant recipes.delete permission; this service never uses it.
Where credentials are stored
Credentials are stored as JSON in the operating system's user configuration directory:
Operating system | Default path |
macOS |
|
Windows |
|
Linux |
|
A different path can be specified with BREWFATHER_MCP_CONFIG. On Unix-like systems, the configuration directory is set to 0700 and the configuration file to 0600. The file contains plaintext credentials; do not sync, share, or commit it to a repository. Container and CI environments can use the BREWFATHER_USER_ID and BREWFATHER_API_KEY environment variables instead.
Common commands:
brewfather-mcp setup
brewfather-mcp doctor
brewfather-mcp config path
brewfather-mcp auth logoutInstall into different AI assistants
The installer supports the following AI assistants:
brewfather-mcp install codex
brewfather-mcp install claude
brewfather-mcp install cursor
brewfather-mcp install vscode
brewfather-mcp install gemini
brewfather-mcp install all
brewfather-mcp install genericThe installer tries to use each assistant's official command-line tool:
Codex:
codex mcp addClaude Code:
claude mcp add --scope userCursor:
agent mcp addVisual Studio Code:
code --add-mcpGemini:
gemini mcp add --scope user
generic outputs a standard mcpServers JSON configuration for other compatible clients. The registration command uses the absolute paths of the current Node.js executable and this software's compiled entry point, so Brewfather credentials never appear in the assistant's configuration.
Use in a new conversation
Start a new AI assistant conversation and say:
使用 Brewfather 工具列出我最近的 5 个配方,只读取,不要修改。To modify a recipe, you can say:
使用 Brewfather 工具找到“West Coast IPA”,把其中的 Citra 干投增加 20 克。先显示修改预览,等我明确确认后再写入。Available tools
brewfather_connection_statusbrewfather_list_recipesbrewfather_search_recipesbrewfather_get_recipebrewfather_preview_recipe_createbrewfather_apply_recipe_createbrewfather_preview_recipe_updatebrewfather_apply_recipe_update
To prevent Brewfather from rejecting or silently altering data on write, the following checks are performed when generating a preview:
Brewfather's write API does not accept string tags. Omit
tagsunless you copy the complete tag object from an existing recipe.Additive units are limited to
g,mg,kg,ml,l,tsp,tbsp,pkg,items, ordrops. Common aliases such astabletanddoseare automatically converted toitems.When a malt has only a Lovibond color and no
color, the tool automatically calculates EBC to prevent Brewfather from saving the color as 0.All automatic conversions are listed in the preview's
normalizationsand should be confirmed by the user along with any other changes.
Confirmation tokens for creating and modifying recipes expire after ten minutes and can only be used once. Before modifying a recipe, the service reads the recipe again; if the recipe changed after the preview was generated, the write is rejected.
Nested objects in the modification parameters are deep-merged locally. Because Brewfather's recipe partial-update API only shallow-merges top-level fields, arrays are replaced entirely. Read the current recipe before modifying, and pass the complete fermentables, hops, yeasts, or miscs array.
Brewfather values consistently use metric units: liters, kilograms, grams, degrees Celsius, and specific gravity.
Development
npm run typecheck
npm test
npm run buildAfter building, you can run the Model Context Protocol inspector:
npx @modelcontextprotocol/inspector node dist/cli.js serveProtocol communication uses standard output. Runtime diagnostics are written only to standard error; authorization headers and API keys are never logged.
API notes
The REST API path version is still
/v2; recipe writing is part of the Brewfather 3.1 public beta.The API uses HTTP basic authentication with the Brewfather user ID as the username.
Brewfather currently limits each key to 500 calls per hour.
This service does not provide recipe version creation, locking, restoration, rollback, or deletion.
See the Brewfather API documentation and the version 3.1 public beta notes.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables recipe search, storage, and meal planning using TheMealDB API. Provides comprehensive recipe discovery, automatic recipe collection management, and custom meal plan creation with detailed cooking instructions and ingredients.1
- AlicenseBqualityDmaintenanceEnables interaction with Tandoor recipe management system to create, manage, and search recipes, as well as create and auto-generate meal plans with automatic ingredient and keyword creation.11243MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching for cocktail recipes by name, ingredient, or randomly, and retrieving full cocktail details including ingredients, measurements, and instructions via TheCocktailDB API.10MIT
- FlicenseNot gradedqualityBmaintenanceEnables managing recipes via a web UI and MCP tools, allowing retrieval and saving of recipe data through natural language.
Related MCP Connectors
Recipes MCP — wraps TheMealDB API (free tier, no auth)
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
RxNorm MCP — wraps the NLM RxNav REST API (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/plane636/brewfather-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server