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

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).

Inputs of Artifact Provenance Explorer
FieldTypeDefaultDescription
packagetext—npm package@version. Looks up registry.npmjs.org attestations and metadata. Leave empty when pasting.
attestationstextarea—Or paste attestations JSON. The response of /-/npm/v1/attestations/<pkg>@<version>, or a single Sigstore bundle.
attestationsFilefile—Or upload attestations / bundle (.json)
packageMetadatatextarea—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)

{
  "mcpServers": {
    "artifact-provenance-explorer": { "type": "http", "url": "https://artifactprovenanceexplorer.usefulweb.site/mcp" }
  }
}