Skip to content
MCP server

CodeInspectus

Local security scanner that checks AI-written code and drives a scan, fix, rescan loop

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
Version
4.1.0
Listing updated
2 days ago

About CodeInspectus

CodeInspectus is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

CodeInspectus targets code produced by AI tools, where keys end up in client bundles and databases are left open. It runs entirely on your machine with no account, and the README claims zero network egress at scan time. After a scan the assistant explains each finding, asks before changing anything, and rescans to confirm which fixes worked.

Under one normalized, CWE-keyed schema it runs five engines: Opengrep for static analysis, Gitleaks for secrets, Trivy for dependency CVEs, IaC and SBOM, Google's osv-scanner for offline dependency matching, and its own Synvoya engine for gaps such as end-of-life Node.js, PHP or Python versions and malicious package versions. Native checks add Supabase row-level security problems, prompt-injection sinks and model output reaching eval or shell calls. Findings can be mapped to compliance frameworks as code-level coverage and sealed as evidence.

It needs Node.js 22 or newer. The three open-source engines download only after you approve, and the Synvoya engine ships inside the package. It works from Claude Code, Codex, Cursor, VS Code, Windsurf, Cline and Aider, or from a terminal and CI.

Install

Run in a terminal

claude mcp add codeinspectus -- npx -y codeinspectus

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codeinspectus": {
      "command": "npx",
      "args": [
        "-y",
        "codeinspectus"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codeinspectus": {
      "command": "npx",
      "args": [
        "-y",
        "codeinspectus"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codeinspectus": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codeinspectus"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "codeinspectus": {
      "command": "npx",
      "args": [
        "-y",
        "codeinspectus"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "codeinspectus": {
      "command": "npx",
      "args": [
        "-y",
        "codeinspectus"
      ]
    }
  }
}

What it does

Five scan engines
Opengrep, Gitleaks, Trivy, osv-scanner and the built-in Synvoya engine.
AI-code checks
Detects exposed client keys, Supabase RLS flaws and unsafe model output sinks.
Scan, fix, rescan loop
Fixes need your approval and a rescan confirms them.
Compliance mapping
Maps findings to frameworks as code-level coverage.
Sealed evidence
Creates verifiable evidence of before and after states.
Terminal and CI use
The same scanner runs outside an assistant.

Good for

  • Check a vibe-coded app for exposed Stripe or API keys before launch
  • Find SQL built from request input
  • Spot end-of-life runtime versions in a repository
  • Run the same scan in CI
  • Verify a security fix by rescanning

Pricing

Open source

Prices change. Check codeinspectus.com before you buy.

CodeInspectus FAQ

Does it upload my code?

No. The README and site say scans run locally with no account and nothing uploaded.

What does it need?

Node.js 22 or newer; Node 24 LTS is recommended.

How do I add it to Claude Code?

Run claude mcp add-json codeinspectus with the npx -y codeinspectus command shown on the site.

Will it change my code without asking?

No. It asks before fixing and a rescan checks each fix.

Is it free?

Yes, the site describes it as free and open source.

Is CodeInspectus free?

Yes. CodeInspectus is open source, so you can use and self-host it for free.

How do I add CodeInspectus to Claude Code?

Run this command in your terminal: claude mcp add codeinspectus -- npx -y codeinspectus

What are the best alternatives to CodeInspectus?

The closest alternatives to CodeInspectus are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to CodeInspectus

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools