Skip to main content
Glama
Alig1493

NVD MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NVD_API_KEYYesYour NVD API key
NVD_CVE_URLNoNVD CVE endpointhttps://services.nvd.nist.gov/rest/json/cves/2.0
TOTAL_TIMEOUTNoPer-request HTTP timeout in seconds60.0
RETRY_MAX_DURATIONNoTotal retry budget in seconds120
NVD_CVE_HISTORY_URLNoNVD history endpointhttps://services.nvd.nist.gov/rest/json/cvehistory/2.0

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_cvesA

Search the National Vulnerability Database (NVD) for CVEs matching the given filters.

Returns a JSON string with pagination info and a list of matching CVEs, each containing: id, published date, status, English description, CVSS score, CWE weaknesses, top 5 references, and CISA KEV data if applicable.

Performance guidance:

  • Keep results_per_page at 5–10 to avoid slow responses.

  • When filtering by date, limit the window to 30 days or less.

  • Broad severity or keyword queries without a date range can be slow; add pub_start_date / pub_end_date or last_mod_start_date / last_mod_end_date to speed them up.

Mutually exclusive groups (enforced by validation):

  • cvssV2Metrics / cvssV3Metrics / cvssV4Metrics: use at most one

  • cvssV2Severity / cvssV3Severity / cvssV4Severity: use at most one

  • isVulnerable requires cpeName and excludes virtualMatchString

  • version range params (versionStart/End) require virtualMatchString

search_cve_historyA

Search the NVD CVE Change History API for changes made to CVE records.

Returns a JSON string with pagination info and a list of change events, each containing the CVE ID, event type, source, timestamp, and change details.

Performance guidance — the history API is significantly slower than the CVE API:

  • Always set results_per_page to 2–5.

  • Narrow the date window to 7 days or less when using change_start_date / change_end_date. The maximum allowable range is 120 consecutive days.

  • Avoid querying by event_name alone without a date range — it scans the entire history database and will time out. Combine event_name with a date range.

  • For a specific CVE use cve_id; that is the fastest query.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alig1493/nvd-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server