Skip to main content
Glama
npm-search-mcp

npm-search-mcp

by zcag

npm-search-mcp

npmパッケージを検索し、ライブのレジストリデータを返すMCPサーバーです。APIキーは不要です。

ツール

  • search_packages — キーワードでnpmパッケージを検索します。名前、説明、ダウンロード数、リンクを返します。

  • get_package — 特定のパッケージの詳細情報(バージョン、依存関係、サイズ、週間ダウンロード数)を取得します。

  • compare_packages — 2〜10個のパッケージをダウンロード統計、サイズ、品質スコアとともに並べて比較します。

Related MCP server: mcp-server-npm-plus

なぜ?

AIコーディングアシスタントはnpmパッケージに関する古い知識しか持っていません。このMCPサーバーは、npmレジストリへのライブアクセス(現在のバージョン、ダウンロード傾向、リアルタイムで更新されるパッケージ詳細)を提供します。

インストール

npx(最も簡単)

npx -y github:zcag/npm-search-mcp

Claude Code設定

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

Docker

docker run -i ghcr.io/zcag/npm-search-mcp:1.0.0

ソースから

git clone https://github.com/zcag/npm-search-mcp.git
cd npm-search-mcp
npm install && npm run build
node dist/index.js

ライセンス

MIT

Available Tools

3 tools
compare_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

    A3.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool serves a clear, distinct purpose: searching for packages, fetching details of a specific package, and comparing alternatives. No overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern: search_packages, get_package, compare_packages. The pattern is uniform and predictable.

    Tool Count4/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers