mcpField
N
NVD MCP Server

NVD MCP Server

Local
github.com/sockcymbalSecurity1Updated 79w ago

About NVD MCP Server

NVD MCP Server connects the National Vulnerability Database to AI development environments for developers researching security issues. It supports CVE lookups, keyword searches, recent entries, and severity filtering.

Key features

  1. 01Look up CVE details
  2. 02Search vulnerabilities by keyword
  3. 03Retrieve recent CVEs
  4. 04Filter by severity

Use cases

  1. 01Review a CVE's description and score
  2. 02Find vulnerabilities related to Apache
  3. 03Filter recent critical vulnerabilities

MCP support

The server exposes NVD vulnerability data to MCP clients for natural-language queries. It supports stdio and HTTP transport.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

NVD MCP Server

Stay ahead of security threats without breaking your flow. The NVD MCP Server is your gateway to the National Vulnerability Database (NVD), seamlessly integrated into AI-powered development environments like Windsurf. Ask questions in plain English, get real-time vulnerability data, and keep your code secure—all from within your IDE. Built on the Model Context Protocol (MCP), this server bridges conversational queries with the NVD's extensive security database, empowering developers to stay informed effortlessly.


Features

  • CVE Details Lookup: Ask "What's the scoop on CVE-2023-1234?" and get a detailed breakdown—description, CVSS score, severity, and more.
  • Keyword Search: Type "Find CVEs related to Apache" to uncover vulnerabilities tied to specific technologies or keywords.
  • Recent CVEs: Use "Show me the latest CVEs from the past week" to stay updated on newly reported vulnerabilities.
  • Severity Filtering: Filter with "List critical vulnerabilities" to zero in on the most urgent security risks.

Requirements

  • Python 3.8 or higher
  • Dependencies:
    • mcp
    • httpx
    • python-dotenv

Install them with: pip install mcp httpx python-dotenv

Installation

  1. Clone the repository:
cd nvd-mcp-server
  1. Set up a virtual environment:
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
  • pip install -r requirements.txt
  1. Configure your NVD API key:

Usage

  1. Launch the server:
  • python nvd_mcp.py --transport stdio
  1. Connect your client/IDE/agent to communicate with this MCP server.
  • Eg, if you're on Claude Desktop, go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
  "mcpServers": {
    "nvd": {
      "command": "uv",
      "args": ["--directory", "/Path to nvd_mcp directory", "run", "nvd_mcp.py"]
    }
  }
}
  1. Query away with natural language:
  • "What's the deal with CVE-2023-1234?" Returns detailed CVE info, like description and severity.

  • "Any recent critical vulnerabilities?" Lists the latest CVEs with critical severity.

  • "Search for CVEs mentioning Apache." Shows vulnerabilities related to Apache.

Configuration

  • API Key: Store your NVD API key securely in keys.env as NVD_API_KEY=your_api_key_here.

  • Transport Mechanism:

    • Default: --transport stdio for local use.
    • For networked setups, use --transport http (ensure proper security, like HTTPS).

Contributing

We’d love your help to make this project even better!

Acknowledgments

  • Anthropic for the MCP framework.
  • NIST for maintaining the NVD.
  • You for checking out this project!

NVD MCP Server

Stars License Issues

Stay ahead of security threats without breaking your flow...

Disclaimer

This is a third-party integration and not made by NIST. Made by Sockcymbal.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.