retriEVAL

v1.0.0
io.github.hcarrillo001/retrieval-mcp Checked 21 hours ago Published 3 months ago

LLM evals as MCP tools: score outputs for faithfulness, relevancy, and hallucination.

Values you need

VariableWhat it is
ANTHROPIC_API_KEYoptional secret Judge model API key. Not needed if you set RETRIEVAL_JUDGE_BACKEND=ollama to run the judge locally.
RETRIEVAL_JUDGE_BACKENDoptional Which judge to score with: anthropic (default), openai, or ollama for a fully local judge. Default: anthropic
RETRIEVAL_JUDGE_MODELoptional Judge model id, e.g. claude-sonnet-4-6 or qwen2.5:14b for Ollama.
RETRIEVAL_BUDGET_USDoptional Spend cap for judge calls. Unset means no cap.

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add retrieval-mcp -- docker run -i --rm ghcr.io/hcarrillo001/retrieval-mcp:1.0.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "retrieval-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hcarrillo001/retrieval-mcp:1.0.0"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "retrieval-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hcarrillo001/retrieval-mcp:1.0.0"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "retrieval-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hcarrillo001/retrieval-mcp:1.0.0"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.retrieval-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/hcarrillo001/retrieval-mcp:1.0.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_metrics, load_golden_set, list_golden_sets, author_metric, run_eval, show_run_cases, get_budget, reset_budget, ….
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json