JSDelivr

liveDeveloper

CDN package stats, file listing, version resolution for npm + GitHub. Keyless.

6tools
0msauth
free tier50 calls/day

Tools

npm_package_statsrequired: package_name

Request counts + bandwidth for an npm package.

Parameters
NameTypeDescription
package_namereqstring
periodoptstring
Try it
gh_repo_statsrequired: owner, repo

Stats for files served from a GitHub repo.

Parameters
NameTypeDescription
ownerreqstring
reporeqstring
periodoptstring
Try it
top_npm_packages

Top-served npm packages.

Parameters
NameTypeDescription
periodoptstring
byoptstring
limitoptnumber
Try it
list_npm_filesrequired: package_name

Files inside a published npm version.

Parameters
NameTypeDescription
package_namereqstring
versionoptstring
Try it
resolve_versionrequired: package_name

Resolve a semver range to a concrete version.

Parameters
NameTypeDescription
package_namereqstring
rangeoptstring
Try it
list_npm_versionsrequired: package_name

All published versions.

Parameters
NameTypeDescription
package_namereqstring
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/jsdelivr/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/jsdelivr/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"npm_package_stats","arguments":{"package_name": "example"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("npm_package_stats", {"package_name":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("cdn package stats, file listing, version resolution for npm + github");