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

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.

Inputs of Software Adoption Explorer
FieldTypeDefaultDescription
ecosystemselect (npm, pypi, crates)"npm"Registry
packagetext—Package name
includeDependentsbooleantrueLook up dependents on deps.dev
pastedDownloadstextarea—Pasted download JSON (offline). npm /downloads/range/…, pypistats /overall or crates.io /crates/<name>/downloads.
pastedVersionstextarea—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)

{
  "mcpServers": {
    "software-adoption-explorer": { "type": "http", "url": "https://softwareadoptionexplorer.usefulweb.site/mcp" }
  }
}