CVE Risk MCP Server
Enables CVE lookups and risk assessment by integrating CISA Known Exploited Vulnerabilities (KEV) data and CVSS metrics. It helps users prioritize patching efforts by ranking vulnerabilities based on exploitation status and calculated risk scores.
README
CVE Risk MCP Server
MCP server for CVE lookups, KEV enrichment, and “what should I patch first?” ranking. It
implements the MCP tools/list + tools/call flow over stdio and returns structured risk
assessments per CVE.
Features
- CVE detail lookups with parsed CVSS v3/v4 metrics.
- CISA KEV feed enrichment (primary + mirror fallback).
- EPSS-style risk scoring with reasons and a priority label.
- Batch ranking for patch queues.
Tools
cve_lookup- Inputs:
cve_id,include_kev,include_epss - Output: CVE summary + KEV status + risk score
- Inputs:
cve_rank- Inputs:
cve_ids,include_kev,include_epss - Output: ranked list (highest risk first)
- Inputs:
cve_patch_first- Inputs:
cve_ids,top_n,include_kev,include_epss - Output: ranked list + top-N recommendations
- Inputs:
cve_status- Inputs: none
- Output: upstream status + cache stats (timestamps + last error summary)
cve_refresh- Inputs:
cve_ids,include_epss,refresh_kev - Output: cache warm/refresh summary
- Inputs:
cve_export- Inputs:
cve_ids,include_kev,include_epss,include_markdown - Output: ranked list + optional markdown summary
- Inputs:
Quickstart
make setup
make check
Reliability knobs
--retriesand--retry-backoff-secondscontrol bounded retries for transient HTTP failures (429/5xx + network errors).- MCP and JSON CLI responses now include structured error data for upstream failures.
- CVE parsing tolerates legacy schema variants (alternate CVSS and reference fields).
- Structured errors include remediation hints (e.g., respect
Retry-Afteron 429s).
Run (stdio MCP server)
python -m cve_risk_mcp --stdio
Run (JSON CLI mode)
cve-risk-mcp lookup CVE-2023-23397 --pretty
cve-risk-mcp rank CVE-2023-23397 CVE-2021-44228 --pretty
cve-risk-mcp patch-first CVE-2023-23397 CVE-2021-44228 --top-n 1 --pretty
cve-risk-mcp status --pretty
cve-risk-mcp refresh --no-refresh-kev --pretty
cve-risk-mcp export CVE-2023-23397 CVE-2021-44228 --include-markdown --pretty
Output to file
cve-risk-mcp lookup CVE-2023-23397 --output out.json --pretty
NDJSON output
cve-risk-mcp rank CVE-2023-23397 CVE-2021-44228 --format ndjson
Load CVEs from file
cve-risk-mcp rank --cve-file cves.txt --format ndjson
Example (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cve_lookup","arguments":{"cve_id":"CVE-2023-23397"}}}
Data sources
- CVE data: CIRCL Vulnerability Lookup API.
- KEV data: CISA Known Exploited Vulnerabilities feed (primary URL) with fallback to the official CISA GitHub mirror.
- EPSS data (optional): FIRST EPSS API.
Notes
- No authentication: intended for local or controlled environments.
- All outbound network calls are GETs to the configured APIs.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.