Skip to main content
Glama
npm-registry-package-analytics-mcp

npm-registry-package-analytics-mcp

README.md
# npm-registry-package-analytics-mcp

Live npm package metadata, weekly and daily download analytics, registry search, and deprecation checks from `registry.npmjs.org` and `api.npmjs.org` over Model Context Protocol (MCP). JavaScript engineers, platform leads, and security reviewers can evaluate packages with zero API keys and zero sign-up. It works right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://npm-registry-package-analytics-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_npm_package` | Inspect latest version, dist-tags, license, maintainers, Node engines, and dependencies for any npm package |
| `get_weekly_downloads` | Fetch point download counts over the last day, last week, or last month from `api.npmjs.org` |
| `get_download_range` | Retrieve daily download time series with totals, daily averages, and peak day metrics |
| `search_npm_packages` | Search `registry.npmjs.org` by keyword for matching packages, weekly downloads, and dependents |
| `check_package_deprecations` | Audit dist-tags and release history for deprecation notices and warning messages |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "npm-registry-package-analytics": {
      "url": "https://npm-registry-package-analytics-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream call to `registry.npmjs.org` and `api.npmjs.org` sends a clear `User-Agent` header (`mcpstamp-npm/1.0 (mailto:hello@mcpstamp.com)`). Cloudflare edge caching applies strictly to HTTP 2xx answers, so transient upstream errors don't get stuck in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version `2026-07-28` cleanly to `2025-11-25`.

## More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.npm-registry-package-analytics-mcp) with hosted commercial servers and priority endpoints.