cve-mcp

v0.2.0
cve-mcp Checked 1 day ago Published 4 months ago

CVE/vulnerability intelligence MCP server — 41 tools, 11 sources: NVD, EPSS, KEV, GHSA, OSV, Shodan, VulnCheck, Vulners, Nuclei, Metasploit, CIRCL, ATT&CK

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nvd_get

Get full details for a specific CVE from NVD — CVSS score, severity, CWE, affected products (CPE), references, and status.

ParameterTypeDescription
cveId *stringCVE identifier (e.g., 'CVE-2024-3400')

nvd_recent

Get recently published or modified CVEs from NVD. Useful for monitoring new vulnerabilities.

ParameterTypeDescription
daysnumberLook back period in days (default 7, max 120)
limitnumberMax results (default 20)
severitystringFilter by CVSS v3 severity

cve_by_product

Search CVEs by vendor or product name. Uses NVD keyword exact match to find all vulnerabilities for a specific technology (e.g., 'Apache Log4j', 'Microsoft Exchange').

ParameterTypeDescription
keyword *stringProduct or vendor name (e.g., 'Apache Log4j', 'OpenSSL')
limitnumberMax results (default 20, max 100)

epss_score

Get EPSS (Exploit Prediction Scoring System) score for one or more CVEs. Returns the probability of exploitation within 30 days and percentile ranking.

ParameterTypeDescription
cve *stringCVE ID(s), comma-separated for multiple (e.g., 'CVE-2024-3400,CVE-2021-44228')

epss_top

Get the top CVEs ranked by EPSS exploitation probability. Shows the most likely-to-be-exploited vulnerabilities.

ParameterTypeDescription
limitnumberNumber of results (default 20)
minScorenumberMinimum EPSS score filter (0-1, e.g., 0.5 for 50%+)

kev_check

Check if CVE(s) are in CISA's Known Exploited Vulnerabilities (KEV) catalog. KEV entries are actively exploited in the wild and require urgent patching.

ParameterTypeDescription
cve *stringCVE ID(s), comma-separated for multiple (e.g., 'CVE-2024-3400,CVE-2021-44228')

kev_recent

Get recently added entries to CISA KEV catalog. Monitor for newly confirmed actively-exploited vulnerabilities.

ParameterTypeDescription
daysnumberLook back period in days (default 30)
limitnumberMax results (default 20)

ghsa_get

Get full details of a GitHub security advisory by GHSA ID or CVE ID. Includes affected packages, CVSS, and patch information.

ParameterTypeDescription
id *stringGHSA ID (e.g., 'GHSA-jfh8-c2jp-5v3q') or CVE ID (e.g., 'CVE-2021-44228')

osv_query

Query Google OSV for known vulnerabilities affecting a specific package version. Supports all major ecosystems (npm, PyPI, Maven, Go, etc.).

ParameterTypeDescription
ecosystem *stringPackage ecosystem
package *stringPackage name (e.g., 'lodash', 'django', 'log4j-core')
version *stringPackage version (e.g., '4.17.20', '3.2.1')

osv_get

Get full vulnerability details from OSV by ID. Accepts OSV IDs (OSV-xxx), GHSA IDs (GHSA-xxx), CVE IDs (CVE-xxx), or ecosystem-specific IDs (PYSEC-xxx, RUSTSEC-xxx).

ParameterTypeDescription
id *stringVulnerability ID (e.g., 'GHSA-jfh8-c2jp-5v3q', 'CVE-2021-44228')

osv_batch

Batch query OSV for vulnerabilities across multiple packages at once. Efficient for scanning a dependency list.

ParameterTypeDescription
queries *arrayArray of package queries

cwe_lookup

Look up a CWE (Common Weakness Enumeration) by ID or search by keyword. Returns name, description, and category for the top 40+ most common CWEs.

ParameterTypeDescription
idstringCWE ID (e.g., 'CWE-79' or just '79')
querystringSearch keyword (e.g., 'injection', 'buffer overflow')

cwe_get

Get full CWE details from the MITRE CWE REST API. Returns name, description, related weaknesses, applicable platforms, consequences, detection methods, and mitigations for any of the 1000+ CWEs.

ParameterTypeDescription
id *stringCWE ID (e.g., 'CWE-79' or just '79')

cwe_hierarchy

Get CWE parent/child hierarchy. Shows which weaknesses are more general (parents) and more specific (children) variants of a given CWE.

ParameterTypeDescription
id *stringCWE ID (e.g., 'CWE-79' or just '79')

cwe_top25

Get the MITRE CWE Top 25 Most Dangerous Software Weaknesses for a given year. Shows the most impactful vulnerability classes ranked by frequency and severity.

ParameterTypeDescription
yearnumberYear (default: current year, e.g., 2024)

cvss_parse

Parse a CVSS v3.x or v4.0 vector string into a human-readable breakdown. Explains each metric, calculates the base score, and provides a plain-English summary. Supports both CVSS:3.1 and CVSS:4.0 format.

