opendrs
Open-source MCP server scoring pull-request risk from blast radius and git history
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Locally
- Version
- 0.6.0
- Listing updated
- 3 days ago
About opendrs
opendrs is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
opendrs makes one claim: most pull requests are low risk, and a few cause most incidents. It turns that into a 0 to 1 score. Below 0.3 is green and 0.8 or more is red by default, and every signal comes with evidence: how many files transitively import the changed code, past fixes and reverts in the touched files, the author's history with them, change size and spread, missing test changes and paths you mark critical.
As a GitHub Action it only approves a PR that clears a chain of checks: no blocked paths such as workflows, migrations or CODEOWNERS, no safety rule firing, a green score outside any freeze window, a non-draft PR, a passed AI-review check, and a random sample of eligible PRs, 10% by default, still goes to a human. Forks and changes to its own config are never auto-approved.
opendrs backtest replays history and opendrs calibrate fits the model to a repository. The MCP server offers four tools for agents.
Install
Run in a terminal
claude mcp add opendrs -- npx -y @error-path/opendrsAdd to claude_desktop_config.json
{
"mcpServers": {
"opendrs": {
"command": "npx",
"args": [
"-y",
"@error-path/opendrs"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"opendrs": {
"command": "npx",
"args": [
"-y",
"@error-path/opendrs"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"opendrs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@error-path/opendrs"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"opendrs": {
"command": "npx",
"args": [
"-y",
"@error-path/opendrs"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"opendrs": {
"command": "npx",
"args": [
"-y",
"@error-path/opendrs"
]
}
}
}Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- score_diff
- Scores the risk of a diff
- explain_file_risk
- Explains why a file is risky
- list_hotspots
- Lists risky files
- suggest_reviewers
- Suggests reviewers
What it does
- 0-1 risk score
- Scores each PR from blast radius, history, author experience and tests.
- Gated auto-approval
- Approval passes through blocked paths, safety rules, tier, draft and AI-review checks.
- Human sampling
- A configurable share of eligible PRs still goes to a person.
- Backtest and calibrate
- Replay past commits and fit the model to your repo.
- Several entry points
- GitHub Action, CLI, Claude Code plugin, agent skill and MCP server.
Good for
- Auto-approve a typo fix after AI review
- Route a billing migration to a human
- Ask which files in a repo are hotspots
- Pick reviewers for a risky change
Pricing
Open source
Open source
Prices change. Check error-path.github.io before you buy.
opendrs FAQ
Can a PR turn the gate off?
No, config and model are read from the base branch and changes to CI or config are never approved.
What counts as unknown?
A signal that cannot be computed blocks approval if it could have changed the tier.
Are fork PRs approved?
Never.
How do I run it?
npx @error-path/opendrs score, or use the GitHub Action.
Is opendrs free?
Yes. opendrs is open source, so you can use and self-host it for free.
How do I add opendrs to Claude Code?
Run this command in your terminal: claude mcp add opendrs -- npx -y @error-path/opendrs
What are the best alternatives to opendrs?
The closest alternatives to opendrs are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to opendrs

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools