Hosted MCP server · #29 most used on Smithery

nist-nvd-mcp-server

cyanheads/nist-nvd-mcp-server

Search and audit NIST NVD CVEs by keyword, severity, CWE, CISA KEV status, and CPE.

Uses
12k
Tools
5
Runs
Hosted
Listed
4mo ago

Get started

Add it to your agent

npx -y @smithery/cli@latest install cyanheads/nist-nvd-mcp-server --client claude

Swap --client claude for cursor, vscode, windsurf or another client. The CLI asks for any required settings.

What it can do

5 tools

nvd_get_cve3 paramsFetch one or more CVEs by ID from the NIST National Vulnerability Database. Returns CVSS scores across all available versions (v2.0, v3.0…

Fetch one or more CVEs by ID from the NIST National Vulnerability Database. Returns CVSS scores across all available versions (v2.0, v3.0, v3.1, v4.0), CWE weakness classifications, affected CPE configurations, CISA KEV fields, and references. Up to 100 CVE IDs per call. For bulk lookups of more than 10 IDs, use brief: true — full records for 100 CVEs can exceed 1MB and exhaust context budgets.

ParameterTypeDescription
briefbooleanWhen true, returns trimmed records (ID, status, top CVSS score, KEV name, published date) instead of full detail. Recommended for batches of more than 10 IDs.
cveIdsOne CVE ID or an array of up to 100 CVE IDs to fetch.
includeReferencesbooleanWhen false, omits the references array to reduce response size.
nvd_search_cves12 paramsSearch CVEs by keyword, severity, CWE, date range, or CISA KEV status. The primary discovery tool for vulnerability surveillance and tria…

Search CVEs by keyword, severity, CWE, date range, or CISA KEV status. The primary discovery tool for vulnerability surveillance and triage workflows. pubDays and lastModDays are convenience shorthands that expand to date pairs; values over 120 days are clamped to the NVD maximum and reported in queryMeta. Returns brief summaries — call nvd_get_cve for full detail on specific IDs. At least one filter is recommended; omitting all filters returns CVEs in default NVD index order (oldest first by CV

ParameterTypeDescription
cweIdstringFilter by CWE weakness ID (e.g., "CWE-79", "NVD-CWE-Other").
limitintegerMaximum number of results to return (default 20, max 2000).
offsetintegerZero-based page offset for pagination.
kevOnlybooleanWhen true, filters results to CVEs in the CISA Known Exploited Vulnerabilities catalog.
keywordstringFull-text search across CVE descriptions (AND-semantics across words).
pubDaysintegerCVEs published in the last N days (max 120; values over 120 are clamped). Mutually exclusive with pubStartDate/pubEndDate.
severitystringFilter to CVEs at this CVSS severity level or above.
noRejectedbooleanWhen true (default), excludes CVEs with REJECT/Rejected status.
pubEndDatestringISO 8601 datetime for publication range end. Both pubStartDate and pubEndDate required together.
lastModDaysintegerCVEs last modified in the last N days (max 120; values over 120 are clamped). Mutually exclusive with lastModStartDate/lastModEndDate.
pubStartDatestringISO 8601 datetime for publication range start. Both pubStartDate and pubEndDate required together. Mutually exclusive with pubDays.
lastModEndDatestringISO 8601 datetime for last-modified range end. Both required together.
nvd_audit_cpe8 paramsFind all CVEs affecting a specific product and version using CPE (Common Platform Enumeration). Requires either an exact CPE name (cpeNam…

Find all CVEs affecting a specific product and version using CPE (Common Platform Enumeration). Requires either an exact CPE name (cpeName) or a partial match string (virtualMatchString) with optional version range bounds. With cpeName, NVD scopes results to configurations where the product is directly vulnerable, not merely referenced as a dependency. Use nvd_search_cpes first to resolve the correct CPE string for a product. Returns full CVE records.

ParameterTypeDescription
limitintegerMaximum number of CVEs to return (default 20, max 2000).
cpeNamestringFull CPEv2.3 name (e.g., "cpe:2.3:a:apache:http_server:2.4.51:*:*:*:*:*:*:*"). NVD adds isVulnerable automatically. Mutually exclusive with virtualMatchString.
versionEndstringUpper version bound. Requires virtualMatchString.
severityMinstringFilter out CVEs below this severity level.
versionStartstringLower version bound. Requires virtualMatchString.
versionEndTypestringWhether the upper version bound is inclusive or exclusive.
versionStartTypestringWhether the lower version bound is inclusive or exclusive.
virtualMatchStringstringPartial CPE match pattern (e.g., "cpe:2.3:a:apache:http_server:*"). Use with versionStart/versionEnd for version range audits. Mutually exclusive with cpeName.
nvd_search_cpes3 paramsSearch the NVD CPE (Common Platform Enumeration) dictionary by product keyword or partial match string. Returns CPE names, human-readable…

Search the NVD CPE (Common Platform Enumeration) dictionary by product keyword or partial match string. Returns CPE names, human-readable titles, and deprecation status. Use before nvd_audit_cpe to resolve the correct CPE name for a product — CPE strings are precise identifiers (e.g., cpe:2.3:a:apache:http_server:2.4.51:*:*:*:*:*:*:*) and must match exactly to audit the right product.

ParameterTypeDescription
limitintegerMaximum number of CPE entries to return (default 20, max 10000). If totalResults > returned, narrow the keyword for a more specific result.
keywordstringProduct name or vendor keyword (e.g., "apache http server", "openssl", "nginx"). At least one of keyword or cpeMatchString is required.
cpeMatchStringstringPartial CPEv2.3 pattern (e.g., "cpe:2.3:a:apache:http_server"). At least one of keyword or cpeMatchString is required.
nvd_get_cve_history3 paramsRetrieve the change history for a single CVE — CVSS score revisions, reference additions, status transitions (e.g., "Received" → "Analyze…

Retrieve the change history for a single CVE — CVSS score revisions, reference additions, status transitions (e.g., "Received" → "Analyzed"), and CPE configuration updates. Use when tracking a CVE's escalation or investigating when a score changed. For the current record, call nvd_get_cve instead. The NVD history endpoint is significantly slower than other NVD endpoints, especially without an API key — set NVD_API_KEY for reliable operation.

ParameterTypeDescription
cveIdstringCVE identifier to retrieve history for (e.g., "CVE-2021-44228").
limitintegerMaximum number of change events to return (default 20, max 2000).
offsetintegerZero-based offset for paginating through change events.