npm Registry MCP
Search packages, check versions, audit vulnerabilities and compare libraries directly from the npm registry (no API key required)
npm Registry MCP
An MCP (Model Context Protocol) server that gives Claude direct access to the npm registry — search packages, check versions, audit vulnerabilities, compare libraries and more, all without leaving your conversation.
Why
When you're coding with Claude and need to pick a package, check if something is still maintained, or audit a dependency for vulnerabilities — you normally have to stop, switch tabs, google it, and come back. This server removes that friction entirely. Claude can query the npm registry directly, in context, mid-conversation.
Tools
| Tool | What it does |
|---|---|
search_packages | Search npm by keyword with quality and maintenance scores |
get_package_info | Full details — license, maintainers, dependencies, size, downloads |
get_package_versions | Full version history with publish dates |
get_download_stats | Download counts over any period (day / week / month / year) |
check_vulnerabilities | Known CVEs for a specific package version |
compare_packages | Side-by-side comparison of two packages |
get_changelog | Release notes between two versions, falls back to CHANGELOG.md |
get_package_readme | Full README for any package or specific version |
Example prompts
Once installed, just ask Claude naturally:
"What's the best package for parsing CSV files in Node?"
"Is moment.js still actively maintained?"
"Compare lodash and ramda"
"Are there any known vulnerabilities in axios 0.21.1?"
"What changed in express between v4 and v5?"
"How many downloads does react get per month?"
"Show me the README for the sharp package"
Installation
Prerequisites
- Node.js v18 or higher
- Claude Desktop
1. Add to Claude Desktop config
Open your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"npm-registry": {
"command": "npx",
"args": ["mcp-npm-registry"]
}
}
}
That's it — no cloning, no building. npx handles everything automatically.
Manual install (optional)
If you prefer a global install:
npm install -g mcp-npm-registry
Then use mcp-npm-registry as the command instead of npx mcp-npm-registry.
2. Restart Claude Desktop
Fully quit and reopen Claude Desktop. You should see a tools icon confirming the server is connected.
No API key required — the npm registry is fully public.
Development
# Run in dev mode (no build step needed)
npm run dev
# Build
npm run build
The server communicates over stdio using the MCP protocol. You can test it directly:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/index.js
Data sources
All data is fetched live from public APIs — no database, no cache, no rate limits on your end:
- registry.npmjs.org — package metadata and versions
- api.npmjs.org — download statistics
- api.npms.io — quality, maintenance and popularity scores
- registry.npmjs.org/-/npm/v1/security/advisories — vulnerability data
Showcase
Roadmap
-
get_changelog— diff between two versions - Package README as an MCP resource
- Publish to npm for one-line
npxinstall
License
MIT
Verwandte Server
Scout Monitoring MCP
SponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
SponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
ThoughtSpot SpotterCode MCP Server
AI-powered MCP server from ThoughtSpot that helps developers integrate ThoughtSpot content, Visual Embed SDK, and REST APIs in AI-native IDEs.
SYKE - AI Code Impact Analysis
Live dependency graph and impact analysis MCP server for AI coding agents. Runs PASS/WARN/FAIL build gates before code changes to prevent cascade failures. Supports TS, Python, Dart, Go, Rust, Java, C++, Ruby.
LMAD - Laravel MCP API Discovery
Laravel MCP server that exposes API routes, controllers, FormRequest validation rules, and response schemas to AI agents
Airflow MCP Server
Control Apache Airflow via its API using JWT authentication.
Lustre MCP
Premium Flutter UI components for AI coding agents — 46 widgets, 3 themes, design tokens that make Claude Code and Cursor produce beautiful Flutter apps instead of generic Material defaults.
Godot RAG
Provides Godot documentation to a RAG model using a vector database.
Berry MCP Server
A universal framework for easily creating and deploying Model Context Protocol servers with any tools.
Multi Sentry MCP
Multi-org Sentry MCP server — isolated error monitoring across multiple projects from a single config. Process-level security, handoff package generation.
Fyers MCP Server
An MCP server for the Fyers API v3, featuring automated OAuth authentication.
Orbis API Marketplace
Autonomous API discovery and subscription — agents browse APIs, get live keys, and make calls with no human involvement.