list_npm_files

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

jsDelivr 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, content hash and type, read from jsDelivr’s package index. Answers which files, entry points and build outputs an npm package version actually ships.

Parameters

NameTypeRequiredDescription
package_namestringyes
versionstringnoSpecific version (default latest)

Example call

Arguments

{
  "package_name": "lodash"
}

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":"list_npm_files","arguments":{"package_name":"lodash"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_npm_files', {
  "package_name": "lodash"
});

More examples

{
  "package_name": "next",
  "version": "14.0.0"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "List of files in a published npm package version"
}

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 August 21, 2026