npm-search-mcp
Provides tools for searching npm packages, retrieving detailed package information including versions, dependencies, size, and weekly downloads, and comparing multiple packages side by side.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@npm-search-mcp compare lodash and ramda"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
npm-search-mcp
MCP server that searches npm packages and returns live registry data. No API key needed.
Tools
search_packages — Search npm for packages by keyword. Returns names, descriptions, download counts, and links.
get_package — Get detailed info about a specific package: version, dependencies, size, weekly downloads.
compare_packages — Compare 2-10 packages side by side with download stats, size, and quality scores.
Related MCP server: mcp-server-npm-plus
Why?
AI coding assistants have stale knowledge about npm packages. This MCP server gives them live access to the npm registry — current versions, download trends, and package details updated in real-time.
Install
npx (easiest)
npx -y github:zcag/npm-search-mcpClaude Code config
{
"mcpServers": {
"npm-search": {
"command": "npx",
"args": ["-y", "github:zcag/npm-search-mcp"]
}
}
}Docker
docker run -i ghcr.io/zcag/npm-search-mcp:1.0.0From source
git clone https://github.com/zcag/npm-search-mcp.git
cd npm-search-mcp
npm install && npm run build
node dist/index.jsLicense
MIT
Available Tools
3 toolscompare_packagesA
Compare multiple npm packages side by side. Shows downloads, size, dependencies, and quality scores to help choose between alternatives.
Inputs: names (required).
get_packageA
Get detailed information about a specific npm package including latest version, dependencies, download stats, size, and repository links.
Inputs: name (required).
search_packagesA
Search the npm registry for packages matching a query. Returns name, description, version, score, and links. Use this to find packages for a specific task or compare options.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool serves a clear, distinct purpose: searching for packages, fetching details of a specific package, and comparing alternatives. No overlap in functionality.
All tool names follow a consistent verb_noun pattern: search_packages, get_package, compare_packages. The pattern is uniform and predictable.
With only 3 tools, the server is well-scoped for its purpose. Each tool is essential and non-redundant, though the count is on the lower end of the ideal range.
The tool set covers the core workflow of discovering and evaluating npm packages. Minor gaps include lack of package version history or no ability to get all versions, but the primary workflow is complete.
Maintenance
Related MCP Connectors
Dive into the world of npm with our NPM Package Info MCP. Access crucial metadata about any npm
npm MCP — wraps the npm Registry API (free, no auth)
MCP registry & directory: search, find & install 31k+ MCP servers & tools. Catalog and marketplace.
Market data tools for the MCP ecosystem: server stats, events, search, leaderboards, package trends.
Related MCP Servers
- AlicenseCqualityDmaintenanceMCP server for searching npm packages1252 npm16MIT
- AlicenseBqualityDmaintenanceMCP server for npm — search packages, check bundle sizes, scan vulnerabilities, compare downloads, inspect dependencies.854 npm1MIT
- AlicenseAqualityDmaintenanceMCP server to search npm packages, view details, compare, check downloads, and inspect dependencies.647 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for searching, inspecting, and evaluating NPM packages through health scoring and license risk assessments. It provides comprehensive package analysis including maintenance status, popularity trends, and security vulnerability reports to help users make informed dependency decisions.3MIT