npm (Unofficial)

v0.2.2
io.github.pipeworx-io/npm Checked 2 days ago Published 17 days ago

Unofficial npm MCP — wraps the npm Registry API (free, no auth)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

npm_search_packages

Search npm for packages by keyword. Returns package names, descriptions, latest versions, publish dates, and publishers. Use when discovering libraries for a task.

ParameterTypeDescription
query *stringSearch query string
limitnumberMaximum number of results to return (default 10, max 50)

npm_get_package

Get full details for a specific package: version, description, dependencies, homepage, repository, and license. Use after search_packages to evaluate a candidate package.

ParameterTypeDescription
name *stringExact package name (e.g., "express", "lodash")

get_downloads

Fetch npm download counts for a package over a named period (last-day, last-week, last-month, last-year) or a custom date range like "2024-01-01:2024-06-30". Returns total downloads, start date, and end date.

ParameterTypeDescription
name *stringPackage name
periodstringDownload period: last-day, last-week (default), last-month, or a date range like 2024-01-01:2024-06-30

npm_list_versions

List published versions of an npm package with publish dates, dist-tags (latest/next/beta), and deprecation notices — answers "what versions of <pkg> exist", "when was <pkg> last published", "is the latest version deprecated". Returns versions newest-first, plus the package created/last-modified timestamps.

ParameterTypeDescription
name *stringExact package name (e.g. "express", "@types/node").
limitnumberNumber of recent versions to return (default 20, max 100).

get_version_info

Get metadata for a SPECIFIC version (or dist-tag) of an npm package: dependencies, dev/peer dependencies, engines, license, tarball + integrity hash + unpacked size, and any deprecation notice. Use for "dependencies of <pkg>@<version>", pinned-version audits, or inspecting a particular release. Version accepts an exact version (e.g. "4.18.2"), a dist-tag (e.g. "latest", "next"), or omit for the latest.

ParameterTypeDescription
name *stringExact package name (e.g. "express").
versionstringExact version (e.g. "4.18.2"), a dist-tag (e.g. "latest", "next"), or omit for latest.