Evalsmith MCP
Score RAG retrieval, compare configs, audit agent tool calls and catch prompt regressions
Evalsmith MCP is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add evalsmith-mcp --env EVALSMITH_JUDGE_API_KEY='<EVALSMITH_JUDGE_API_KEY>' -- npx -y evalsmith-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"evalsmith-mcp": {
"command": "npx",
"args": [
"-y",
"evalsmith-mcp"
],
"env": {
"EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"evalsmith-mcp": {
"command": "npx",
"args": [
"-y",
"evalsmith-mcp"
],
"env": {
"EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"evalsmith-mcp": {
"command": "npx",
"args": [
"-y",
"evalsmith-mcp"
],
"env": {
"EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"evalsmith-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"evalsmith-mcp"
],
"env": {
"EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add evalsmith-mcp --env EVALSMITH_JUDGE_API_KEY='<EVALSMITH_JUDGE_API_KEY>' -- npx -y evalsmith-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.evalsmith-mcp]
command = "npx"
args = ["-y", "evalsmith-mcp"]
env = { EVALSMITH_JUDGE_API_KEY = "<EVALSMITH_JUDGE_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"evalsmith-mcp": {
"command": "npx",
"args": [
"-y",
"evalsmith-mcp"
],
"env": {
"EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }Or run: gemini mcp add -s user -e EVALSMITH_JUDGE_API_KEY='<EVALSMITH_JUDGE_API_KEY>' evalsmith-mcp npx -- -y evalsmith-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "evalsmith-mcp": { "command": "npx", "args": [ "-y", "evalsmith-mcp" ], "env": { "EVALSMITH_JUDGE_API_KEY": "<EVALSMITH_JUDGE_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
EVALSMITH_JUDGE_BASE_URLOpenAI-compatible endpoint for the optional LLM judge (default: Ollama on localhost)EVALSMITH_JUDGE_MODELModel used by the optional LLM judgeEVALSMITH_JUDGE_API_KEYAPI key for the judge endpoint, if it needs oneLOG_LEVELpino log level; logs go to stderr
About Evalsmith MCP
Everything is computed deterministically and offline, so the same input gives the same verdict. Retrieval is scored from relevance judgements and a ranked run using recall@k, precision@k, nDCG@k, hit rate and MRR. Two or three configurations can be ranked with seeded paired-bootstrap confidence intervals, which shows whether a gap is real. Tool-call traces in evalsmith, Anthropic Messages, OpenAI Chat or Responses formats are checked against expected calls in strict or lax order, and golden sets compare baseline and candidate prompt outputs.
An LLM judge exists for a second opinion but is off by default and never decides the verdict. It points at any OpenAI-compatible endpoint, defaulting to Ollama on localhost with llama3.1:8b.
The same core runs four ways: MCP over stdio, MCP over stateless Streamable HTTP, a CLI that can fail a build with a threshold such as recall@5=0.8, and a GitHub Action. Reports come out as a terminal table, Markdown, JSON, JUnit XML or HTML. Twelve synthetic example datasets are served as resources.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 6 tools changes data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- evaluate_retrieval
- Scores retrieval from qrels and a ranked run.
- compare_configs
- Ranks 2-3 configurations with bootstrap intervals.
- check_tool_callsName suggests: reads
- Compares a tool-call trace with expected calls.
- detect_prompt_regression
- Compares baseline and candidate outputs against a golden set.
- generate_report
- Renders results as Markdown, JSON or JUnit.
- run_suiteName suggests: changes
- Runs an evalsmith.yaml suite from files.
What it does
- Retrieval metrics
- Recall, precision, nDCG, hit rate and MRR at several cutoffs.
- Significance testing
- Seeded paired bootstrap shows if one config really beats another.
- Tool-call audit
- Compare a trace with expected calls using argument matchers.
- Prompt regression checks
- Golden-set comparison of baseline and candidate outputs.
- CI gates
- CLI exit codes, JUnit XML and a GitHub Action.
- Optional judge
- LLM second opinion that never sets the verdict.
Good for
- Check whether a new retriever beats the current one
- Fail a pull request when recall drops under a threshold
- Audit whether an agent called the right tools in order
- Review a prompt change against a golden set
Pricing
Open source
Evalsmith MCP FAQ
Does Evalsmith MCP call an LLM?
Not by default. The judge is optional and does not decide the verdict.
Which trace formats work?
evalsmith, Anthropic Messages, OpenAI Chat and OpenAI Responses.
Where can run_suite read files?
Only inside the workspace root, which defaults to the directory the server started in.
How is Evalsmith MCP installed?
As the npm package evalsmith-mcp, run over stdio.
Is Evalsmith MCP free?
Yes. Evalsmith MCP is open source, so you can use and self-host it for free.
How do I add Evalsmith MCP to Claude Code?
Run this command in your terminal: claude mcp add evalsmith-mcp --env EVALSMITH_JUDGE_API_KEY='<EVALSMITH_JUDGE_API_KEY>' -- npx -y evalsmith-mcp
What are the best alternatives to Evalsmith MCP?
The closest alternatives to Evalsmith MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


