Skip to main content
Glama

leveret

A leveret is a young hare — small, fast, and born with its eyes open.

leveret is a self-hosted, hybrid engine for private code reviews: the successor to hosted AI review bots for teams whose code stays home. Deterministic static analysis, AST-level search, and a graded filtering pipeline exposed over MCP, driven by whatever reviewing agent you bring (BYOM — Claude Code, a local model via any MCP-capable client, or a CI runner). The engine layer itself never calls an LLM.

Pipeline the project targets:

[diff] → [deterministic first pass: leveret scan] → [review agent: leads → concerns]
       → [verification agent: refute-or-evidence filter] → [report]

Tools

  • scan {repo, base? | files?, engines?, delta?} — runs the engines applicable to the change set and returns normalized findings (engine, rule, severity, file, line, message, provenance) plus a per-engine status report. With a base ref the scan is delta by default: findings already present at the base tree are dropped as pre-existing (counted, never silent) and survivors are tagged introduced. Engines: semgrep (registry security + per-language rulesets), gitleaks (secrets over base..HEAD commits), shellcheck, ruff, actionlint, zizmor (workflow security), osv-scanner (lockfile CVEs), typos (spelling), jscpd (profile-gated duplication), profile-declared semgrep/ast-grep rule packs, and arbitrary SARIF-emitting commands via custom: profile entries (recipes: psalm taint, hadolint, trivy, ...). Findings are review leads, not verdicts.

  • ast_search {repo, pattern, lang, paths?} — structural pattern matching via ast-grep (metavariables, syntax-aware), for call-site-shaped questions text grep gets wrong.

  • context {repo, files} — prioritization signal, not findings: per-function cyclomatic complexity (lizard), 12-month churn, last-touched date.

Related MCP server: reporelay

Run

npm install && npm run build
node dist/server.js          # stdio MCP server
npm test                     # integration tests (need semgrep, gitleaks, shellcheck, ruff, actionlint, ast-grep on PATH)

Claude Code registration:

claude mcp add leveret -- node /Users/andre/git/leveret/dist/server.js

Status / roadmap

See DESIGN.md — architecture, the three-grade filter (actionable / priced-noise / false-positive), the in-repo memory store, agent prompt contracts, and the validation benchmark gating adoption.

License

AGPL-3.0-or-later.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.

  • Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.

  • Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andrebrait/leveret'

If you have feedback or need assistance with the MCP directory API, please join our Discord server