API & MCP
Everything a person can do on Dependency Vulnerability Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://dependencyvulnerabilityexplorer.usefulweb.site/api/v1/calculate– run Dependency Vulnerability ExplorerGET https://dependencyvulnerabilityexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Dependency Vulnerability Explorer
Reads npm (package.json, package-lock.json), Python (requirements.txt), Go (go.mod), Rust (Cargo.lock) and PHP (composer.lock) manifests, or lines like npm:lodash@4.17.20, and checks every exact package version against OSV.dev, the open vulnerability database that aggregates GitHub Security Advisories, PyPA, RustSec, Go and more. For each finding: severity, aliases (CVE/GHSA), and the nearest fixed version. You can also look up a single advisory ID.
| Field | Type | Default | Description |
|---|---|---|---|
manifest | textarea | — | Manifest, lockfile or package list |
vulnId | text | — | Or: look up one advisory ID |
Example request
Two outdated packages
curl -X POST https://dependencyvulnerabilityexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"manifest":"npm:lodash@4.17.20\npypi:requests@2.19.0"}'
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://dependencyvulnerabilityexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
dependency_vulnerability_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=dependency-vulnerability-explorer
{
"mcpServers": {
"dependency-vulnerability-explorer": { "type": "http", "url": "https://dependencyvulnerabilityexplorer.usefulweb.site/mcp" }
}
}