Nvd Cve MCP Server logo

Nvd Cve MCP Server

Search NVD for CVE records and retrieve formatted vulnerability details through MCP.

Install Nvd Cve MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "nvd-cve-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "nvd-cve-mcp-server"
      ]
    }
  }
}

Settings β†’ Developer β†’ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-testedβ€” we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

nvd-cve-mcp-server connects MCP-compatible clients to the National Vulnerability Database for CVE lookups and keyword searches. It exposes tools for retrieving a specific CVE and searching related vulnerabilities, returning Markdown-formatted results with fields such as CVSS, severity, CWE, dates, descriptions, and references. The server uses the NVD REST API first and falls back to parsing NVD web pages when the API is unavailable. Use it for security research, vulnerability triage, and product- or keyword-based CVE discovery.

Use cases

  • Look up detailed records for a known CVE
  • Search NVD for product-related vulnerabilities
  • Find CVEs associated with a vulnerability keyword
  • Review CVSS, CWE, references, and publication dates
  • Investigate vulnerabilities during security research

Key features

  • Retrieve detailed CVE records
  • Search CVEs by keyword
  • Return Markdown-formatted results
  • Use the NVD API with web fallback
  • Support English and Chinese

Security & health

What it can reach and how reliably it runs β€” from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6h ago via OSV.dev Β· nvd-cve-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads338Package downloads in the last 30 days.
Last commit9mo agoMost recent push to the default branch.

How Nvd Cve MCP Server works

What nvd-cve-mcp-server does

nvd-cve-mcp-server provides an MCP interface to vulnerability data published by the National Vulnerability Database. It supports two primary workflows: looking up one CVE by its identifier and finding CVEs through a keyword query. Results are formatted as Markdown for display in an MCP client.

A detail lookup can include the CVE identifier, description, CVSS score, severity, publication and modification timestamps, CWE classification, external references, and links to the NVD and CVE records. Search results are presented in a table with the CVE ID, severity, CVSS score, publication date, and a description.

The server supports English and Chinese usage. It is intended for security research and educational purposes, with use subject to applicable laws and ethical requirements.

How it works

Requests are sent to the NVD REST API at https://services.nvd.nist.gov/rest/json/cves/2.0 as the primary data path. If the API cannot be used, the server switches to NVD web pages and extracts key fields from the returned HTML using Cheerio. The response data identifies whether it came from the API or web source.

The get_cve_details tool accepts a required cve_id value. Identifiers must follow the CVE-YYYY-NNNNN pattern. The search_cves tool accepts a required keyword and an optional result limit. Search returns 10 results by default and permits up to 20.

Setup and configuration

Node.js 18 or newer and npm or yarn are required. The simplest setup runs the package through npx, without a separate installation:

config.json
{
  "mcpServers": {
    "nvd-cve": {
      "command": "npx",
      "args": ["-y", "nvd-cve-mcp-server"]
    }
  }
}

Add this server entry to the configuration for Claude Desktop or another MCP-compatible application. The same command can be used on macOS, Linux, and Windows, with the client configuration stored in that platform's normal location. Alternatively, install the package globally with npm install -g nvd-cve-mcp-server, install it locally with npm install nvd-cve-mcp-server, or run the project with npm start.

The process requires network access to nvd.nist.gov. No API key or environment variable is specified for the standard setup.

Tools and capabilities

  • get_cve_details: retrieves information for a single CVE ID.
  • search_cves: searches CVE records by keyword, with configurable result count.
  • API-first retrieval through the NVD vulnerability endpoint.
  • Web-scraping fallback for NVD pages when the API is unavailable.
  • Markdown output for detailed records and search tables.
  • English and Chinese language support.

Limitations and notes

NVD API rate limits apply, so repeated or high-volume requests should be made responsibly. Results depend on network access and the availability of the NVD API or website. A missing CVE may indicate an invalid identifier, a CVE that has not been published to NVD, or a query that did not match the available data. Broader search terms can help when a keyword query returns no results. CVE records are updated regularly, so retrieved information should be checked when freshness matters.

Reviews

No reviews yet β€” be the first to share how it worked for you.

Frequently Asked Questions about Nvd Cve MCP Server

nvd-cve-mcp-server is an MCP server that connects AI clients to the National Vulnerability Database (NVD). Its main tools, get_cve_details and search_cves, retrieve individual CVE records or search vulnerabilities by keyword, returning fields such as descriptions, CVSS scores, severity, CWE data, dates, and references.

Install it by running it through npx or by installing the npm package globally or locally. An MCP client can use command npx with args -y and nvd-cve-mcp-server, while Node.js 18 or newer is required.

Use the search_cves tool with a required keyword and an optional limit. The default is 10 results and the maximum is 20; broader terms may help when a search produces no matches.

Use get_cve_details with a CVE identifier in CVE-YYYY-NNNNN format. The result can include the description, CVSS score, severity, CWE classification, publication and modification dates, references, and official links.

Yes, nvd-cve-mcp-server can be configured in Claude Desktop using an npx-based MCP server entry. The same stdio command can be used with other MCP-compatible clients.

Related MCP servers

Add a badge to your READMEShow it’s listed β€” live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNvd Cve MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nvd-cve-mcp-server?style=directory)](https://allmcps.com/mcp/nvd-cve-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/nvd-cve-mcp-server"><img src="https://allmcps.com/api/badge/nvd-cve-mcp-server?style=directory" alt="Nvd Cve MCP Server on AllMCPs" /></a>