Brewfather MCP Server
The Brewfather MCP Server provides read-only access to your Brewfather brewing data through a set of MCP tools.
List and fetch batches:
list_batchesreturns compact batch rows (id, number, name, style, date, status, OG/FG/ABV);get_batchreturns full details like grain bill, hops, yeast, mash, fermentation, water, and measurements.Monitor fermentations:
get_batch_readingsprovides a downsampled reading series plus a summary (first/last gravity, temps, attenuation, days elapsed).Manage recipes:
list_recipeslists saved recipes (with optional name filter);get_recipefetches full recipe details.Check inventory:
list_inventoryshows your fermentables, hops, miscs, and yeasts with converted amounts and specs.Analyze brewhouse efficiency:
analyze_efficiencycomputes per-batch brewhouse efficiency with aggregates (mean, median, stdev) and compares against Brewfather's stored value.Analyze attenuation:
analyze_attenuationcomputes apparent attenuation per batch, compares with yeast library figures, and groups by yeast, style, or none.Compare batches:
compare_batcheslines up 2–5 batches side-by-side on grain, hops, water, fermentation, or measurements.Verify connection:
check_connectionvalidates credentials and reports unit system, cache TTL, and cache stats.
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 ServerWhat was my brewhouse efficiency across my last ten all-grain batches?"
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
Read-only access to your Brewfather brewing history — batches, recipes, fermentation readings, and inventory — exposed to Claude as MCP tools.
Ask questions like "what was my actual brewhouse efficiency across my last ten all-grain batches" or "compare the FG on my three stouts" without exporting anything by hand.
This server is read-only by design. It can only issue HTTP GET requests. There is no code path in it that can create, modify, or delete anything in your Brewfather account — see Read-only guarantee below.
Setup
1. Requirements
A Brewfather Premium subscription — API access requires it.
uv, which manages Python for you:
brew install uv, orcurl -LsSf https://astral.sh/uv/install.sh | sh.Claude Code or Claude Desktop.
Python itself does not need to be installed separately; uv handles it.
2. Get the code
git clone <this-repo> brewfather-mcp
cd brewfather-mcp3. Get a Brewfather API key
In Brewfather, go to Settings → API.
Press Generate.
Tick exactly these three scopes, and nothing else:
recipes.readbatches.readinventory.read
Copy the User ID and the API Key. The key is shown only once — copy it before closing the dialog.
Only one API key exists per Brewfather account at a time. Generating a new one invalidates any other integration already using the old one.
The User ID is short (28 characters). The API key is noticeably longer. If a value looks like it might be in the wrong field, compare the lengths.
4. Run setup
bin/setupThis installs dependencies, creates .env for your credentials, generates the
Claude Code registration with the correct path for your machine, offers to
register with Claude Desktop, runs the tests, and verifies the connection.
It is safe to re-run at any time. On the first run it will tell you the
credentials are missing — put them in .env and run it again:
BREWFATHER_USER_ID=your_user_id
BREWFATHER_API_KEY=your_api_key
BREWFATHER_UNITS=us # "us" (default) or "metric"
BREWFATHER_CACHE_TTL=900 # seconds5. Use it
Open the folder in Claude Code, or restart Claude Desktop, then just ask:
"What was my brewhouse efficiency across my last ten all-grain batches?"
"Compare the FG on my three stouts."
"What's the grain bill on batch 47?"
"How's the current ferment tracking?"
There is no import or sync step. Each question fetches only what it needs.
Related MCP server: mcp-mealie
Credential handling
.env is gitignored, and was gitignored before the first commit — no
credential has ever been committed to this repository.
Credentials live only in
.env, never in.mcp.json, which is far more likely to be committed by accident.The API key is base64-encoded into an auth header once at startup and is never stored in plain text on the client object.
Credentials never appear in log output, error messages, or tool payloads. An authentication failure reports only that the two variables should be checked.
bin/setupsets.envto mode600(readable only by you).The server fails at startup with a clear message if either credential is missing, rather than failing later on the first tool call.
Manual registration
bin/setup does this for you. If you would rather do it by hand, both clients
need the absolute path to your checkout.
Claude Code — .mcp.json in the project root (gitignored, since the path
differs per machine; see .mcp.json.example):
{
"mcpServers": {
"brewfather": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/brewfather-mcp", "run", "brewfather-mcp"],
"env": {}
}
}
}Claude Desktop — the same block in claude_desktop_config.json:
Platform | Config file location |
macOS |
|
Windows |
|
Linux |
|
Restart Claude Desktop after editing.
Checking it works
Verify the connection. Costs exactly one API call, prints status only — never the payload, never any part of a credential:
uv run python scripts/smoke.pyRun the test suite. All HTTP is mocked; no test spends a live API call:
uv run pytestTools
Tool | Parameters | Returns |
|
| Compact rows: id, batch number, name, style, brew date, status, measured OG/FG/ABV |
|
| Full batch: grain bill with percentages, hop schedule, yeast, mash steps, fermentation schedule, water profile, all measured values |
|
| Reading series plus a derived summary: first/last SG, min/max/mean temp, apparent attenuation, days elapsed |
|
| Compact rows: id, name, style, type, OG, FG, ABV, IBU, colour |
|
| Full recipe, same shape as |
|
| Inventory items with converted amounts and spec figures |
|
| Per-batch brewhouse efficiency plus mean/median/stdev aggregates, split by batch size |
|
| Per-batch apparent attenuation with strain, library figure, delta, and the mash rest temperature; aggregates per strain with a |
|
| Aligned side-by-side table |
| — | Credential check, unit mode, cache statistics |
sections vocabulary, shared by get_batch and get_recipe:
fermentables, hops, yeast, miscs, mash, fermentation, water,
measurements, notes. Omit it to get everything.
Notes on specific tools
list_batches orders by brewDate, not by _id. Brewfather's default
_id ordering is not chronological, so "newest first" would otherwise be
meaningless.
list_recipes — Brewfather has no server-side name search. name_contains
filters after fetching, so it costs a full page walk of limit recipes and
can return fewer results than limit. Raise limit when filtering.
list_inventory returns only items you have added to your own inventory or
set an amount on. It is not Brewfather's full ingredient database.
get_batch_readings — the derived summary is always computed over the
full series, then the returned points are downsampled. The statistics
describe every reading taken, not just the ones returned.
analyze_attenuation — see Attenuation below. It only has
data to work with where a Final Gravity was recorded on the batch; pass
include_incomplete=True to fall back to fermentation readings, which is a
different kind of number and is labelled as one.
Units
Brewfather's API returns everything metric. This server converts on the way out, and emits both units on every measurement, because ambiguity about which unit a number is in causes real brewing mistakes:
{"amount_lb": 27.5, "amount_kg": 12.47}Field type | From | To | Factor |
Volume | L | US gal | ÷ 3.785411784 |
Fermentable weight | kg | lb | × 2.20462 |
Hop / misc weight | g | oz | ÷ 28.3495 |
Temperature | °C | °F | × 9/5 + 32 |
Gravity | SG | SG unchanged, Plato added | — |
Colour | EBC | SRM | ÷ 1.97 |
Bitterness | IBU | IBU unchanged | — |
Pressure | bar | psi | × 14.5038 |
Rounding: volumes and weights to 2 decimals, temperatures to 1, gravity to 3.
BREWFATHER_UNITS selects which system is treated as primary in single-value
derived summaries. It does not suppress either unit on an individual
measurement — those always carry both.
Which field is stored in which unit
Brewfather stores fermentable amounts in kilograms and hop and misc
amounts in grams. This server converts accordingly: weight_from_kg for
fermentables and inventory fermentables, weight_from_g for hops, miscs, and
their inventory equivalents. Yeast inventory is a count of packs, not a mass,
and is passed through unconverted.
✅ Verified against live data. Confirmed empirically against real batches.
A representative all-grain batch returned fermentable amounts of
2.72, 2.72, 1.44, 0.57, 0.48, 0.14 — kilograms, totalling 8.07 kg (17.8 lb)
for a 6.3 gallon batch — and hop amounts of 33.1 and 28.9, which are grams
(1.17 oz and 1.02 oz). Neither reading is plausible under the other unit.
Efficiency
analyze_efficiency computes brewhouse efficiency per batch as:
potential_points = Σ over fermentables ( amount_lb × ppg )
og_points = (measuredOg − 1) × 1000
brewhouse_eff = (og_points × volume_gal) / potential_points × 100Which grain bill
Brewfather keeps two grain bills per batch: batchFermentables (what actually
went into the kettle) and the nested recipe.fermentables (the recipe as it
stands now). This server uses batchFermentables. They diverge whenever a
recipe is edited after brewing — in the account this was validated against, two
batches differ by up to 1.25 kg, enough to move efficiency by several points.
Editing a recipe must not retroactively rewrite what a past batch actually did.
PPG per fermentable
Brewfather stores a potential field on each fermentable (an SG such as
1.037) and separately a yield percentage. This server prefers
potential, converting it as (potential − 1) × 1000, because that is the
figure Brewfather itself calculates with. When only yield is present, it
falls back to 46 × yield/100, the same relationship expressed against
sucrose's 46 PPG maximum.
This ordering is not cosmetic: on live data yield is null on every
fermentable, and potential is always populated. A yield-first
implementation would return nothing at all.
Volume basis
The answer depends entirely on where the volume is measured, so the basis is reported alongside every figure and is selectable:
| Field used | Meaning |
|
| Volume transferred into the fermenter. Kettle and trub losses are charged against the number. |
|
| Volume in the kettle at flameout. Excludes transfer losses, so it reads higher. |
The default is fermenter, and this was determined empirically rather than
assumed. Taking Brewfather's own stored efficiency for 27 real batches and
inverting the formula to solve for the volume it must have used reproduces
measuredBatchSize wherever one is recorded, and the recipe's planned
batchSize wherever one is not. That fallback order is what the code
implements.
The choice of basis matters more than the build spec's ±2 point tolerance
allows for: on a 5-gallon batch with half a gallon of kettle loss the two bases
differ by nearly 7 points. Every result therefore carries volume_basis,
volume_source_field, and volume_was_measured, so you can always see which
volume produced a number and whether it was measured or planned.
Reconciliation against the Brewfather app
These figures come from validating against a real Brewfather account of 29 batches spanning four years. They are evidence that the formula and volume basis are right — not a claim about what your own numbers will be.
Restricted to all-grain batches, which is the tool's default scope:
All-grain batches reconciled | 9 of 9 within 2 points |
Mean difference | +0.21 points |
Median difference | +0.10 points |
Largest single difference | 1.80 points |
Typical agreement is to within a tenth of a point. The single largest gap, 1.80 points, is on a batch with no measured fermenter volume, where the planned volume stands in.
Each batch result includes brewfather_stored_efficiency and
delta_vs_brewfather_points, so any divergence is visible in the output rather
than something you have to go looking for.
Batches that are not all-grain
grain_only defaults to True, and that default is doing real work. Across
the 16 validation batches containing sugar, fruit purée, honey, or lactose,
no single formula reproduces Brewfather's stored efficiency. Three
candidate models were tested — counting non-mashed fermentables in the
denominator, excluding them, and excluding them while also removing their
gravity contribution from the measured OG. The best-fitting model differs from
batch to batch, and the best mean absolute error any of them achieves is 4.2
points.
The most likely explanation is that Brewfather's stored figure does not
recompute when a recipe is edited after brewing, so those values are partly
historical artefacts. Rather than pick a model and present a number that would
disagree with the app, this tool excludes such batches by default and lists
them under excluded_non_grain_batches. Passing grain_only=False includes
them, with contains_non_mash_fermentables flagged on each — treat those
figures as indicative only.
A fermentable counts as non-mashed if its type is Sugar, Extract, Juice, Honey,
Fruit, or Other, or if Brewfather marks it notFermentable (lactose, rice
hulls). Fruit purées are typed "Other" in real data, which is why that type is
in the list.
When a batch cannot be computed at all, the result says so with a reason — no measured OG, no grain bill, no volume for the chosen basis — instead of returning a null or silently dropping it from the aggregate.
Attenuation
analyze_attenuation answers one question: when a beer "misses FG," is that
the fermentation falling short, or the yeast library's attenuation figure being
optimistic? It answers it from measured batches rather than from manufacturer
claims.
apparent_attenuation_pct = ((OG - FG) / (OG - 1)) * 100
attenuation_delta = measured AA - the attenuation Brewfather stores for that strain
predicted_fg_delta_pts = (FG - recipe target FG) * 1000Worked reference, the case the test suite pins: OG 1.047, FG 1.014 gives (47 − 14) / 47 = 70.2% apparent.
Mash temperature is not optional
Every attenuation figure carries the saccharification rest that produced it. Apparent attenuation is a property of the yeast and the wort it was given, so a single number per strain is meaningless without the mash temp beside it — the same strain at 145 °F and at 158 °F is two different results.
Brewfather leaves name empty on most mash steps, so the rest is found by
temperature and duration rather than by label: mash-outs and sparge steps are
discarded, then the longest rest between 60 °C and 72 °C wins. Cider and mead
recipes carry a placeholder step at 0 °C, which is ignored rather than reported
as a 32 °F mash.
Where the final gravity comes from
This is the whole difficulty. Three sources exist and they are not
interchangeable, so every batch carries an explicit fg_source:
| Field | Trust |
|
| A real measurement. The only source used by default. |
| Terminal gravity inferred from the fermentation series | Only with |
(never used) | Brewfather's | Reported for context only — see below. |
Brewfather's own attenuation figure is not a measurement when no FG was
entered. It falls back to the recipe's estimatedFg, which makes it a
restatement of the prediction rather than a test of it. It is surfaced as
brewfather_reported_attenuation with
brewfather_attenuation_is_estimated: true, and it never drives a computed
figure.
Inferring a terminal gravity from readings
With include_incomplete=True, a batch with no recorded FG falls back to its
reading series. Neither the last point nor the minimum is safe: Tilts get moved
into the next batch while the old one is still open, which leaves fresh wort at
the end of a finished series, and a single bad sample mid-crash leaves an
impossible low in the middle. So readings at or above OG are discarded as a
different fermentation, and the median of the final tenth of what remains is
taken as terminal.
The spread across that tail window decides whether the figure is trustworthy.
A tail still moving by more than 2 gravity points is a relocated or failing
sensor at least as often as it is a gravity, so it is published with
fg_is_reliable: false and held out of every aggregate under
excluded_for_unsettled_readings.
The Tilt offset is reported, never applied
A Tilt reads high against a benchtop densitometer. Where a figure comes from
Tilt readings, the raw number stands as
apparent_attenuation_percent, and the correction appears beside it as
apparent_attenuation_tilt_corrected_range (backing out 5–6 gravity points),
with a tilt_offset_note saying so.
The offset is not a constant — it varies by hydrometer and by batch — which
is exactly why it is never folded into the headline figure. Because a raw Tilt
figure understates apparent attenuation by roughly twice the offset in
percentage terms, a reading-derived number is a floor, not a best estimate.
Any aggregate containing one carries a basis_note saying how many of its
figures rest on raw readings.
Batches held out of the averages
Two kinds, both still present in the per-batch rows:
Unfermentables — lactose, or grain Brewfather marks
notFermentablethat still carries gravity. Their sugar raises FG without the yeast having underperformed. Listed underexcluded_for_unfermentableswithhas_unfermentables: trueon the batch.Unsettled readings — as above.
The notFermentable flag alone is not the test. Rice hulls carry it too, and
they are a lauter aid with a potential of exactly 1.000 — no gravity, so no
effect on attenuation. Only an unfermentable that actually contributes gravity
points counts.
Reading the aggregate
Per group (strain, style, or nothing): count, mean, median, min, max, the mean
and median attenuation_delta, the mash temperature range the group spans, and
a suggested_library_value — the median measured attenuation rounded to a
whole percent, ready to paste into the Brewfather yeast entry.
The delta is the headline. Grouped by yeast, the tool also emits a
delta_reading: a consistently negative delta across unrelated strains
points at wort fermentability — mash temperature, grist, mash pH. A negative
delta on one strain alone points at that library entry being wrong.
Rate limiting and caching
Brewfather allows 500 calls per hour per API key. That budget disappears quickly if every question re-fetches your full history, so caching is not an optimization here — it is what makes the server usable.
In-memory TTL cache keyed on the full request URL plus query parameters.
Completed and archived batches, recipes, and inventory: full TTL (default 15 minutes), since they are immutable in practice.
Fermenting batches and every
/readingsendpoint: 60 seconds, since they change during an active ferment.analyze_efficiencypulls everything it needs through theincludeparameter in a single list call per status rather than one fetch per batch.
On a 429, the client reads Retry-After, waits, and retries — up to three
attempts, then reports a clean rate_limited error naming the hourly cap.
On 5xx it backs off exponentially. On 401 and 403 it does not retry,
because the answer will not change.
Errors
Tools return a structured error object rather than raising into the MCP transport:
{"error": "rate_limited", "message": "...", "retry_after_seconds": 120}Code | HTTP | Meaning |
| 401 | Check |
| 403 | The key lacks the scope the endpoint needs — the message names it |
| 404 | No such batch, recipe, or inventory item |
| 429 | 500/hour cap reached |
| 5xx | Brewfather is having a problem |
| 400 | Malformed parameters |
Read-only guarantee
BrewfatherClient.getis the only method in the package that opens a socket, and it hardcodes the HTTP verb. There is no method that takes a verb as an argument.No write or delete scope is referenced anywhere in the codebase.
tests/test_readonly.pyenforces all of this: it scans every source file for mutating HTTP calls and write-scope strings, and drives every tool through a mock transport asserting that onlyGETreaches the wire.Every tool is registered with MCP's
read_only_hintannotation, so the client is told the server is a reader before it calls anything.
Requires mcp >= 2.0, where the server class is MCPServer (it was called
FastMCP in 1.x).
Pagination
Brewfather uses cursor pagination — there is no offset. Pages are walked by
passing the _id of the last item seen as start_after, requesting the
maximum page size of 50, and stopping when a page comes back shorter than
requested. Every list tool goes through the same helper.
Layout
brewfather-mcp/
├── .env # gitignored — your credentials
├── .env.example # committed — placeholders only
├── .mcp.json # gitignored — generated by bin/setup
├── .mcp.json.example # committed — shows the shape
├── bin/setup # one-command install and registration
├── LICENSE # MIT
├── pyproject.toml
├── scripts/smoke.py # live connectivity check, status only
├── src/brewfather_mcp/
│ ├── server.py # MCPServer instance and tool registrations
│ ├── client.py # auth, paging, retry, cache
│ ├── units.py # metric → US customary
│ ├── models.py # object shapes and payload projections
│ └── analysis.py # efficiency, readings, comparison
└── tests/ # all HTTP mockedTroubleshooting
"authentication failed" — the User ID or API key is wrong, or they are swapped. The User ID is the short one (28 characters).
"The API key is missing the 'inventory.read' scope" — the key was generated
without all three read scopes. Regenerate it in Brewfather with
recipes.read, batches.read, and inventory.read all ticked.
"rate_limited" — Brewfather allows 500 calls per hour per key. The server caches aggressively to stay well inside that, but a burst of wide-ranging questions can reach it. Wait for the hourly window to reset.
Tools do not appear in Claude — re-run bin/setup, and restart Claude
Desktop. For Claude Code, the session must be started in this folder.
uv: command not found — install uv (see Requirements), then re-run
bin/setup.
Contributing
The one rule: no write paths. BrewfatherClient.get is the only method
that may open a socket, and the HTTP verb stays a literal. tests/test_readonly.py
enforces this and will fail the build if it is broken.
Run uv run pytest before submitting. All HTTP in tests is mocked — please
keep it that way, so the suite never spends anyone's API budget.
License
MIT — see LICENSE.
Not affiliated with or endorsed by Brewfather. Using the Brewfather API requires a Brewfather Premium subscription and is subject to Brewfather's own terms of service.
Available Tools
9 toolsanalyze_efficiencyARead-onlyIdempotent
Compute brewhouse efficiency across recent batches.
For each batch: potential points from the grain bill, measured OG points,
and the measured volume, combined as
(og_points * volume_gal) / potential_points.
Per-fermentable potential comes from Brewfather's stored potential field
when present (the figure the app itself calculates with), falling back to
46 * yield/100.
Args: limit: How many recent completed/archived batches to consider. Default 15. grain_only: Skip batches containing extract, sugar or other non-mashed fermentables, which inflate the figure. Default True. volume_basis: "fermenter" (default, matches Brewfather's own Brew House Efficiency — volume into the fermenter, so kettle losses count against you) or "post_boil" (kettle volume at flameout, which reads higher by exactly the transfer loss).
Returns: Per batch: name, brew date, target vs measured OG, target vs measured volume, computed efficiency, and Brewfather's stored figure with the delta between them. Then aggregates: mean, median, standard deviation, overall and split by batch size.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| grain_only | No | ||
| volume_basis | No | fermenter |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, and the description adds valuable behavioral detail: the exact formula, fallback logic for missing potential, the impact of volume_basis on reading, and the grain_only filter. This disclosure goes well beyond what annotations provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured: summary, formula, parameter explanations, and return values. Every section is purposeful and concise, with no redundancy or filler. The length is justified by the need to explain calculation nuances.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Even with an output schema present, the description clearly lists the computed fields and aggregates, and explains all parameters and edge cases. It provides a complete picture for an AI agent to invoke the tool correctly and interpret results, making it fully contextual.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description explains every parameter in depth: limit, grain_only, and volume_basis with defaults and detailed implications. This fully compensates for the absent schema descriptions and adds meaning that the schema alone would not convey.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with 'Compute brewhouse efficiency across recent batches' – a specific verb (compute) and resource (brewhouse efficiency) with clear scope. It distinguishes from sibling tools by focusing on aggregated efficiency analysis rather than listing or retrieving individual batches.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides clear context on when to use (analyzing efficiency across batches) and explains parameter semantics like volume_basis and grain_only. However, it does not explicitly name alternatives or state when not to use it, so it's a clear context but missing exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_connectionARead-onlyIdempotent
Verify credentials and report server configuration.
Makes one minimal API call. Never echoes credential values.
Returns: Connection status, the configured unit system and cache TTL, and cache hit statistics for this session.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark this as read-only and idempotent. The description adds non-redundant behavioral details: minimal API call, no credential echo, and the exact return items (status, unit system, cache TTL, cache hit statistics). This goes beyond the annotations without contradicting them.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise: three short sentences with a bullet list for return values. It is front-loaded with the purpose and every sentence earns its place, providing function, behavior, and output without fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with no parameters, and the description covers purpose, safety, and return values. The presence of an output schema and comprehensive annotations means the agent has everything needed. The description is complete for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so schema coverage is 100% by default. The baseline for 0 params is 4, and the description appropriately omits parameter details. It does provide return-value context, but that is not part of parameter semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Verify credentials and report server configuration.' It is a specific verb+resource pair that distinguishes it from batch/recipe/inventory siblings. The added context about making one minimal API call and never echoing credentials reinforces its unique scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use for credential verification and server configuration retrieval. 'Makes one minimal API call' signals low cost, and 'Never echoes credential values' reassures safety. However, it does not explicitly mention when not to use or name alternatives, but the sibling tools are unrelated enough that this is a minor gap.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compare_batchesARead-onlyIdempotent
Line up 2-5 batches side by side on one dimension.
Rows are aligned by ingredient or step name, with an explicit null where a batch does not use that item — absence is usually the thing you are looking for when comparing versions of a recipe.
Args:
batch_ids: Between 2 and 5 batch _id values.
dimension: One of grain, hops, water, fermentation, measurements.
Returns: An aligned table: one row per ingredient or measurement, one column per batch, plus totals where a total is meaningful.
| Name | Required | Description | Default |
|---|---|---|---|
| batch_ids | Yes | ||
| dimension | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly and idempotent safety. The description adds valuable behavioral details: row alignment by ingredient/step name, explicit nulls for non-used items, and return of totals where meaningful. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and well-organized into purpose, args, and returns. The first sentence immediately states the function, and all information is directly useful with no padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (2 parameters, no nested objects) and the availability of an output schema, the description is complete. It explains the alignment behavior, parameter ranges, and return format sufficiently for an agent to invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds essential constraints not present in the input schema: batch_ids must be between 2 and 5 values, and dimension provides an explicit enumeration (grain, hops, water, fermentation, measurements). This fully compensates for the 0% schema description coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function with a specific verb ('Line up'), resource ('2-5 batches'), and scope ('on one dimension'). It is easily distinguished from sibling tools like get_batch (single batch) and list_batches (listing).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides clear context for when to use the tool by describing the use case of comparing recipe versions and highlighting that 'absence is usually the thing you are looking for.' It does not explicitly name alternatives, but the purpose is unambiguous and the context signals suffice for correct selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_batchARead-onlyIdempotent
Fetch one batch in full, or just the sections you need.
Full batch records are large. Passing sections trims the payload to the
parts you actually want.
Args:
batch_id: The batch _id from list_batches.
sections: Optional subset of: fermentables, hops, yeast, miscs, mash,
fermentation, water, measurements, notes. Omit for everything.
Returns: Grain bill with weights and bill percentages, hop schedule with timing and use, yeast and pitch info, mash steps, fermentation schedule, water profile, and all measured values. Weights, volumes and temperatures carry both US customary and metric.
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | ||
| sections | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only/idempotent/non-destructive behavior. The description adds valuable context about large payloads and the ability to trim via sections, as well as the return structure including dual units.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with a purpose statement, Args/Returns sections, and no wasted words. It front-loads the key information and includes necessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite lacking an explicit alternative mention, the description is complete for a read-only fetch tool: it explains purpose, parameters, return content, and payload-size implications, with annotations covering safety.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, but the description fully documents both parameters: batch_id as 'from list_batches' and sections with a complete list of valid values and the default behavior of returning everything when omitted.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Fetch one batch in full, or just the sections you need,' using a specific verb and resource, and distinguishes from sibling tools by emphasizing full vs partial retrieval and payload trimming.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implied usage is clear: use this to retrieve a specific batch with optional section filtering. However, it does not explicitly mention alternatives like get_batch_readings for measurements or list_batches for finding IDs, so it lacks explicit when-not or alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_batch_readingsARead-onlyIdempotent
Fetch fermentation readings (Tilt or manual) for a batch.
An active ferment can log thousands of points, so the series is downsampled evenly rather than returned whole. The first and last readings are always kept.
Args:
batch_id: The batch _id.
latest_only: Return just the most recent reading. Default False.
downsample_to: Approximate number of points to return. Default 200.
Set to 0 to disable downsampling and return everything.
Returns: The reading series plus a derived summary: first and last gravity, min/max/mean temperature, apparent attenuation, and days elapsed. The summary is always computed over the full series, not the downsampled one.
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | ||
| latest_only | No | ||
| downsample_to | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark readOnlyHint and idempotentHint, but the description adds crucial behavioral details: the series is downsampled evenly, first and last readings are always preserved, and the summary is computed over the full series even when downsampled. This goes well beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-organized with a brief purpose, a concise behavioral note, and clearly labeled Args and Returns sections. It is appropriately sized for the tool's complexity, with every sentence contributing meaningful information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers downsampling semantics, parameter effects, and the full return summary fields. It is self-sufficient for an agent to correctly invoke the tool, even without an explicit output schema present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description's Args section fully explains each parameter: batch_id as the batch _id, latest_only as returning the most recent reading, and downsample_to with the meaning of 0 (disable downsampling). This compensates completely for the schema's lack of descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Fetch fermentation readings (Tilt or manual) for a batch,' which uses a specific verb and resource, clearly distinguishing it from sibling tools like get_batch or list_recipes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
While the description does not name alternative tools, it provides clear context for when to use this tool (active ferment with thousands of points) and explains the downsampling trade-off. It lacks explicit exclusions or when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_recipeARead-onlyIdempotent
Fetch one recipe in full, or just the sections you need.
Args:
recipe_id: The recipe _id from list_recipes.
sections: Optional subset of: fermentables, hops, yeast, miscs, mash,
fermentation, water, measurements, notes. Omit for everything.
Returns: The recipe with grain bill percentages, hop schedule, mash and fermentation steps, and target figures, in both unit systems.
| Name | Required | Description | Default |
|---|---|---|---|
| sections | No | ||
| recipe_id | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only and idempotent hints, and the description adds useful behavioral context by detailing the return content (grain bill percentages, hop schedule, mash/fermentation steps, target figures, dual unit systems) and the effect of omitting sections. This goes beyond the annotations without contradicting them.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is tightly structured with Args and Returns sections, using only essential sentences. Every line adds value, from the purpose statement to parameter details and return summary.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With rich annotations and an output schema present, the description still provides complete context: it covers both parameters, return content, and section selection. No critical information is missing for a simple read-only fetch operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has zero descriptions, so the description fully compensates by clearly explaining recipe_id (source from list_recipes) and sections (allowed values and default behavior). This adds substantial meaning beyond the bare schema types.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function with a specific verb ('Fetch') and resource ('one recipe'), and distinguishes it from siblings like list_recipes by focusing on fetching a single recipe with optional section filtering.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage by noting recipe_id comes from list_recipes, but it does not explicitly state when to use this tool versus alternatives, nor does it provide exclusion criteria. The 'sections' parameter hints at selective fetching, but usage context is largely inferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_batchesARead-onlyIdempotent
List brew batches, newest first by default.
Ordering is by brew date, not by id — Brewfather's default _id ordering
is not chronological, so "newest" would otherwise be meaningless.
Args: status: Optional filter. One of Planning, Brewing, Fermenting, Conditioning, Completed, Archived. limit: Maximum batches to return. Default 25. newest_first: Sort by brew date descending. Default True.
Returns: Compact rows: id, batch number, name, style, brew date, status, and measured OG/FG/ABV. Use get_batch for the full record.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| status | No | ||
| newest_first | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, non-destructive behavior. The description adds valuable behavioral nuances beyond these flags: it explains why ordering is by brew date (Brewfather's _id ordering is not chronological) and discloses the compact row format, directing to get_batch for full records.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with an intro, ordering rationale, Args list, and Returns section. Each sentence earns its place, and the rationale for ordering is genuinely useful rather than filler. It is compact and easily scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers purpose, parameters, return values, and relationship to get_batch. With an output schema present, the compact row summary is sufficient. The tool is simple, and the description fully addresses all necessary aspects for selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, and it does excellently. Every parameter (status, limit, newest_first) is explained with its meaning, allowed values, and default behavior. The ordering nuance adds semantic depth to newest_first that the schema cannot convey.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The phrase 'List brew batches, newest first by default' explicitly names the action and resource. It distinguishes from sibling tools like list_recipes (recipes vs batches) and get_batch (compact vs full record), making the purpose unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes 'Use get_batch for the full record,' an explicit pointer to a sibling alternative. It also explains the ordering rationale, helping the agent understand when this list tool is appropriate. It doesn't exclude other sibling tools like list_recipes, but the resource type (brew batches) makes the context clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_inventoryARead-onlyIdempotent
List inventory for one ingredient category.
Note: this returns only items you have added to your own inventory or set an amount on. It is not Brewfather's full ingredient database.
Args: category: One of fermentables, hops, miscs, yeasts. in_stock_only: Only items with a positive inventory amount. Default True.
Returns: Items with inventory amounts converted (fermentables in lb, hops and miscs in oz, yeast as pack counts), plus the relevant spec figures.
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| in_stock_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the operation as read-only, idempotent, and non-destructive. The description adds concrete behavioral details: it returns only user-supplied inventory, converts units per ingredient type, and includes spec figures, which exceeds what annotations convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tight sections: purpose, args, returns. No fluff; every sentence carries operational meaning. The structure is conventional and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter list tool, the description covers execution constraints, input domain, and output format (units and spec figures). The existence of an output schema further reduces the need for return-type detail.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has no descriptions (0% coverage), so the description provides complete parameter semantics: category enumerates four valid values, and in_stock_only explains its filtering behavior and default. This fully compensates for the empty schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a clear verb+resource: 'List inventory for one ingredient category.' It further clarifies scope by noting it excludes the full Brewfather database, distinguishing it from the sibling list_batches and list_recipes tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states the tool is for listing user-added inventory only, with a caveat about not being the full database. However, it does not name an alternative tool for full database queries, so usage guidance is clear but not explicitly differentiated beyond sibling names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_recipesARead-onlyIdempotent
List saved recipes.
Note: Brewfather has no server-side name search. name_contains filters
after fetching, so it costs a full page walk of limit recipes and can
return fewer results than limit — raise limit when filtering.
Args: limit: Maximum recipes to fetch before filtering. Default 25. name_contains: Case-insensitive substring filter applied client-side.
Returns: Compact rows: id, name, style, type, OG, FG, ABV, IBU, colour.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| name_contains | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (readOnlyHint, idempotentHint), the description discloses that there is no server-side name search, the filter is applied client-side, and it may return fewer results than limit. This is valuable behavioral context not covered by annotations. The return format is also specified.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured: a brief one-line purpose, a relevant note, and clear Args/Returns sections. Every sentence provides useful information without unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list tool, the description is complete. It covers parameters, return fields, and a critical behavioral caveat. The output schema existence and annotations further complete the picture, so no essential information is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema provides only titles and defaults, with no descriptions. The description's Args section fully explains both parameters: limit as 'Maximum recipes to fetch before filtering' and name_contains as 'Case-insensitive substring filter applied client-side.' This adds complete meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'List saved recipes' with a specific verb and resource. It distinguishes from sibling tools by targeting recipes specifically, while the note about client-side filtering adds additional clarity about the tool's scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no explicit guidance on when to use this tool versus alternatives like get_recipe or list_batches. The note about raising limit is a parameter usage tip, not a tool-selection guideline. There is no mention of when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
9 tool updates
v0.1.0- First observed
analyze_efficiency - First observed
check_connection - First observed
compare_batches - First observed
get_batch - First observed
get_batch_readings - First observed
get_recipe - First observed
list_batches - First observed
list_inventory - First observed
list_recipes
TDQS
Scored across 9 tools
Each tool targets a distinct resource or operation: batches, recipes, readings, inventory, efficiency analysis, comparison, and connection check. There is no overlap in purpose, so an agent can easily select the right tool.
All tool names follow a consistent verb_noun pattern in snake_case: list_*, get_*, analyze_*, compare_*, check_*. Even get_batch_readings fits the pattern with a compound noun, maintaining uniformity.
Nine tools is well-scoped for a brewing data server. It covers core resources (batches, recipes, inventory) plus analysis and diagnostics without overloading the surface.
The tool set fully covers read-only access to batches, recipes, readings, inventory, and provides useful analytical features. The only gaps are write operations (create/update/delete) and a direct recipe search, but these are not essential for a read-focused integration.
Maintenance
Related MCP Connectors
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseAqualityAmaintenanceA brewing knowledge MCP server — beer styles, ingredients, off-flavour diagnosis, water chemistry, and recipe guidance for AI assistants.11199 npm2MIT
- AlicenseBqualityBmaintenanceMCP server for Mealie that exposes its REST API to manage recipes, meal plans, shopping lists, cookbooks, and taxonomy through natural language.75MIT
- AlicenseAqualityDmaintenanceMCP server for Smart Compost platform that lets LLM agents list composting processes/devices and pull measurements as read-only tools.63 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceA read-only MCP server for Mealie that enables searching recipes, managing shopping lists, meal plans, and retrieving household/instance info via tools. Supports secure per-user authentication and multiple Mealie instances.MIT