Scan codebases for AI-specific defects that traditional linters (ESLint, SonarQube, Checkstyle) cannot detect.
CategoryExampleSeverityHallucinated packagesimport { parseJson } from 'fast-json-utils' (package doesn't exist on npm)🔴 CriticalStale APIsresponse.json().then() with v2 API that was removed in v4🟡 WarningContext breaksTwo files reference the same function name with different signatures🟡 WarningSecurity anti-patternsHardcoded secrets, deprecated crypto, insecure defaults🔴 CriticalOver-engineeringUnnecessary abstraction layers, dead code, excessive indirection🔵 Info
bash
# Install
npx @opencodereview/cli scan ./src --sla L1
# With AI-powered deep scan (requires Ollama or API key)
npx @opencodereview/cli scan ./src --sla L2
# Diff mode for CI/CD
npx @opencodereview/cli scan ./src --diff --base origin/main --head HEAD
# SARIF output for GitHub Actions
npx @opencodereview/cli scan ./src --format sarif --output results.sarif
yaml
- uses: raye-deng/open-code-review@v1
with:
scan-path: src/
sla-level: L1
diff-mode: true
Available on Smithery, Cursor Directory, and npm:
json
{
"mcpServers": {
"open-code-review": {
"url": "https://open-code-review-mcp.v2ray-seins.workers.dev/mcp"
}
}
}
Or via stdio:
json
{
"mcpServers": {
"open-code-review": {
"command": "npx",
"args": ["-y", "@opencodereview/mcp-server"]
}
}
}
TypeScript, JavaScript, Python, Java, Go, Kotlin
@opencodereview/cli@opencodereview/mcp-server