Npm Search

io.github.ofershapPublished by GitHub account ofershapv1.0.1Updated Oct 24, 2026

npm search MCP — find packages, view details, compare, check downloads.

VerifiedSTDIODesktop onlyWeb Search & ScrapingDeveloper Tools

Overview

AI-generated overview

A local MCP server that lets an AI assistant search npm, inspect package details, compare packages, check download stats and list dependencies.

What you can do
Search npm packages by keyword and get detailed package info such as version, license, maintainers and dependencies. Check download statistics by day, week, month or year, and list recent versions of a package. Compare two packages side by side and list all dependencies of a package.
When to use it
Useful when choosing between JavaScript packages, checking how popular or actively maintained a library is, or reviewing a package's dependencies and versions before adding it to a project.
Requirements
Runs locally over stdio, typically launched with npx, so Node.js and network access to npm are needed. No API keys or environment variables are required.
Before you install
Read-only lookups against public npm data; no credentials, payments or write actions are involved. Package details and download figures come from npm and should be verified before relying on them.

Installation

In SourceWeft

  1. Open Npm Search in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

MCP Server npm — Search, Compare & Inspect Packages from AI

[npm version] [npm downloads] [CI] [License: MIT]

An MCP server that lets your AI assistant search npm, compare packages, check download stats, and inspect dependencies. No API keys needed.

You: "Compare react vs preact — size, downloads, and dependencies"AI:  react: 45.5kb min, 25M weekly downloads, 3 deps     preact: 4.2kb min, 3.8M weekly downloads, 0 deps

Works with Claude Desktop, Cursor, and VS Code Copilot.

[MCP server npm demo — comparing react vs preact from Claude Desktop]

Tools

ToolWhat it does
npm_searchSearch npm packages by keyword
npm_infoGet detailed package info (version, license, deps, maintainers)
npm_downloadsGet download statistics (daily, weekly, monthly, yearly)
npm_versionsList recent versions of a package
npm_compareCompare two packages side by side
npm_depsList all dependencies of a package

Quick Start

With Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "npm": {      "command": "npx",      "args": ["-y", "mcp-server-npm"]    }  }}

With Cursor

Add to your .cursor/mcp.json:

json
{  "mcpServers": {    "npm": {      "command": "npx",      "args": ["-y", "mcp-server-npm"]    }  }}

Examples

Ask your AI assistant:

  • "Search npm for state management libraries"
  • "Show me info about the express package"
  • "Compare react vs preact"
  • "How many downloads does zod get per month?"
  • "What are the dependencies of next?"
  • "List recent versions of typescript"

Development

bash
npm installnpm testnpm run build

Author

[Made by ofershap]

[LinkedIn] [GitHub]


README built with README Builder

License

MIT © Ofer Shapira

Source: README.md at commit 179be78

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts