cve-mcp (MCP server unifying NVD + CISA KEV + FIRST EPSS)


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 score
  • kev_check โ€” fast binary: is this CVE in the CISA KEV catalog?
  • epss_score โ€” exploitation probability + percentile
  • prioritize_batch โ€” rank a list of CVEs by composite risk
  • kev_recent_additions โ€” new KEV entries in the last N days
  • health โ€” 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.

โ† back