JSDelivr
liveDeveloperCDN package stats, file listing, version resolution for npm + GitHub. Keyless.
Tools
npm_package_statsrequired: package_nameRequest counts + bandwidth for an npm package served via JSDelivr.
package_namereqstring—periodoptstring—Try it
gh_repo_statsrequired: owner, repoReturn JSDelivr CDN request count and bandwidth for files served from a GitHub owner/repo for the specified period (day/week/month/quarter/year).
ownerreqstring—reporeqstring—periodoptstring—Try it
top_npm_packagesJSDelivr leaderboard of top-served npm packages.
periodoptstring—byoptstring—limitoptnumber—Try it
list_npm_filesrequired: package_namejsDelivr Data API — the file tree of one published npm package version (latest by default) as jsDelivr indexes it for CDN delivery. Returns the directory structure with each file's path, byte size, co
package_namereqstring—versionoptstring—Try it
resolve_versionrequired: package_nameResolve a semver range or tag to a concrete published version.
package_namereqstring—rangeoptstring—Try it
list_npm_versionsrequired: package_nameAll published versions for an npm package.
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.
curl -X POST https://gateway.pipeworx.io/jsdelivr/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'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.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("npm_package_stats", {"package_name":"example"});// Or ask in plain English:
const answer = await px.ask("cdn package stats, file listing, version resolution for npm + github");