# CodeInspectus

> CodeInspectus is an open-source MCP server for security. Local security scanner that checks AI-written code and drives a scan, fix, rescan loop. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://codeinspectus.com
- **Repository:** https://github.com/synvoya/codeinspectus
- **MCP Registry name:** io.github.Synvoya/codeinspectus
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add codeinspectus -- npx -y codeinspectus
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "codeinspectus": {
      "command": "npx",
      "args": [
        "-y",
        "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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/codeinspectus
