A Rust-fast policy engine for whole repositories
My code,
my rules
Stop Code Slop, put your agent on a leash and know where your code is going.
A Rust kernel reads your repository once into typed fact tables. Python rules query those shared tables across deterministic, contextual, and external lanes, and report exact findings with citations. The rules that can offer a fix only keep it after MCMR reparses the result and reruns the rule that found it.

- kernel
- Rust, through PyO3
- fact tables
- typed, shared
- rules
- source documented
- repairs
- verified only, atomic
- license
- Apache-2.0
Run the demo
Point it at code
The repository includes a deliberately messy MCP server. A deterministic run is fast, local, and repeatable. It reports findings without changing the demo.
demo ยท terminal
pip install mcmr
mcmr check demo/ --no-contextual --format concise --report-only