Brewfather MCP Server
Click on "Deploy 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 MCP Server Show me a summary of my brewing inventory"
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 Server
A Model Context Protocol (MCP) server that integrates with the Brewfather API to provide brewing inventory management and recipe analysis capabilities. This server allows MCP clients like Claude to interact with your Brewfather brewing data.
Features
Inventory Management: List and manage fermentables, hops, yeasts, and miscellaneous brewing supplies
Recipe Analysis: Access detailed recipe information including ingredients and process details
Batch Tracking: Monitor brewing batches, update measurements, and track progress
Brewing Insights: Get brewing process guidance and sensor readings
Related MCP server: MCP OpenAPI Connector
Prerequisites
Python 3.13 or later
Brewfather account with API access
Brewfather API credentials (User ID and API Key)
Getting Your Brewfather API Credentials
Log in to your Brewfather account
Navigate to Settings → API
Generate or copy your API User ID and API Key
Keep these credentials secure - you'll need them for configuration
Installation
Option 1: Direct Installation with uvx (Recommended)
The easiest way to use this MCP server is with uvx, directly from the GitHub repository:
# Set your credentials as environment variables
export BREWFATHER_API_USER_ID="your-api-user-id"
export BREWFATHER_API_KEY="your-api-key"
# Run the server
uvx --from git+https://github.com/mindsocket/brewfather-mcp.git brewfather-mcpFor debugging:
uvx --from git+https://github.com/mindsocket/brewfather-mcp.git brewfather-mcp --debugOption 2: Local Development Installation
Clone this repository
Install dependencies:
uv syncConfiguration
Claude Desktop Configuration
Option 1: Using uvx (Recommended)
To use this server with Claude Desktop via uvx, add the following to your Claude Desktop configuration file:
Location of config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\\Claude\\claude_desktop_config.json
Configuration:
{
"mcpServers": {
"brewfather": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/mindsocket/brewfather-mcp.git",
"brewfather-mcp"
],
"env": {
"BREWFATHER_API_USER_ID": "your-api-user-id",
"BREWFATHER_API_KEY": "your-api-key"
}
}
}
}Option 2: Using Local Installation
To use this server with Claude Desktop from a local clone, use the same config file location as above with this configuration:
{
"mcpServers": {
"brewfather": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/absolute/path/to/brewfather-mcp/src/main.py"
],
"cwd": "/absolute/path/to/brewfather-mcp",
"env": {
"BREWFATHER_API_USER_ID": "your-api-user-id",
"BREWFATHER_API_KEY": "your-api-key"
}
}
}
}Replace:
/absolute/path/to/brewfather-mcpwith the full path to your cloned repositoryyour-api-user-idwith your Brewfather API User IDyour-api-keywith your Brewfather API Key
You may also need to provide the full path to the uv command.
Other MCP Clients
For other MCP clients that support stdio transport, use:
Command:
uv run --with mcp[cli] mcp run src/main.pyWorking Directory: Path to this repository
Environment Variables:
BREWFATHER_API_USER_IDandBREWFATHER_API_KEY
For Local Development & Testing
When developing or testing the server locally, there is the option of providing credentials via a .env file instead:
cp .env.example .env
# Edit .env with your Brewfather API credentialsAvailable Tools
The server provides the following MCP tools:
Inventory Management
list_fermentables- List all fermentables (malts, adjuncts, grains)get_fermentable_detail(identifier)- Get detailed fermentable informationlist_hops- List all hops with properties like alpha acidsget_hop_detail(identifier)- Get detailed hop informationlist_yeasts- List all yeasts with attenuation and typeget_yeast_detail(identifier)- Get detailed yeast informationlist_misc_items- List miscellaneous brewing suppliesget_misc_detail(item_id)- Get detailed misc item informationinventory_summary- Get comprehensive inventory overview
Recipe Management
list_recipes- List all recipesget_recipe_detail(recipe_id)- Get detailed recipe information
Batch Management
list_batches- List all brewing batchesget_batch_detail(batch_id)- Get detailed batch informationupdate_batch(batch_id, ...)- Update batch measurements and statusget_batch_brewtracker(batch_id)- Get brewing process guidanceget_batch_last_reading(batch_id)- Get latest sensor readingsget_batch_readings_summary(batch_id)- Get sensor readings summary
Inventory Updates
update_fermentable_inventory(item_id, amount)- Update fermentable stockupdate_hop_inventory(item_id, amount)- Update hop stockupdate_yeast_inventory(item_id, amount)- Update yeast stockupdate_misc_inventory(item_id, amount)- Update misc item stock
Development
Running Tests
uv run pytestTesting the Server Locally
mcptools can be handy for local testing:
# List available tools
mcpt tools uv run --with 'mcp[cli]' mcp run src/main.py
# Call a specific tool
mcpt call list_inventory_categories uv run --with 'mcp[cli]' mcp run src/main.pyHTTP/SSE Server (for cloud deployment)
PYTHONPATH=src uv run python src/http_runner.py --port 8000Troubleshooting
Common Issues
Import errors: Make sure you've run
uv syncto install all dependenciesAPI authentication errors:
For MCP clients: Check that credentials are correctly set in your client configuration
For local development: Ensure your
.envfile exists with valid credentialsVerify your Brewfather API credentials are correct and have the necessary permissions
Connection timeouts: Check your internet connection and Brewfather API status
Path issues in Claude Desktop: Ensure you're using absolute paths in the configuration file
Debug Mode
Enable debug mode to save API responses into a debug folder for troubleshooting:
BREWFATHER_MCP_DEBUG=1 mcpt call get_batch_detail --params '{"batch_id": "your-batch-id"}' uv run --with 'mcp[cli]' mcp run src/main.pyAvailable Tools
22 toolsget_batch_brewtrackerC
Get detailed brewing process guidance and timeline for a batch
Inputs: batch_id (required).
get_batch_detailC
Get detailed information for a specific batch.
Inputs: batch_id (required).
get_batch_last_readingC
Get the most recent sensor reading from brewing devices for a batch
Inputs: batch_id (required).
get_batch_readings_summaryB
Get a summary of recent sensor readings for a batch (limited to avoid large responses)
Inputs: batch_id (required), limit.
get_fermentable_detailC
Detailed information of the fermentable item.
Inputs: identifier (required).
get_hop_detailC
Detailed information about a specific hop including origin, characteristics, oil composition, and storage details.
Inputs: identifier (required).
get_misc_detailB
Get detailed information for a specific miscellaneous inventory item.
Inputs: item_id (required).
get_recipe_detailB
Get detailed information for a specific recipe including ingredients, process details and specifications.
Inputs: recipe_id (required).
get_yeast_detailC
Detailed information about a specific yeast including manufacturer, specifications, temperature range, and storage details.
Inputs: identifier (required).
inventory_summaryB
Creates a comprehensive overview of all inventory items including fermentables, hops, yeasts and miscellaneous items.
Inputs: no named parameters.
list_batchesB
Lists all brew batches.
Inputs: no named parameters.
list_fermentablesB
List all the fermentables (malts, adjuncts, grains, etc) inventory.
Inputs: no named parameters.
list_hopsA
Lists all hops in inventory with their basic properties like alpha acids, quantity, and usage type.
Inputs: no named parameters.
list_inventory_categoriesB
Lists the available inventory categories.
Inputs: no named parameters.
list_misc_itemsB
Lists all miscellaneous inventory items.
Inputs: no named parameters.
list_recipesC
Lists all recipes.
Inputs: no named parameters.
list_yeastsA
Lists all yeasts in inventory with their basic properties like attenuation, quantity, and type.
Inputs: no named parameters.
update_batchC
Updates a batch's status or measured values.
Inputs: batch_id (required), status, measuredFg, measuredOg, +10 more.
update_fermentable_inventoryC
Sets the inventory amount for a specific fermentable.
Inputs: item_id (required), inventory_amount (required).
update_hop_inventoryC
Sets the inventory amount for a specific hop.
Inputs: item_id (required), inventory_amount (required).
update_misc_inventoryC
Sets the inventory amount for a specific miscellaneous item.
Inputs: item_id (required), inventory_amount (required).
update_yeast_inventoryC
Sets the inventory amount for a specific yeast.
Inputs: item_id (required), inventory_amount (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Tools are grouped by resource (fermentables, hops, yeasts, misc, batches, recipes) with a clear list/get/update split, so most selections are unambiguous. The main soft spot is the batch cluster: get_batch_detail, get_batch_brewtracker, get_batch_last_reading, and get_batch_readings_summary all sound like 'batch info' and require reading descriptions to separate.
Nearly all names follow a consistent snake_case verb_noun pattern (list_hops, get_batch_detail, update_hop_inventory). The only deviations are noun-only names like inventory_summary and the slightly odd 'get_batch_brewtracker', but the overall convention is predictable.
22 tools is slightly heavy but justified by the domain: four inventory types each needing list/get/update (12), plus batch and recipe operations. Each tool maps to a distinct data need rather than duplicating another.
Coverage is read-heavy plus inventory updates, but there are notable gaps: no create/delete for batches, recipes, or inventory items, and no way to log brew-day or fermentation events beyond update_batch. Agents can read and adjust quantities but cannot manage the full lifecycle.
Maintenance
Related MCP Connectors
Connect Amazon Seller Central to Claude or ChatGPT via MCP. Orders, inventory, pricing, fees, FBA.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with Mealie recipe databases through MCP clients like Claude Desktop.167MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop and other MCP clients to interact with any OAuth2-authenticated OpenAPI-based API through automatic tool generation from OpenAPI specifications, with built-in token management and authentication handling.7 npm3MIT
- AlicenseAqualityDmaintenanceRead-only MCP server exposing Brewfather brewing data—batches, recipes, fermentation readings, and inventory—as tools for natural language queries.91MIT
- AlicenseAqualityDmaintenanceEnables reading, searching, creating, and safely modifying Brewfather recipes via the Brewfather API, with local credential storage and confirmation-based writes.8MIT