
cert-review
io.github.RaminNietzschePublished by GitHub account RaminNietzschev1.2.0Updated Nov 21, 2026
SEI CERT C/C++ code review: rule lookup, clang-tidy and cppcheck findings mapped to CERT rules
The publisher's own server: Review Expert
Overview
Local MCP server for SEI CERT C/C++ code review: rule lookup plus clang-tidy, cppcheck and Semgrep findings mapped to CERT rule IDs.
- What you can do
- Look up, search and filter CERT C/C++ rules, recommendations and guidelines, with examples, risk rows, CWE tags and coverage tiers
- Run clang-tidy, Clang Static Analyzer, cppcheck and bundled Semgrep rules on files, directories or changed diff lines, with optional baseline filtering
- Explain a finding with the matching rule, closest compliant/noncompliant example pair and fix steps
- Build review packets of code hunks and candidate rule texts, and validate findings so each cites a real rule ID and verbatim quote
- Format findings as markdown, GitHub, GitLab, SARIF or Code Quality output
- When to use it
- When reviewing C or C++ changes against SEI CERT, MISRA C:2012, MISRA C++:2023 or AUTOSAR C++14 and you want analyzer results tied to specific rule IDs. Useful for Ceph work, where a dedicated profile is included, and for grounding manual or LLM-assisted review in real rule text.
- Requirements
- Runs as a local stdio process, typically via the published Docker image or a Python 3.11+ checkout with the mcp SDK. Analyzers (clang-tidy, cppcheck, Semgrep) are bundled in the Docker image; a local install needs them separately. A compile_commands.json is needed for reliable parsing. Optional CERT_REVIEW_HOME and licensed MISRA/AUTOSAR text paths.
Installation
In SourceWeft
- Open cert-review in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
cert-review-mcp
[cert-review MCP server – quality and maintenance score on Glama]
SEI CERT C and C++ code review as an MCP server, a CLI and two review skills, tuned for Ceph, with the same tools for MISRA C:2012, MISRA C++:2023 and AUTOSAR C++14 (docs/misra-autosar.md).
It does three things:
- Knows the standards.
data/rules.jsonholds every rule and recommendation of the SEI CERT C standard (122 rules, 183 recommendations) and every rule of the SEI CERT C++ standard (83 rules), with paired noncompliant/compliant examples, the risk row (severity, likelihood, detectable, repairable, priority, level), CWE tags and the automated-detection tables. It is built reproducibly from a pinned upstream commit and checked against the standards' own index pages. - Runs real analyzers and maps them to rule IDs. clang-tidy (
cert-*and mapped checks), the Clang Static Analyzer, cppcheck and 40 bundled Semgrep rules for INT, EXP, MEM, CON and other CERT rules; optionally Infer and the CodeQL CERT query packs (docs/analyzers.md). Findings are normalised to one schema, de-duplicated, filtered by a profile, and optionally limited to changed lines. - Prepares the rest for a manual review layer without letting it make things up. For rules
no checker covers,
build_review_packetselects code hunks and the few rule texts worth reading;validate_findingsrejects any finding that does not cite an existing rule ID and quote that rule's text. - Speaks MISRA and AUTOSAR too. A
standardfilter on every rule tool and astandardsselection for the checks (default: CERT only). Findings map to MISRA C:2012 (cppcheck MISRA addon), MISRA C++:2023 and AUTOSAR C++14 IDs. Their copyrighted texts are not bundled; you can load your licensed copy. See MISRA and AUTOSAR.
Comments are only drafted and formatted. Nothing is ever posted to GitHub or GitLab by this project.
Not an official CERT or CMU product. See NOTICE for attribution (CC BY 4.0 text, MIT examples) and the pinned source commit.
Architecture
[Architecture: data built by tools/, the engine in src/cert_review, and the MCP and CLI front ends]
The diagram source is in docs/architecture.md.
Coverage
Each rule is deterministic (a rule-specific checker exists: a clang-tidy cert-* check or a
CodeQL CERT query), partial (only general checkers or the bundled Semgrep pattern rules map)
or llm-only (no checker). The reference toolchain is what the Docker images run:
clang-tidy/clang 19.1.7, cppcheck 2.17.1 and Semgrep 1.186.0 with the bundled rules. The
extended toolchain adds Infer 1.3.0 and CodeQL 2.27 with the CERT packs 2.63.0, which are
optional and not in the images.
Before the Semgrep rules, the reference toolchain covered C rules 16 / 34 / 72 and C++ rules 18 / 29 / 36. A mapped checker is not a detection guarantee; the measured numbers follow.
MISRA C:2012 221 guidelines (131 / 28 / 62), MISRA C++:2023 178 (4 / 31 / 143), AUTOSAR C++14 397 (5 / 51 / 341); details and measurements in docs/misra-autosar.md.
Measured precision and recall on the CERT examples: docs/accuracy.md. Rule counts versus the official index pages: docs/rule-counts.md. Results on a real Ceph subtree: docs/ceph-trial.md.
Recall on real security fixes (Ceph CVEs and memory-safety fixes, curl, libtiff and others): docs/benchmark-real.md.
Install
The package reads data/ and profiles/ from the checkout (set CERT_REVIEW_HOME to point
elsewhere). Python 3.11+; works with the official mcp SDK 1.x (FastMCP, 1.15 or later) and 2.x (MCPServer).
Cursor
.cursor/mcp.json in your project (or ~/.cursor/mcp.json):
Then ask: "Use the cert-review ceph_review prompt on my current diff." Copy skills/ into your
skills folder to make the review procedure available.
Docker
Dockerfile.mcp builds the MCP server with the analyzers included (no local clang or
cppcheck needed). Mount your project at the same absolute path it has on the host:
The same mcpServers block works in Claude Desktop and Cursor. Release tags also publish
multi-arch images (amd64, arm64) to Docker Hub as
raminnietzsche/cert-review-mcp;
use raminnietzsche/cert-review-mcp:latest instead of cert-review-mcp to skip the build.
Details, the CLI from the image, and a tools/list check: docs/docker.md.
MCP Registry
The server is listed in the official MCP Registry
as io.github.RaminNietzsche/cert-review-mcp (server.json), so clients that read
the registry can install the Docker image from there.
Claude Code
Use as a GitHub Action
Diff mode on pull requests, SARIF, a job summary, and optional inline review comments
(review-comments: "true", off by default). A GitLab include template publishes Code Quality
and SAST reports. Inputs, outputs and examples: docs/action.md,
examples/github-workflow.yml.
MCP tools
Every tool is read-only: it reads local files and bundled data and runs local analyzers.
Nothing is written, uploaded or posted. All tools declare MCP annotations, a title and,
except format_findings, an output schema.
For check_diff and build_review_packet with pasted diff_text, files that are missing on
the MCP host are reconstructed from the patch under repo (the directory is created when needed).
On remote servers that cannot see your checkout, pass the unified diff and a logical root path
(for example /workspace/ceph); omit repo to use a disposable tree under the system temp
directory.
check_files and check_diff take an optional baseline_path: findings recorded in a
baseline file are hidden and counted (new, baselined, fixed). See docs/baseline.md.
MCP tool and parameter names changed after the v1 release; see CHANGELOG.md.
standard accepts cert (default), cert-c, cert-cpp, misra, misra-c-2012,
misra-cpp-2023, autosar, autosar-cpp14 or all.
Resources: rule://EXP34-C, profile://ceph. Prompts: cert_review, ceph_review.
CLI
--fail-on error|warning|note sets the exit code for CI; with --baseline only new findings count. Silence one rule on a line with
// cert-review: ignore EXP34-C reason.
Profiles
profiles/default.yaml is plain CERT. profiles/ceph.yaml encodes Ceph: C++23/C11,
priority and severity per rule, suppressions with reasons (ceph_assert, dout, crimson,
tests, vendored trees), and idioms (bufferlist, ceph::mutex, RefCountedObject, errno
returns, asio/seastar callbacks) that tell the reviewer how each project construct
changes a rule. Evidence for each idiom is cited inside the file.
profiles/misra.yaml and profiles/autosar.yaml select MISRA C:2012 + MISRA C++:2023 and
AUTOSAR C++14 (standards:), with severity taken from the guideline classification.
MISRA and AUTOSAR
The MISRA and AUTOSAR documents are copyrighted, so none of their guideline text is
included: only IDs, classification, AUTOSAR enforcement and target, checker mappings,
public SEI CERT cross-references and one-line summaries written for this project
(labelled as paraphrases). Point CERT_REVIEW_MISRA_C_TEXTS, CERT_REVIEW_MISRA_CPP_TEXTS,
CERT_REVIEW_AUTOSAR_TEXTS or a profile's rule_texts: at your licensed copy to see the
official headlines and to have validate_findings check quotes against them. Without it,
MISRA/AUTOSAR findings are accepted on a valid rule ID (grounding: "rule-id-only").
Mapping sources, measured results and file formats: docs/misra-autosar.md.
Rebuilding the data
Limitations
- Static coverage is thin by nature: most CERT rules are not decidable by tools; the
llm-onlyandpartialrules depend on the review layer and on a human. - Tools need compilable code. Without
compile_commands.jsonmany files do not parse and checks are skipped. The engine reports this instead of "no findings": the tool status becomespartial, the markdown, SARIF (executionSuccessful: falseplus atoolExecutionNotificationswarning), GitHub review, Action summary and CLI output carry a warning, and--fail-on-parse-error(alias--fail-on-partial; Action inputfail-on-parse-error) turns it into a failing exit code. A file on which an analyzer hits its 300 s timeout is treated the same way. - Ceph needs Linux. Its sources include Linux-only headers (
linux/version.h, ...) and Linux-only Boost.Asio features, so e.g.src/rgw/radosgw-admin/radosgw-admin.cccannot be parsed on macOS even with the SDK sysroot and Homebrew Boost. Analyse Ceph on Linux, with the Docker image, or with the GitHub Action.tools/ceph_compdb.pyadds-isysrooton macOS, which is enough for some directories (src/common) but not for all of them. - Mappings come from CodeChecker labels and clang-tidy aliases plus a small curated overlay; general analyzers can map to several rules, so the engine keeps the best few per line.
- Most MISRA C++ and AUTOSAR guidelines have no open-source checker; MISRA C coverage
depends on cppcheck's MISRA addon (needs
python3). - Ceph's profile is based on reading the code and on a limited trial, not on a full build.
License
Code: Apache-2.0 (LICENSE). Bundled CERT content: CC BY 4.0 (text) and MIT (examples); see NOTICE. MISRA and AUTOSAR: facts and original summaries only, no guideline text; see NOTICE and docs/misra-autosar.md.
Source: README.md at commit 63b3a81
Tools
0Version history
1- v1.2.0LatestNov 21, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Review integrations

Review Expert
expert.reviewOfficial publisher
Remote MCP server that lets an assistant read, search and analyze App Store and Google Play reviews and draft replies, after OAuth sign-in.

Trustpilot Review Alerts
Published by GitHub account Berrkaydev
An Apify-hosted remote MCP server that lets an assistant set up alerts for new Trustpilot reviews, company replies and rating changes per company.

Service isolation hardening review — Atom
org.aimlds
Service isolation hardening review — Atom's hosted MCP server, published by aimlds.org; credential required; Streamable HTTP.

Semantic html review — Atom
org.aimlds
Semantic html review — Atom's hosted MCP server, published by aimlds.org; credential required; Streamable HTTP.

Process waste review coaching — Atom
org.aimlds
Process waste review coaching — Atom's hosted MCP server, published by aimlds.org; credential required; Streamable HTTP.