# cert-review

> cert-review is an MCP server for security. SEI CERT C and C++ rule lookup and analyzer findings for code review. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Linux, Self-hosted
- **Repository:** https://github.com/raminnietzsche/cert-review-mcp
- **MCP Registry name:** io.github.RaminNietzsche/cert-review-mcp
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools), [compliance and regulation](https://ai-powered.com/categories/compliance-and-regulation)
- **Listing updated:** 2026-11-23

## About

cert-review-mcp bundles the SEI CERT C and C++ standards as a searchable rule database, with examples, risk ratings, CWE tags and detection tables. It also runs analyzers such as clang-tidy, the Clang Static Analyzer, cppcheck and bundled Semgrep rules and maps their findings to CERT rule IDs.

For rules no checker covers, it prepares a review packet of relevant code hunks and rule texts, and validates that any finding cites a real rule and quotes its text. Review comments are only drafted and formatted; nothing is posted to GitHub or GitLab.

It is tuned for the Ceph codebase and has a standard filter for MISRA C:2012, MISRA C++:2023 and AUTOSAR C++14 mappings, though those copyrighted texts are not bundled. It runs locally or from a Docker image.

## Features

- **CERT rule database:** Covers 122 C rules, 183 recommendations and 83 C++ rules with paired examples and risk data.
- **Analyzer mapping:** Maps clang-tidy, cppcheck, Clang Static Analyzer and Semgrep findings to CERT rule IDs.
- **Review packets:** Selects code hunks and relevant rule texts for rules without an automated checker.
- **Finding validation:** Rejects findings that do not cite an existing rule ID and quote its text.
- **Changed-line filtering:** Findings can be limited to lines changed in a diff.
- **MISRA and AUTOSAR support:** Findings can map to MISRA and AUTOSAR IDs; licensed texts can be loaded by the user.

## Good for

- Review a C++ diff against CERT rules
- Look up a CERT rule with compliant and noncompliant examples
- Run clang-tidy and cppcheck and normalise the output
- Draft review comments without posting them
- Review changes to the Ceph codebase

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add cert-review-mcp -- docker run -i --rm docker.io/raminnietzsche/cert-review-mcp:1.4.4
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add cert-review-mcp -- docker run -i --rm docker.io/raminnietzsche/cert-review-mcp:1.4.4
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.cert-review-mcp]
command = "docker"
args = ["run", "-i", "--rm", "docker.io/raminnietzsche/cert-review-mcp:1.4.4"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user cert-review-mcp docker -- run -i --rm docker.io/raminnietzsche/cert-review-mcp:1.4.4

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "cert-review-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/raminnietzsche/cert-review-mcp:1.4.4"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 6 of 8 tools read data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `list_rules` (name suggests: reads): Filter the rule database with coverage tiers
- `search_rules` (name suggests: reads): Rank rules by keyword relevance
- `get_rule` (name suggests: reads): One rule with examples, risk row, CWE and checkers
- `get_rule_coverage` (name suggests: reads): Coverage of rules by available checkers
- `check_diff` (name suggests: reads): Run analyzers over a diff
- `build_review_packet`: Select hunks and rule texts for manual review
- `validate_findings` (name suggests: reads): Reject findings without a valid rule citation
- `format_findings`: Format findings as review comments

## FAQ

### Does cert-review post comments to GitHub or GitLab?

No. Comments are only drafted and formatted.

### Is cert-review an official CERT product?

No. It is not an official CERT or CMU product.

### How do I run cert-review?

Use the Docker image raminnietzsche/cert-review-mcp, or install from a clone with Python 3.11 or newer.

### Are the tools read-only?

Yes. They read local files and bundled data and run local analyzers.

### How do I add cert-review to Claude Code?

Run this command in your terminal: claude mcp add cert-review-mcp -- docker run -i --rm docker.io/raminnietzsche/cert-review-mcp:1.4.4

### What are the best alternatives to cert-review?

The closest alternatives to cert-review are Code Guard MCP, SURESOFT STATIC, Cejel, Brevio Core and Regulane compliance check.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Code Guard MCP](https://ai-powered.com/mcp/code-guard-mcp): Code Guard MCP is an open-source MCP server for security.
- [SURESOFT STATIC](https://ai-powered.com/mcp/suresoft-static): SURESOFT STATIC is an MCP server for security.
- [Cejel](https://ai-powered.com/mcp/cejel): Cejel is an open-source MCP server for security.
- [Brevio Core](https://ai-powered.com/mcp/brevio-core): Brevio Core is a free MCP server for developer tools.
- [Regulane compliance check](https://ai-powered.com/mcp/regulane-compliance-check): Regulane compliance check is a free MCP server for security.
- [vibe-shield — security scanner for AI-generated code](https://ai-powered.com/mcp/vibe-shield-security-scanner-for-ai-generated-code): vibe-shield — security scanner for AI-generated code is a free MCP server for security.
- [Cra Check](https://ai-powered.com/mcp/cra-check): Cra Check is a free MCP server for security.
- [Guardvibe](https://ai-powered.com/mcp/guardvibe): Guardvibe is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/cert-review
