Feedback

Npm Search MCP Server

@btwiuse Claim

Basic information

Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
btwiuse
Submitted by
Community
Quality
50
Stars
16

About Npm Search MCP Server

Search and install node packages easily using the npm CLI. Streamline JavaScript library discovery and manage dependencies with the Node.js package manager.

Npm Search is a MCP server in the Search Web category listed in the AddMCP.net directory, published by btwiuse. It exposes 1 tool, including search_npm_packages. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 16 GitHub stars. Source code is hosted on github.com. Related topics: claude, community, developer-tools, mcp, mcp-server.

Setup

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

Npm Search MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Npm Search MCP Server tools

  • search_npm_packages — Search for npm packages

Overview

What is Npm Search?

npm-search MCP Server is a Model Context Protocol server that searches npm packages by wrapping the npm search command. It is intended for AI assistants that need to query the npm registry for package information.

How to use Npm Search?

Install globally via npm install -g npm-search-mcp-server and run npm-search-mcp-server, or use uvx npm-search-mcp-server directly. Configure your MCP client (e.g. Claude.app, Zed) with the command npx -y npm-search-mcp-server or uvx npm-search-mcp-server. The server provides a single tool search_npm_packages that requires a query string argument.

Key features of Npm Search

  • Search npm packages using the npm search command.
  • Supports both stdio and HTTP (streamable-http) transport modes.
  • HTTP mode automatically enabled when PORT environment variable is set.
  • Structured logging with Pino and graceful shutdown.
  • Health check endpoint (/health) and session management for HTTP transport.
  • Docker support with HTTP transport on port 3009.

Use cases of Npm Search

  • Find npm packages by keyword during AI-assisted development.
  • Retrieve package metadata (name, description, version, author, license) for a query.
  • Integrate npm search capabilities into MCP-compatible IDEs or chat assistants.

Frequently asked questions

1 What tool does npm-search MCP Server expose?

It exposes the search_npm_packages tool.

2 What arguments does `search_npm_packages` require?

The only required argument is query (a string representing the search term).

3 How can I run npm-search MCP Server in HTTP mode?

Set the PORT environment variable (e.g., PORT=3009) and start the server. HTTP endpoints include POST /mcp, GET /mcp, DELETE /mcp, and GET /health.

4 How do I debug the server?

You can use the MCP inspector: run npx @modelcontextprotocol/inspector npx -y npm-search-mcp-server.

5 What transport modes are supported?

The server supports stdio transport by default and HTTP (streamable-http) transport when a PORT variable is defined.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