API & MCP
Everything a person can do on SBOM Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://sbomexplorer.usefulweb.site/api/v1/calculate– run SBOM ExplorerGET https://sbomexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
SBOM Explorer
Upload or paste a CycloneDX JSON or SPDX 2.x JSON software bill of materials. Lists every component with version, purl and type, classifies licences (permissive, weak / strong / network copyleft, unknown), draws the dependency tree when the SBOM records one, and checks every versioned purl against OSV.dev for known vulnerabilities.
| Field | Type | Default | Description |
|---|---|---|---|
sbom | textarea | — | SBOM (CycloneDX or SPDX JSON) |
sbomFile | file | — | Or upload an SBOM file |
checkVulnerabilities | boolean | true | Check vulnerabilities on OSV.dev. Sends the component purls (not the SBOM) to api.osv.dev. |
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://sbomexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
sbom_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=sbom-explorer
{
"mcpServers": {
"sbom-explorer": { "type": "http", "url": "https://sbomexplorer.usefulweb.site/mcp" }
}
}