ParameterTypeDescription
vector *stringCVSS vector string (e.g., 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H')

shodan_cve

Look up a CVE via Shodan CVEDB (zero-auth). Returns CVSS score, EPSS probability, KEV status, affected CPEs, and references — all in one call without any API key.

ParameterTypeDescription
cveId *stringCVE ID (e.g., 'CVE-2024-3400')

shodan_product

Find CVEs affecting a specific product or vendor via Shodan CVEDB. No API key required. Returns CVEs with CVSS, EPSS, and KEV status.

ParameterTypeDescription
product *stringProduct name (e.g., 'Apache HTTP Server', 'OpenSSL')
countnumberMax results (default 20)
is_kevbooleanFilter to only KEV entries

shodan_ip_vulns

Get known vulnerabilities for an IP address via Shodan InternetDB. Returns open ports, hostnames, CPEs, CVE IDs, and tags. No API key required.

ParameterTypeDescription
ip *stringIP address (e.g., '8.8.8.8')

vulncheck_kev

Check VulnCheck's extended KEV catalog for a CVE. Contains ~80% more entries than CISA KEV, including exploit maturity and ransomware association data.

ParameterTypeDescription
cve *stringCVE ID (e.g., 'CVE-2024-3400')

vulncheck_cpe

Search for vulnerabilities by CPE (Common Platform Enumeration) string via VulnCheck. Useful for finding all CVEs affecting a specific software version.

ParameterTypeDescription
cpe *stringCPE string (e.g., 'cpe:2.3:a:apache:http_server:2.4.49:*:*:*:*:*:*:*')

vulncheck_purl

Search for vulnerabilities by Package URL (purl) via VulnCheck. Supports all major ecosystems (npm, PyPI, Maven, Go, etc.).

ParameterTypeDescription
purl *stringPackage URL (e.g., 'pkg:npm/lodash@4.17.20')

vulners_lookup

Look up a CVE in Vulners database. Returns detailed vulnerability information including exploit references, CVSS scores, and related advisories from 200+ sources.

ParameterTypeDescription
cveId *stringCVE ID (e.g., 'CVE-2024-3400')

nuclei_check

Check if a Nuclei detection template exists for a CVE. Nuclei templates from ProjectDiscovery enable automated vulnerability scanning. Returns template URL, severity, and tags.

ParameterTypeDescription
cveId *stringCVE ID (e.g., 'CVE-2024-3400')

msf_check

Check if a Metasploit exploit module exists for a CVE. If a module exists, the vulnerability is weaponized and should be prioritized for patching.

ParameterTypeDescription
cveId *stringCVE ID (e.g., 'CVE-2024-3400')

cpe_match

Get CPE match criteria for a specific CVE from NVD. Shows exactly which product versions are affected, including version ranges.

ParameterTypeDescription
cveId *stringCVE ID (e.g., 'CVE-2024-3400')
limitnumberMax results (default 50)

circl_cve

Get CVE details from CIRCL (Computer Incident Response Center Luxembourg). Returns CAPEC attack patterns, vulnerable products, and access/impact vectors. No API key required.

ParameterTypeDescription
cveId *stringCVE ID (e.g., 'CVE-2024-3400')

attackerkb_assess

Get community assessments for a CVE from AttackerKB. Shows attacker value, exploitability ratings, and Rapid7 analysis from security researchers.

ParameterTypeDescription
cveId *stringCVE ID (e.g., 'CVE-2024-3400')

cve_to_attack

Map CWE weakness IDs to MITRE ATT&CK techniques. Shows which attack techniques a vulnerability enables, useful for threat modeling and detection engineering.

ParameterTypeDescription
cweIds *arrayCWE IDs to map (e.g., ['CWE-79', 'CWE-89'])

cve_enrich

Full CVE enrichment — queries NVD, EPSS, KEV, GitHub Advisory, OSV, Shodan CVEDB, VulnCheck, Nuclei Templates, and Metasploit in parallel for comprehensive vulnerability intelligence. Returns CVSS, exploitation probability, KEV status, affected packages, exploit availability, and a computed risk score.

ParameterTypeDescription
cveId *stringCVE ID to enrich (e.g., 'CVE-2024-3400')

cve_prioritize

Rank a list of CVEs by exploitation risk. Combines CVSS score, EPSS probability, KEV status, and weaponization signals (Nuclei/Metasploit modules) into a unified risk score. Higher score = patch first.

ParameterTypeDescription
cves *arrayList of CVE IDs to prioritize (e.g., ['CVE-2024-3400', 'CVE-2021-44228'])

cve_compare

Compare two CVEs side by side. Shows CVSS, EPSS, KEV status, affected products, and risk scores with a comparison summary highlighting which is more dangerous.

ParameterTypeDescription
cve1 *stringFirst CVE ID (e.g., 'CVE-2024-3400')
cve2 *stringSecond CVE ID (e.g., 'CVE-2021-44228')

cve_list_sources

List all vulnerability data sources and their current availability. Shows which APIs are reachable and whether optional API keys are configured. Covers 11 sources: NVD, EPSS, KEV, GHSA, OSV, Shodan, VulnCheck, Vulners, CIRCL, AttackerKB, MITRE CWE.

cve_report

Generate a markdown vulnerability report for a list of CVEs. Includes NVD details, EPSS scores, KEV status, and remediation priority.

ParameterTypeDescription
cves *arrayList of CVE IDs to include in the report
titlestringReport title (default: 'Vulnerability Report')