What It Does
CVSS alone misses the exploitation signal. KEV says “actively exploited right now.” EPSS gives a probability-of-exploitation forecast. Combined with NVD metadata, the composite risk score helps a SOC analyst prioritise patch cycles without manually joining three APIs.
cve-mcp exposes six tools over the Model Context Protocol (MCP):
lookup_cveโ full NVD metadata + KEV flag + EPSS scorekev_checkโ fast binary: is this CVE in the CISA KEV catalog?epss_scoreโ exploitation probability + percentileprioritize_batchโ rank a list of CVEs by composite riskkev_recent_additionsโ new KEV entries in the last N dayshealthโ upstream API availability check
Example Query (from Claude Desktop)
“Rank these three CVEs by patch priority given active exploitation signal: CVE-2024-3400, CVE-2024-6387, CVE-2023-23397.”
Claude calls prioritize_batch, receives the composite scores, explains the ranking in plain English.
Design Decisions
- Unified server, not three โ one MCP registration, one cache layer, one risk formula.
- On-disk cache, not Redis โ single-user tool, SQLite TTL cache is enough.
- Composite risk formula โ
0.4 * CVSS + 0.4 * KEV_boost + 0.2 * EPSS_percentile. Transparent + tunable. - Rate-limit aware โ respects NVD + FIRST API rate limits, backs off automatically.
Stack
Python 3.11+ ยท FastMCP ยท httpx (async) ยท Pydantic schemas ยท SQLite cache ยท NVD + CISA KEV + FIRST EPSS APIs.