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

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.

Inputs of Dependency Vulnerability Explorer
FieldTypeDefaultDescription
manifesttextarea—Manifest, lockfile or package list
vulnIdtext—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)

{
  "mcpServers": {
    "dependency-vulnerability-explorer": { "type": "http", "url": "https://dependencyvulnerabilityexplorer.usefulweb.site/mcp" }
  }
}