Skip to main content
Glama
weiseer

cve-cache-mcp

by weiseer
README.md
# @weiseer/cve-cache-mcp

> Recent CVE + GHSA cache as a stdio MCP server.

Probe **P-005** by [weiseer](https://github.com/weiseer).

## What it does

Cached, structured snapshot of recent CVE + GitHub Security Advisory records — for AI agents auditing dependencies or screening new packages.

Your agent can:
- `lookup_cve` — full record for one CVE/GHSA ID
- `find_for_package` — all CVEs affecting a package by ecosystem (npm/PyPI/Cargo/Maven/Go)
- `list_recent_critical` — recent high-severity CVEs (default: 7-day, CVSS ≥ 7)
- `severity_summary` — counts by severity bucket

## Why use this instead of your agent querying NVD itself

| | Agent DIY | cve-cache |
|---|---|---|
| Source query | NVD JSON feeds + GHSA GraphQL | 1 MCP call |
| Token cost (NVD records are large) | $0.05-0.20 | $0 free / $0.00005 paid |
| Latency | 2-10 seconds | <100ms |
| Cross-ecosystem normalization | Per-source schema | Pre-normalized |

## Install

```bash
npm install -g @weiseer/cve-cache-mcp
```

## Use with Claude Desktop / Cursor / Cline / Continue / Windsurf

```json
{
  "mcpServers": {
    "cve-cache": {
      "command": "npx",
      "args": ["-y", "@weiseer/cve-cache-mcp"]
    }
  }
}
```

## License

Apache-2.0. Catalog data: derived from public CVE/NVD/GHSA feeds (CC0/public domain).

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: lookup by ID, search by package, list recent criticals, and severity summary. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (lookup_cve, find_for_package, list_recent_critical, severity_summary).

Tool Count4/5

With 4 tools, the set is concise and covers core CVE operations without being too sparse or bloated. Slightly small but appropriate for the domain.

Completeness4/5

The surface covers lookup, package search, recent criticals, and severity summary. Missing features like ecosystem-specific search or filtering on lookup are minor gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues