Let agents check their own work
sc setup installs the agent skill and registers the sc-mcp server for your user, so coding agents can run Scorecard and read the verdict before they hand work back.
cargo install --path crates/sc-mcp
sc setup
Open source · MPL-2.0 · v0.1.0
Scorecard runs your project's build, tests, lint, coverage, dependency and secret checks, scores each gate, and returns pass or fail. No hosted service, no account.
git clone https://github.com/moonbase2090/Scorecard
cargo install --path Scorecard/crates/sc-cli
sc 0.1.0 output, unedited; icons and verdict color added.
How it works
Build the sc CLI from source with cargo. Prebuilt macOS and Linux builds will come with the first tagged release.
sc analyze .Scorecard picks a pack from your project's manifests and runs its real tools. For Rust that's cargo check, cargo test, cargo llvm-cov and cargo clippy.
Each gate passes or fails, and the exit code is the verdict: 0 pass, 1 a gate failed, 2 the analyzer couldn't run. A terminal gets the scorecard shown above; a pipe gets JSON. --format and --out write JSON, Markdown, SARIF or HTML reports.
What it checks
| Gate | Checks | Fails the run |
|---|
A pack maps each gate to the right tools for a language. --pack picks one when several manifests match. Rust enforces the full set above; other packs enforce fewer gates.
Four scores from 0 to 1, reported alongside the gates. Efficiency and security stay at 1.0 until their engines exist.
Works where you work
sc setup installs the agent skill and registers the sc-mcp server for your user, so coding agents can run Scorecard and read the verdict before they hand work back.
cargo install --path crates/sc-mcp
sc setup
Run the same analysis in GitHub Actions and fail the check when a gate fails. Writes sc-results.sarif by default.
- uses: moonbase2090/Scorecard/action@[[ACTION_REF]]
Build from source with cargo today. A signed macOS .dmg and macOS and Linux tarballs are planned for the first tagged release.
Local-first
Analysis happens on your machine or your CI runner. The optional --llm on spec review, off by default, calls an OpenAI-compatible API: a local endpoint (127.0.0.1:11434) unless you set XAI_API_KEY, which sends it to api.x.ai.
This website has no trackers, analytics or cookies. It only remembers your light or dark theme choice, in your browser.
No sign-up and no hosted service. Install it and point it at a repo. An API key is only needed if you turn on --llm with xAI.
Written in Rust and licensed under MPL-2.0. Read the source.
Install
Current version: 0.1.0, not yet tagged. Until the first release, install from source.
[[INSTALL_CMD_MACOS]]git clone https://github.com/moonbase2090/Scorecard
cd Scorecard
cargo install --path crates/sc-cli
cargo install --path crates/sc-mcpRequires Rust 1.85 or newer. sc-mcp is only needed for agents.
rustup component add llvm-tools
cargo install cargo-llvm-covsc analyze .Independent systems / The maker
Moonbase2090 builds Scorecard. The source is available under the Mozilla Public License 2.0 (MPL-2.0).