cert-review
SEI CERT C and C++ rule lookup and analyzer findings for code review
cert-review is an MCP server for security. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, Linux, Self-hosted
- Runs
- Locally
- Version
- 1.4.4
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add cert-review-mcp -- docker run -i --rm docker.io/raminnietzsche/cert-review-mcp:1.4.4Add --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"cert-review-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/raminnietzsche/cert-review-mcp:1.4.4"
]
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add cert-review-mcp -- docker run -i --rm docker.io/raminnietzsche/cert-review-mcp:1.4.4Or add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.cert-review-mcp]
command = "docker"
args = ["run", "-i", "--rm", "docker.io/raminnietzsche/cert-review-mcp:1.4.4"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"cert-review-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/raminnietzsche/cert-review-mcp:1.4.4"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "cert-review-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "docker.io/raminnietzsche/cert-review-mcp:1.4.4" ] } } }Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
About cert-review
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.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
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_rulesName suggests: reads
- Filter the rule database with coverage tiers
- search_rulesName suggests: reads
- Rank rules by keyword relevance
- get_ruleName suggests: reads
- One rule with examples, risk row, CWE and checkers
- get_rule_coverageName suggests: reads
- Coverage of rules by available checkers
- check_diffName suggests: reads
- Run analyzers over a diff
- build_review_packet
- Select hunks and rule texts for manual review
- validate_findingsName suggests: reads
- Reject findings without a valid rule citation
- format_findings
- Format findings as review comments
What it does
- 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
cert-review 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.