MCP.so
登录

npm-search MCP Server

@MCP-Mirror

关于 npm-search MCP Server

Mirror of

基本信息

分类

搜索

传输方式

stdio

发布者

MCP-Mirror

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "btwiuse_npm-search-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "npm-search-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

工具

1

Search for npm packages.

概览

What is npm-search MCP Server?

It is a Model Context Protocol server that enables searching npm packages by invoking the npm search command. Designed for developers using MCP-compatible assistants like Claude.

How to use npm-search MCP Server?

Install globally via npm (npm install -g npm-search-mcp-server) or run via npx or uvx. Configure it in your MCP client (e.g., Claude.app or Zed) using the provided JSON settings. Invoke the search_npm_packages tool with a query string argument to search for packages.

Key features of npm-search MCP Server

  • Provides a single search_npm_packages tool.
  • Required argument: query (string).
  • Returns package name, description, version, author, and license.
  • Installable via npm, npx, or uvx.
  • Works with Claude.app, Zed, and other MCP clients.

Use cases of npm-search MCP Server

  • Search for npm packages directly from a chat assistant.
  • Find packages related to a topic (e.g., "react", "express").
  • Quickly retrieve package metadata without leaving the development environment.

FAQ from npm-search MCP Server

How do I install npm-search MCP Server?

Install globally via npm (npm install -g npm-search-mcp-server) or use npx -y npm-search-mcp-server to run without installation. Alternatively, use uvx npm-search-mcp-server if using uv.

What client configurations are supported?

Claude.app and Zed. JSON configuration samples are provided in the README for both npm and uvx installations.

What is the required tool argument?

The search_npm_packages tool requires a query string. Example: {"name": "search_npm_packages", "arguments": {"query": "express"}}.

How can I debug the server?

Use the MCP inspector. For uvx installations: npx @modelcontextprotocol/inspector npx -y npm-search-mcp-server. For local development, run npx @modelcontextprotocol/inspector uv run npm-search-mcp-server from the server directory.

Where does the package data come from?

The server calls the npm search command, which queries the npm registry. No local database is used.

评论

搜索 分类下的更多 MCP 服务器