KeygraphLabs · CVE MCP
Keygraph Labs · CVE MCP · how it works

How it works

Tools · Triage priority · Limits, CI and feeds · Privacy and freshness · Sources

The URL is an MCP server, the standard way AI assistants call outside tools. It has 17 tools, and none needs a key. They draw on NVD, CVE.org, FIRST EPSS (the chance a flaw is exploited in the next 30 days), CISA KEV (the US government's list of flaws attackers are using), OSV and the Metasploit, Nuclei and Exploit-DB indexes. One call returns CVSS, EPSS and exploitation evidence side by side, then a 0 to 100 triage priority (a sort order, with exploited-in-the-wild entries at 90 or above), so the model can tell you what to patch first instead of reading eight sites. It can also search CVEs, say what changed since yesterday, and pick the upgrade that clears a vulnerable package. Paste a lockfile or SBOM (npm, pnpm, yarn, pip, poetry, uv, Pipenv, Cargo, Bundler, Composer, Go, CycloneDX or SPDX JSON) and it names the vulnerable pins. Ask before installing a package and it says whether it exists, is malware, or is too new to trust. For a vulnerable package it names the functions to look for where the advisories record them, and your agent searches your code for them on your machine. The server never asks for source code: it sees only what your agent sends, which is CVE ids, package names, dependency files, search words, and where in your code it found the vulnerable functions (file paths, line numbers, function names) and which settings match.

How well it answers: the benchmark compares it with five other free CVE servers on everyday developer questions, and every question and result is published.

What it is not: a code scanner. It does not read your source, find secrets, or check container images or infrastructure files. For your own code use Semgrep or CodeQL, and for secrets gitleaks or TruffleHog. It reads lockfiles and SBOMs, not a pom.xml or a package.json on its own: for those, your assistant checks each package with check_package. To prove a CVE is exploitable in your app, run Shannon.

17 tools · open to anyone

cve

triage_cve

One call for any CVE id: CVSS, EPSS and exploitation (CISA KEV, CISA SSVC (CISA's own call on whether a flaw is being exploited), Metasploit, Nuclei, Exploit-DB, GitHub proof-of-concept repositories), each shown on its own, then a 0 to 100 triage priority with its parts and a recommendation.

cve

get_vulnerability

Everything known about one CVE: every source's CVSS side by side and where they disagree, EPSS, exploitation, aliases (GHSA, PYSEC, GO, RUSTSEC), package advisories with fixed versions, public credits, and the triage priority.

query?, kev?, severity?, min_cvss?, cwe?, ecosystem?, package?, published_after?, published_before?, limit?

search_vulnerabilities

Find CVEs by words and filters: CISA KEV, severity, minimum CVSS, CWE (weakness type, such as SQL injection), ecosystem and package, publish dates. Words: exploited in the wild first, then likely to be exploited (EPSS 10% or more), then best match. Filters only: newest first.

name, ecosystem?, version? or packages

check_package

Is it safe to install, and is the one I run safe? Exists on npm, PyPI, crates.io, Go, Maven (as group:artifact) or NuGet, not malware, not a typosquat of a far more used package (npm and PyPI: one slip from its name, and which one was probably meant), not brand new, maintained, no open advisories, and the version to use instead. Without a version it also says, for whoever already runs it, which advisories older releases have, which are exploited in the wild, and the version to upgrade to. Without an ecosystem the name is looked up in every registry and the widely used one is checked. One package, or several in `packages`.

name, ecosystem?, version?, parent?

get_remediation

For an installed package version: the lowest version that clears every advisory (checked against OSV), the newest fix in the current major, advisories with no fix yet, whether the package looks abandoned, and, given the parent that pulls it in, whether upgrading the parent fixes it. Without a version: the upgrade that clears every advisory with a fix, and the ones exploited in the wild. Without an ecosystem the widely used package by that name is used.

name, ecosystem, version

get_dependency_risk

For one package version: every package it pulls in (resolved by deps.dev), checked against OSV and CISA KEV, with the path to each vulnerable one and the direct dependency that brings it in.

name, ecosystem, from, to

compare_versions

Which known vulnerabilities an upgrade (or downgrade) fixes, which it introduces, and which remain.

since, ecosystem?, packages?, kinds?, kev_only?, after?, limit?

get_security_updates

The change feed: new and rejected CVEs, CISA KEV additions, large EPSS moves, new advisories and newly published fixes since a time, filtered by ecosystem, package list, kind or KEV. Pages with `after`.

cve

get_vulnerability_timeline

Dated events for one CVE: published, NVD changes, CISA KEV, CISA SSVC, advisories, EPSS moves and fixes, oldest first.

cve, limit?

get_related_vulnerabilities

CVEs in the same package, and the same weakness from the same vendor, with why each is related.

cves

prioritize_cves

A list of CVE ids triaged and ranked: exploited in the wild (KEV, CISA SSVC) first, then ready-made attack tooling, then EPSS, so you know what to patch first.

content, filename?, exclude?

scan_dependencies

Paste a lockfile, requirements file or SBOM: npm, pnpm, yarn, pip, poetry, uv, Pipenv, Cargo, Bundler, Composer, Go, CycloneDX or SPDX JSON. Known vulns per pinned package via the OSV batch API. For a requirements.txt it also scans the packages those pull in, resolved through deps.dev. Not a code, secret, container or infrastructure scanner: source files, Dockerfiles and manifests without a lockfile are refused with what to do instead.

name, ecosystem, version, or packages

vulnerable_functions

For a vulnerable package version, the functions each advisory affects (exact for Go and Rust, quoted from the advisory elsewhere), so the agent can search your code on your machine for calls to them. The tool takes package names and versions, never source code.

cve

get_code_context

For a CVE: the repository, files and functions its fixing commit changed, and the regression tests, with the confidence and how it was found.

cve

get_patch_analysis

For a CVE: each fixing commit, what it changed file by file, the functions touched, the commit messages, and the tests that prove it.

cve, name?, ecosystem?, evidence

assess_applicability

Takes evidence the agent gathered on its own machine (installed version, configuration, call sites found) and returns the status (affected, not affected, fixed, under investigation) and how far the evidence goes: the package is present, the version is affected, the risky setting is on, your code calls the flawed function, or it was seen while running. Never says not affected without evidence, and never asks for source code.

cve, name, ecosystem, evidence, author?

generate_vex_draft

A VEX statement (the standard way to say whether a product is affected by a CVE), in OpenVEX format, from the same evidence, marked as a draft for a person to review before it is published.

ALIAS · cve

get_cve

The NVD record alone. Kept for one release: use get_vulnerability.

ALIAS · cve

get_epss

FIRST's probability that the CVE is exploited in the next 30 days, with percentile and trend. Kept for one release: get_vulnerability and triage_cve include it.

ALIAS · cve

check_kev

Whether the CVE is in CISA's Known Exploited Vulnerabilities catalogue, with due date and ransomware use. Kept for one release: get_vulnerability and triage_cve include it.

ALIAS · name, version?, ecosystem?

osv_query

Advisories for a package by name plus version or ecosystem, with fixed versions. Kept for one release: use check_package or get_remediation.

How the triage priority is built

bands 0-29 low · 30-59 medium · 60-84 high · 85+ critical
55MAX

CVSS

Severity

Base score out of 10, scaled. NVD first. When NVD has not scored a new CVE yet, the publisher's own score, then CISA's from CVE.org, then OSV's. No score anywhere counts as a 25 point placeholder, and the answer is marked unscored and provisional, never low risk.

35MAX

FIRST EPSS

Exploit probability

Probability of exploitation in the next 30 days, times 35. Moves when exploit code shows up, so it is the part worth rechecking.

10MAX

Metasploit, Nuclei, Exploit-DB

Exploit maturity

Ten points when the attack is weaponized: a Metasploit exploit module or a Nuclei exploit template exists. Five for a published proof of concept, including a scan-only template or a public exploit repository.

90FLOOR

CISA KEV and SSVC override

Exploited in the wild

Any CVE in the Known Exploited Vulnerabilities catalogue, or that CISA marks as actively exploited, scores at least 90, whatever CVSS and EPSS say. Patch these first.

Worked examples, as scored on 5 Dec 2026. Log4Shell (CVE-2021-44228): CVSS 10 gives 55, EPSS about 100% gives 35, a Metasploit module gives 10, so 100, critical. The xz backdoor (CVE-2024-3094): CVSS 10 gives 55, EPSS 90.9% gives 32, a public proof of concept gives 5, so 92, critical (it was 71, high, on 30 Nov, when EPSS was 30.8%). A CVE in CISA KEV lands in the 90 to 100 range whatever the sum.

Limits, CI and feeds

no key · no signup · 120 calls a minute

No key, no signup

Every tool and the audit_dependencies prompt work for anyone, up to 120 tool calls a minute per address, 100 packages or 20 CVEs a call and 5,000 packages a scan. In Claude Code, type /mcp__keygraph-cve__audit_dependencies in your project to run the dependency check over a repo.

Triage priority in CI
# fail the build when a Dependabot CVE has a triage priority of 85 or above, is not scored yet, or the call returns none (needs jq)
$ export CVE_MCP_URL=https://cve-mcp.keygraph.io/mcp CVE=CVE-2021-44228
$ curl -sS "$CVE_MCP_URL" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
    -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"triage_cve","arguments":{"cve":"'"$CVE"'"}}}' \
  | jq -e '.result.structuredContent.triagePriority | (.score | type == "number") and .score < 85 and .provisional == false'

Follow what changes

Point a feed reader, Slack or Teams at a feed: new CVEs, fixes, package advisories, KEV listings and attack-likelihood jumps. RSS, Atom or JSON Feed.

Feeds
# one package (a name with / or @ is URL-encoded)
https://cve-mcp.keygraph.io/feeds/PyPI/requests/updates.rss
# one ecosystem, CISA KEV, or everything
https://cve-mcp.keygraph.io/feeds/npm/updates.atom
https://cve-mcp.keygraph.io/feeds/kev/updates.rss
https://cve-mcp.keygraph.io/feeds/updates.json

Privacy and freshness

what we keep, how old the data is

What a call sends. Only what your assistant passes: a CVE id, a package name and version, a dependency file, search words, or, when it checks whether your code uses a vulnerable function, the file paths, line numbers, function names and matching settings it found. No tool asks for source code and a file that is only source code is refused, but the server cannot stop an assistant from sending other text, so the audit prompt and every tool description tell it not to. Credentials in a pasted file are removed before anything reads it. To find advisories, public package names and versions are sent to OSV, deps.dev and the package registries, and search words to Cloudflare Workers AI when a search falls back to meaning. Packages from private registries, git or local paths, and any names you list in exclude, are never sent to an outside service; a name in a file that records the public registry as its source is treated as public. When a file does not record where its packages come from (pnpm and Yarn Berry lockfiles, go.mod and go.sum, SBOMs), nothing is sent until your assistant passes an exclude list, empty if every package is public.

What we log. Each request's path, method, status and timing, plus Cloudflare's request id when it fails. A REST or page path can name a CVE, package or vendor, and that path is logged. Pasted files, MCP tool arguments, request bodies and query strings never are. Whole answers to public lookups are kept in the edge cache for 5 minutes (package answers 30 minutes) so a repeated question is fast; scanned files are never cached.

How usage is counted. Each tool call is counted with its tool, outcome and timing under a client id: a hash of your address with a salt that changes every day and is deleted after two days. It groups one day's calls without storing the address, and cannot follow anyone from one day to the next. Beside that, with no client id, each call counts the requests it made to each outside service (such as NVD) and how they went, and each page or feed view counts its kind (a CVE page, a feed), never which one. There is no signup.

How fresh the data is. CISA KEV reloads hourly, and the Metasploit, Nuclei and Exploit-DB indexes nightly. Lookups read our own copy first: the CVE List is checked every 5 minutes, NVD changes every 2 hours, OSV hourly and EPSS daily. Package checks ask OSV live. When our copy falls behind, or for a live lookup, answers are cached up to 6 hours for NVD, 12 for EPSS and 1 for OSV. If a source is down, the last good answer is shown and marked as cached.

Sources and attribution

public data, cited at the source

This product uses the NVD API but is not endorsed or certified by the NVD. CVSS, CWE and reference data come from the National Vulnerability Database. Exploit-probability scores come from FIRST EPSS. The exploited-in-the-wild signal comes from the CISA KEV catalogue (CC0 1.0). Package advisories come from OSV. Advisories from the GitHub Advisory Database, PyPI, Go, OSS-Fuzz and the Erlang Ecosystem Foundation are CC BY 4.0, used with changes, normalised and summarised for triage. Red Hat and SUSE security data are CC BY 4.0, and EUVD data is from ENISA. The full list with each licence is on data licences.

Publisher (CNA) scores and CISA Vulnrichment come from CVE.org (Vulnrichment CC0). Exploit references come from Metasploit (BSD-3), Nuclei templates (MIT), Exploit-DB (GPL v2) and PoC-in-GitHub (CC0), used as references only: ids, titles and links, never exploit code.

Package publish dates, source repositories and the packages a requirements file pulls in come from deps.dev (Open Source Insights, CC BY 4.0), alongside the npm and PyPI registries. Package health scores come from OpenSSF Scorecard (CDLA Permissive 2.0).

The 0 to 100 triage priority, the bands and the recommendations are Keygraph's own, derived from these sources and not attributable to them.

Triage ranks the risk. Shannon proves the exploit.

Triage tells you where to look. Shannon, Keygraph's open-source AI pentester, runs the attack against your app and reports only what it proved.

Run Shannon on your appAbout Keygraph