search_docs
Search Braintrust documentation to find relevant guides, API references, and code examples.
SQL over your experiments, datasets and logs, plus schema inference and experiment summaries against a baseline.
LABSCO SUMMARY
Eval logs have irregular shapes — fields appear as prompts change — so a model writing SQL against them from memory will reference columns that do not exist in this project. Discovering the schema first turns that from a guess into a lookup. The pattern tools are the unusual part: an agent can not only find that a class of trace fails, but record that finding with evidence and attach it to every matching trace, so the next investigation starts where this one ended.
Braintrust's endpoint over their evaluation platform, with a separate EU address for EU organisations. Ten tools: documentation, object navigation, SQL, and a pattern log for recording what you found.
OAuth in most clients, or a bearer API key. EU organisations connect to api-eu.braintrust.dev instead.
Paste a URL, then authorize — add the endpoint to your client, then approve the OAuth consent screen
USE CASES
Infer the schema, then write SQL against the fields that actually exist.
Summarise the experiment with the baseline named, rather than eyeballing two dashboards.
File the pattern with its evidence and attach it to matching traces so it is not rediscovered.
Generate a permalink to the object rather than describing where to click.
Listed in project docs. Your client may show a different list.
search_docsSearch Braintrust documentation to find relevant guides, API references, and code examples.
resolve_objectConvert names to IDs (or vice versa) and parse Braintrust URLs.
list_recent_objectsList recently created projects, experiments, datasets, prompts, or functions you have access to.
infer_schemaAnalyze structure/content of experiments, datasets, or logs; discovers fields, data types, common values.
search_patternsSearch existing project patterns by text, ID, status, or quality.
new_patternReport a new project pattern with supporting evidence (write tool).
update_patternUpdate an existing project pattern or attach evidence to matching traces (write tool).
sql_queryQuery experiments, datasets, and logs with SQL (SELECT/FROM/WHERE/GROUP BY/ORDER BY/LIMIT). Results >1MB return an overflow envelope (overflow_url, byte_length, row_count, instructions).
summarize_experimentAggregated performance metrics for an experiment, optionally vs a baseline.
generate_permalinkGenerate a direct web link to a Braintrust object.
BEFORE YOU INSTALL
10 tools named in the project's documentation.
INSTALLATION
Add the endpoint to your client, then approve the OAuth consent screen.
https://api.braintrust.dev/mcp