evalgate-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
evalgate
A zero-dependency CI/CD regression gate for prompts, models, and AI agents — plus a read-only Streamable HTTP MCP server for querying run history.
Point evalgate at an AI gateway, Gemini API, local CLI, or HTTP endpoint. It runs your test cases in parallel, grades outputs against deterministic assertions and latency/token budgets, diffs against baseline.json, and exits 1 on regressions so it drops straight into GitHub Actions.
Quick start
No pip dependencies required for the core CLI (Python 3.10+ stdlib only):
# Offline smoke test using bundled fixtures
python3 -m evalgate run \
--target fixture \
--suite cases/suite.json \
--baseline cases/baseline.json \
--out reports/latest.md \
--fail-on-regressionRun against an AI gateway (OpenAI-compatible)
Works with any AI gateway (LiteLLM, OpenRouter, Cloudflare AI Gateway, vLLM, or OpenAI directly):
export EVALGATE_GATEWAY_URL="https://your-ai-gateway.example.com/v1"
export EVALGATE_API_KEY="your-key"
python3 -m evalgate run \
--target gateway \
--model gemini-2.5-flash \
--suite cases/suite.json \
--baseline cases/baseline.json \
--out reports/latest.md \
--fail-on-regressionOther targets
# Direct Gemini REST API (uses GEMINI_API_KEY)
python3 -m evalgate run --target gemini --model gemini-2.5-flash --fail-on-regression
# Any local CLI / script (pipes prompt to stdin, grades stdout)
python3 -m evalgate run --target cmd --cmd "python3 my_agent.py" --fail-on-regression
# Any custom HTTP agent endpoint
python3 -m evalgate run --target http --url https://agent.example.com/run --response-key answerPromote a new baseline or diff two runs
python3 -m evalgate baseline --from reports/latest.json --out cases/baseline.json
python3 -m evalgate diff --baseline cases/baseline.json --candidate reports/latest.jsonRelated MCP server: AgentInspect MCP Server
Supported assertions
Each case in cases/suite.json supports any combination of:
JSON:
json_valid,expected_keys,expected_json,strict_jsonText & safety:
required_tokens,forbidden_tokens,forbidden_prefixes(CSV formula injection),regex_match,regex_not_matchBudgets:
max_latency_ms,max_output_tokensCustom grader:
grader_cmd(pipes output to any shell/Python command; exit0= pass)
GitHub Actions
A ready-to-use workflow lives at .github/workflows/eval.yml. On every pull request it runs evalgate, posts/updates a sticky PR comment with the per-case regression table, and fails the check if any case regresses.
Remote MCP server
Expose your eval history to any MCP-compatible agent over Streamable HTTP:
pip install -e ".[mcp]"
python3 -m evalgate.mcp_server --port 8080Read-only tools exposed:
list_eval_runs— recent runs with pass rate, p50 latency, and regression countget_regression_diff— pass-rate and latency deltas against baselineget_failing_cases— failing/regressed cases with exact reasons and outputsget_flaky_cases— cases that oscillate between pass and fail across the lastNruns
Deploy to Cloud Run behind IAM/IAP for per-user access control:
gcloud run deploy evalgate-mcp \
--source . \
--region us-central1 \
--no-allow-unauthenticatedTests
python3 -m unittest discover -s tests -vLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
MCP server exposing Buildkite API data (pipelines, builds, jobs, tests) to AI tooling and editors.
Read-only MCP server for AIStatusDashboard status, incidents, metrics, and fallback recommendations.
Query, browse, and automate OmegaAI workspaces from any MCP client. Streamable HTTP with OAuth 2.0.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for TraceFact that lets agents list trace runs, fetch run details, and retrieve reliability reports from a local store.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceRead-only local MCP server for inspecting AgentInspect TypeScript AI-agent traces. Lists runs, exposes bounded causal-failure and TraceFacts evidence, evaluates TraceContract checks, compares runs, and creates share-checked evidence without mutating traces or invoking agent tools.28,919 npm213MIT
- AlicenseAqualityCmaintenanceExposes dify-eval's evaluation capabilities as an MCP server, enabling AI agents in MCP clients to run regression evaluations, compare runs, and manage human review workflows via natural language.5MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to query and diagnose machine-learning training runs through read-only tools for listing experiments, reading configurations and final metrics, comparing runs, sampling metric curves, and detecting training failures.6MIT