top_npm_packages

Pack: jsdelivr · Endpoint: https://gateway.pipeworx.io/jsdelivr/mcp

JSDelivr leaderboard of top-served npm packages.

Parameters

NameTypeRequiredDescription
periodstringno
bystringnohits (default) | bandwidth
limitnumberno1-100 (default 25)

Example call

Arguments

{
  "limit": 10
}

curl

curl -X POST https://gateway.pipeworx.io/jsdelivr/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"top_npm_packages","arguments":{"limit":10}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('top_npm_packages', {
  "limit": 10
});

More examples

{
  "period": "week",
  "by": "bandwidth",
  "limit": 50
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Leaderboard of top-served npm packages on JSDelivr"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "jsdelivr": {
      "url": "https://gateway.pipeworx.io/jsdelivr/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026