API & MCP
Everything a person can do on Artifact Provenance Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://artifactprovenanceexplorer.usefulweb.site/api/v1/calculate– run Artifact Provenance ExplorerGET https://artifactprovenanceexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Artifact Provenance Explorer
Fetches (or reads pasted) npm registry attestations for a package version, verifies the Sigstore bundles with node:crypto (DSSE signature, Fulcio certificate chain to the pinned Sigstore root, Rekor signed entry timestamp, Merkle inclusion proof and checkpoint), parses the SLSA provenance (builder, workflow, source repository, commit, trigger) and cross-checks it against the package metadata (repository field, gitHead, tarball integrity).
| Field | Type | Default | Description |
|---|---|---|---|
package | text | — | npm package@version. Looks up registry.npmjs.org attestations and metadata. Leave empty when pasting. |
attestations | textarea | — | Or paste attestations JSON. The response of /-/npm/v1/attestations/<pkg>@<version>, or a single Sigstore bundle. |
attestationsFile | file | — | Or upload attestations / bundle (.json) |
packageMetadata | textarea | — | Optional: package version metadata JSON. registry.npmjs.org/<pkg>/<version> document, used for the repository / gitHead / integrity cross-checks in paste mode. |
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://artifactprovenanceexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
artifact_provenance_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=artifact-provenance-explorer
{
"mcpServers": {
"artifact-provenance-explorer": { "type": "http", "url": "https://artifactprovenanceexplorer.usefulweb.site/mcp" }
}
}