API & MCP
Everything a person can do on Open Source Trust Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://opensourcetrustexplorer.usefulweb.site/api/v1/calculate– run Open Source Trust ExplorerGET https://opensourcetrustexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Open Source Trust Explorer
For a GitHub repository or a package (npm, PyPI, Go, Maven, Cargo, NuGet, RubyGems) combines deps.dev data (versions, licences, advisories, SLSA provenance, OpenSSF Scorecard) with GitHub activity (last push, releases, contributors, archived status) into an explained maintenance score and a list of trust signals, including whether releases are signed.
| Field | Type | Default | Description |
|---|---|---|---|
target | text | — | GitHub repo or package |
depsdevProject | textarea | — | Or paste deps.dev project JSON. Offline mode: response of api.deps.dev/v3/projects/<github.com%2Fowner%2Frepo>. |
depsdevVersion | textarea | — | Optional: deps.dev package version JSON |
githubRepo | textarea | — | Optional: GitHub repo JSON. Response of api.github.com/repos/<owner>/<repo>. |
githubReleases | textarea | — | Optional: GitHub releases JSON |
contributorsCount | integer | — | Optional: contributor count |
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://opensourcetrustexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
open_source_trust_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=open-source-trust-explorer
{
"mcpServers": {
"open-source-trust-explorer": { "type": "http", "url": "https://opensourcetrustexplorer.usefulweb.site/mcp" }
}
}