API & MCP
Everything a person can do on CVE Relationship Graph, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://cverelationshipgraph.usefulweb.site/api/v1/calculate– run CVE Relationship GraphGET https://cverelationshipgraph.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
CVE Relationship Graph
Looks up a vulnerability in OSV.dev and maps everything connected to it: alias IDs (CVE, GHSA, distro advisories), affected packages with their vulnerable version ranges and fixed versions, fix commits, references grouped into advisories, fixes, reports and exploits, whether CISA lists it as known-exploited (KEV) and its FIRST EPSS exploitation probability.
| Field | Type | Default | Description |
|---|---|---|---|
vulnId | text | — | CVE, GHSA or OSV id |
osvJson | textarea | — | Or paste an OSV record (JSON). Offline mode: an OSV vulnerability JSON, e.g. from api.osv.dev/v1/vulns/<id>. |
kevJson | textarea | — | Optional: CISA KEV entry or catalog (JSON) |
epssJson | textarea | — | Optional: EPSS response (JSON). FIRST API response or {"epss": 0.97, "percentile": 0.99}. |
enrichAliases | boolean | true | Fetch alias records for packages. If the record lists no packages (typical for CVE records), fetch up to 3 alias advisories. |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://cverelationshipgraph.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
cve_relationship_graph - Local stdio connector:
node src/mcp-stdio.ts --tool=cve-relationship-graph
{
"mcpServers": {
"cve-relationship-graph": { "type": "http", "url": "https://cverelationshipgraph.usefulweb.site/mcp" }
}
}