search_cves

Pack: nvd · Endpoint: https://gateway.pipeworx.io/nvd/mcp

Search NVD for CVE vulnerabilities by product or component name. Returns CVE ID, description, severity, and CVSS score. Search terms are matched against CVE description text and EVERY word must appear, so pass the product name (“OpenSSL”, “log4j”, “nginx”) optionally with a technical term (“buffer overflow”) — not a plain-English question. Use when researching security threats or checking if a known vulnerability affects your systems.

Parameters

NameTypeRequiredDescription
querystringyesProduct, component or technical term to match against CVE descriptions, e.g. “OpenSSL” or “log4j deserialization”. Every word must appear in a CVE’s description, so question words (“latest critical vulnerabilities in …”) match nothing and are stripped automatically.
limitnumbernoMaximum number of results to return (default 10, max 2000)

Example call

Arguments

{
  "query": "log4j"
}

curl

curl -X POST https://gateway.pipeworx.io/nvd/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_cves","arguments":{"query":"log4j"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search_cves', {
  "query": "log4j"
});

More examples

{
  "query": "Apache Struts remote code execution",
  "limit": 50
}

Response shape

Always returns: total_results, returned, cves

FieldTypeDescription
total_resultsnumberTotal number of CVEs matching the search query
returnednumberNumber of CVEs returned in this response
cvesarrayList of CVE records matching the search
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total_results": {
      "type": "number",
      "description": "Total number of CVEs matching the search query"
    },
    "returned": {
      "type": "number",
      "description": "Number of CVEs returned in this response"
    },
    "cves": {
      "type": "array",
      "description": "List of CVE records matching the search",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "CVE identifier"
          },
          "published": {
            "type": "string",
            "description": "Publication date in ISO 8601 format"
          },
          "last_modified": {
            "type": "string",
            "description": "Last modification date in ISO 8601 format"
          },
          "status": {
            "type": "string",
            "description": "Vulnerability status (e.g., PUBLISHED)"
          },
          "description": {
            "type": "string",
            "description": "English description of the vulnerability"
          },
          "cvss_score": {
            "type": [
              "number",
              "null"
            ],
            "description": "CVSS base score (v3.1 preferred, falls back to v2)"
          },
          "severity": {
            "type": [
              "string",
              "null"
            ],
            "description": "Severity rating (CRITICAL, HIGH, MEDIUM, LOW, NONE)"
          }
        },
        "required": [
          "id",
          "published",
          "last_modified",
          "status",
          "description",
          "cvss_score",
          "severity"
        ]
      }
    }
  },
  "required": [
    "total_results",
    "returned",
    "cves"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "nvd": {
      "url": "https://gateway.pipeworx.io/nvd/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 10, 2026