
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@hrbrmstr/kev-mcp
Advanced tools
This MCP (Model Context Protocol) server provides access to CISA's Catalog of Known Exploited Vulnerabilities (KEV). It allows AI assistants and other clients to query and analyze vulnerability data using the Model Context Protocol.
npm install
npm run build
The easiest way to use the KEV MCP server is via npx. The published package includes self-contained bundles that don't require local dependencies:
# Main command - defaults to stdio transport
npx @hrbrmstr/kev-mcp
# Explicit stdio transport
npx @hrbrmstr/kev-mcp-stdio
# Using the main command with flag
npx @hrbrmstr/kev-mcp --transport http
# Using the dedicated HTTP command
npx @hrbrmstr/kev-mcp-http
When using the HTTP transport, the server provides comprehensive structured logging for monitoring, debugging, and security auditing.
All logs are output as structured JSON to stderr with the following format:
{
"level": "info",
"component": "http-transport",
"timestamp": "2024-01-15T10:30:45.123Z",
"method": "POST",
"path": "/mcp",
"userAgent": "Mozilla/5.0...",
"contentType": "application/json",
"contentLength": 256,
"remoteAddr": "192.168.1.100",
"requestId": "abc123def456",
"duration": 125,
"status": 200,
"responseSize": 512,
"mcpMethod": "tools/call",
"mcpId": 1,
"mcpParams": ["query", "limit"]
}
http-transport: HTTP server and request handlingstdio-transport: STDIO transport (when used)server: General server lifecycle eventsThe logging middleware extracts MCP-specific information:
mcpMethod: The MCP method being calledmcpId: Request ID from the MCP protocolmcpParams: Array of parameter names (not values for security)mcpError: Structured error information when requests failLOG_HEALTH_CHECKS=true: Enable logging of successful health check requests (default: only errors are logged)PORT: Set the HTTP server port (default: 9191)# Start server and pipe logs through jq for formatting
npx @hrbrmstr/kev-mcp-http 2>&1 | jq '.'
# Filter error logs only
npx @hrbrmstr/kev-mcp-http 2>&1 | jq 'select(.level == "error")'
# Monitor request performance
npx @hrbrmstr/kev-mcp-http 2>&1 | jq 'select(.duration > 1000)'
# Track specific MCP methods
npx @hrbrmstr/kev-mcp-http 2>&1 | jq 'select(.mcpMethod == "tools/call")'
# Correlate logs by request ID
npx @hrbrmstr/kev-mcp-http 2>&1 | jq 'select(.requestId == "abc123def456")'
Each HTTP request receives a unique requestId that appears in all related log entries, making it easy to trace the complete lifecycle of a request from start to finish.
[REDACTED])If you've cloned and built the project locally:
npm install
npm run build
# Run locally built version
node build/kev-mcp-bundle.cjs
node build/kev-mcp-bundle.cjs --transport http
{
"mcpServers": {
"cisa-kev": {
"command": "npx",
"args": ["@hrbrmstr/kev-mcp"]
}
}
}
{
"mcpServers": {
"cisa-kev-http": {
"command": "npx",
"args": ["@hrbrmstr/kev-mcp-http"]
}
}
}
{
"mcpServers": {
"cisa-kev": {
"command": "node",
"args": ["/path/to/kev-mcp/build/kev-mcp-bundle.cjs"]
}
}
}
The published package includes bundled executables (~1.2MB each) that contain all dependencies:
kev-mcp-bundle.cjs - Main CLI supporting both transportskev-mcp-http-bundle.cjs - HTTP-only versionindex-bundle.js - Library for programmatic useThese bundles work without node_modules and are perfect for distribution via npx.
The server provides the following tools for interacting with the KEV catalog:
get_kev_countReturns the total number of vulnerabilities in the KEV catalog.
Parameters: None
Example Response:
"1366"
get_kev_release_dateReturns the release date of the current KEV catalog.
Parameters: None
Example Response:
"2023-11-15"
get_vulnerability_detailsRetrieves detailed information about a specific vulnerability by CVE ID.
Parameters:
cveId (string): The CVE ID to lookup (e.g., "CVE-2021-34527")Example Response:
{
"cveID": "CVE-2021-34527",
"vendorProject": "Microsoft",
"product": "Windows Print Spooler",
"vulnerabilityName": "Microsoft Windows Print Spooler Remote Code Execution Vulnerability",
"dateAdded": "2021-07-02",
"shortDescription": "Microsoft Windows Print Spooler contains a remote code execution vulnerability...",
"requiredAction": "Apply updates per vendor instructions.",
"dueDate": "2021-07-16",
"knownRansomwareCampaignUse": "Known",
"notes": "This vulnerability has been exploited in the wild as part of ransomware attacks.",
"cwes": ["CWE-269"]
}
get_kev_vendorsReturns a list of all unique vendors in the KEV catalog.
Parameters: None
Example Response:
["Adobe", "Apache", "Apple", "Atlassian", ...]
get_kev_productsReturns a list of all unique products in the KEV catalog.
Parameters: None
Example Response:
["Access", "Acrobat Reader", "ActiveMQ", "Adaptive Security Appliance", ...]
get_kev_cvesReturns a list of all CVE IDs in the KEV catalog.
Parameters: None
Example Response:
["CVE-2017-11882", "CVE-2018-13379", "CVE-2018-7600", ...]
get_recent_vulnerabilitiesReturns vulnerabilities added to the KEV catalog within a specified time period.
Parameters:
days (number, optional): Number of days to look back (default: 30)Example Response:
{
"count": 15,
"vulnerabilities": [
{
"cveID": "CVE-2023-12345",
"vendorProject": "Example Vendor",
...
},
...
]
}
get_upcoming_due_datesIdentifies vulnerabilities with upcoming remediation due dates.
Parameters:
days (number, optional): Number of days to look ahead (default: 30)Example Response:
{
"count": 8,
"vulnerabilities": [
{
"cveID": "CVE-2023-67890",
"vendorProject": "Example Vendor",
"dueDate": "2023-12-15",
...
},
...
]
}
search_kevComprehensive search tool with multiple filtering options.
Parameters:
searchText (string, optional): Text to search in vulnerability names, descriptions, and notesransomwareUse (array of strings, optional): Filter by ransomware usage ("Known" or "Unknown")cwes (array of strings, optional): Filter by CWE identifiersvendors (array of strings, optional): Filter by vendor/project namesproducts (array of strings, optional): Filter by product namesdateAddedStart (string, optional): Start date for dateAdded range (YYYY-MM-DD)dateAddedEnd (string, optional): End date for dateAdded range (YYYY-MM-DD)dateAdded (array of strings, optional): Specific dateAdded values to matchdueDateStart (string, optional): Start date for dueDate range (YYYY-MM-DD)dueDateEnd (string, optional): End date for dueDate range (YYYY-MM-DD)dueDate (array of strings, optional): Specific dueDate values to matchExample Response:
{
"count": 5,
"vulnerabilities": [
...
]
}
get_related_cvesFinds vulnerabilities related to a specific vendor or product.
Parameters:
vendor (string, optional): Vendor name to find related CVEsproduct (string, optional): Product name to find related CVEslimit (number, optional): Maximum number of results to return (default: 20)Note: At least one of vendor or product must be provided.
Example Response:
{
"count": 12,
"totalMatches": 24,
"vulnerabilities": [
...
]
}
search_by_cweLocates vulnerabilities associated with a specific Common Weakness Enumeration (CWE).
Parameters:
cwe (string): CWE identifier to search for (e.g., "CWE-79" or "79")Example Response:
{
"count": 17,
"cwe": "CWE-79",
"vulnerabilities": [
...
]
}
get_kev_statisticsProvides statistical analysis of the KEV catalog.
Parameters: None
Example Response:
{
"totalVulnerabilities": 436,
"topVendors": [
{"vendor": "Microsoft", "count": 89},
{"vendor": "Adobe", "count": 45},
...
],
"ransomwareUsage": {
"Known": 128,
"Unknown": 308
},
"countByYear": {
"2021": 168,
"2022": 175,
"2023": 93
}
}
get_cwe_statisticsProvides statistical analysis of CWEs in the KEV catalog.
Parameters: None
Example Response:
{
"uniqueCweCount": 42,
"topCwes": [
{"cwe": "CWE-79", "count": 48},
{"cwe": "CWE-787", "count": 37},
...
]
}
force_refresh_kev_dataForces a refresh of the KEV data cache to ensure the latest information is available.
Parameters: None
Example Response:
KEV data successfully refreshed. Current catalog version: 2023.11.15, with 436 vulnerabilities.
├── src/
│ ├── index.ts # Main server entry point
│ ├── types.ts # TypeScript interfaces
│ ├── utils.ts # Utility functions and constants
│ └── tools/ # Individual tools implementation
│ ├── index.ts # Tool registration
│ ├── getKevCount.ts # Count tool
│ ├── ...
├── build/ # Compiled JavaScript files
├── package.json
└── README.md
MIT
FAQs
MCP server for CISA's Known Exploited Vulnerabilities catalog
We found that @hrbrmstr/kev-mcp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.