API & MCP
Everything a person can do on Software Adoption Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://softwareadoptionexplorer.usefulweb.site/api/v1/calculate– run Software Adoption ExplorerGET https://softwareadoptionexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Software Adoption Explorer
Fetches public download statistics for an npm, PyPI or crates.io package, aggregates them into weekly totals with 4-week growth and long-run change, shows which versions are actually downloaded (npm last week, crates.io last 90 days) and adds dependent counts from deps.dev. Paste saved API JSON to analyse offline.
| Field | Type | Default | Description |
|---|---|---|---|
ecosystem | select (npm, pypi, crates) | "npm" | Registry |
package | text | — | Package name |
includeDependents | boolean | true | Look up dependents on deps.dev |
pastedDownloads | textarea | — | Pasted download JSON (offline). npm /downloads/range/…, pypistats /overall or crates.io /crates/<name>/downloads. |
pastedVersions | textarea | — | Pasted version JSON (optional). npm /versions/<pkg>/last-week, or crates.io /crates/<name> (maps version ids to numbers). |
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://softwareadoptionexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
software_adoption_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=software-adoption-explorer
{
"mcpServers": {
"software-adoption-explorer": { "type": "http", "url": "https://softwareadoptionexplorer.usefulweb.site/mcp" }
}
}