JSDelivr
liveDeveloperCDN package stats, file listing, version resolution for npm + GitHub. Keyless.
6tools
0msauth
free tier50 calls/day
Tools
npm_package_statsrequired: package_nameRequest counts + bandwidth for an npm package.
Parameters
NameTypeDescription
package_namereqstring—periodoptstring—Try it
Response
gh_repo_statsrequired: owner, repoStats for files served from a GitHub repo.
Parameters
NameTypeDescription
ownerreqstring—reporeqstring—periodoptstring—Try it
Response
top_npm_packagesTop-served npm packages.
Parameters
NameTypeDescription
periodoptstring—byoptstring—limitoptnumber—Try it
Response
list_npm_filesrequired: package_nameFiles inside a published npm version.
Parameters
NameTypeDescription
package_namereqstring—versionoptstring—Try it
Response
resolve_versionrequired: package_nameResolve a semver range to a concrete version.
Parameters
NameTypeDescription
package_namereqstring—rangeoptstring—Try it
Response
list_npm_versionsrequired: package_nameAll published versions.
Parameters
NameTypeDescription
package_namereqstring—Try it
Response
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");