mcp-server-npm-registry
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_package_infoA | Get metadata for an npm package from the official npm registry: latest (or specified) version, description, license, repository, keywords, maintainers, dependencies, peer dependencies, dist-tags, TypeScript types support, module type (ESM/CommonJS), Node engine range and unpacked size. Use this when you need facts about one specific package. |
| search_packagesA | Search the npm registry for packages by keyword. Supports npm search qualifiers such as author:name, maintainer:name, scope:name, keywords:word, not:unstable and not:insecure. Returns name, version, description, keywords, last publish date, publisher, links and npm quality/popularity/maintenance scores (0 to 1). |
| get_download_statsA | Get npm download counts for a package over a period (last-day, last-week, last-month, last-year, or a custom YYYY-MM-DD:YYYY-MM-DD range). Returns the total, the average per day and, optionally, a per-day breakdown (limited to ranges of 92 days or fewer). Data comes from the npm downloads API and lags about one day. |
| check_package_vulnerabilitiesA | Check a specific npm package version for known security vulnerabilities using the OSV.dev database (includes GitHub Security Advisories and CVEs). If no version is given the latest published version is checked. Returns advisories sorted by severity with CVE aliases, fixed versions and links. |
| get_bundle_sizeA | Get the browser bundle size of an npm package version via Bundlephobia: minified size, minified+gzipped size, dependency count, tree-shaking indicators (ES module entry, side effects) and the largest dependencies. If no version is given the latest published version is measured. Not meaningful for Node-only or native packages. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct facet of the npm ecosystem: single-package metadata, keyword search, download counts, vulnerability advisories, and bundle size. There is no realistic way to confuse one with another, and descriptions reinforce the boundaries (e.g. 'one specific package' vs. 'search by keyword').
All names are snake_case verb_noun forms: get_package_info, search_packages, get_download_stats, check_package_vulnerabilities, get_bundle_size. The verbs (get/search/check) vary slightly but map naturally to the action type without breaking the pattern.
Five focused tools is a well-scoped surface for a read-only registry inspection server; each tool covers a genuinely different question an agent would ask. Nothing feels padded or redundant.
The core read-only lifecycle is covered: discovering packages, inspecting metadata, gauging adoption, assessing security, and evaluating browser cost. Minor gaps exist (no version history/dependency tree or package comparison), but agents can work around these via get_package_info and search.