mcp nvd server

Local 2025-09-01 01:07:58 0

A Model Context Protocol server that retrieves CVE information from the National Vulnerability Database, allowing AI models to access up-to-date vulnerability data.


Python MCP

MCP server that retrieves CVE information from the national vulnerability database (NVD).

Installation

Prerequisites

Install the following.

Building

[!NOTE] This project employs uv.

  1. Synchronize dependencies and update the lockfile.
    uv sync

Debugging

MCP Inspector

Use MCP Inspector.

Launch the MCP Inspector as follows:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-nvd run mcp-nvd

MCP Inspector

NVD Rate Limiting

How to Add an API Key

[
  {
    "description": "Fetch CVE data from NVD",
    "inputSchema": {
      "properties": {
        "cve_id": {
          "description": "The CVE ID to fetch data for.",
          "type": "string"
        }
      },
      "required": [
        "cve_id"
      ],
      "type": "object"
    },
    "name": "nvd_tool"
  }
]