npm-search-mcp-server

by btwiuse

Integrations

  • Allows searching for npm packages by executing the npm search command, enabling users to find and explore available packages in the npm registry with their name, description, version, author, and license information.

npm-search MCP サーバー

npm searchコマンドを呼び出して npm パッケージを検索できるモデル コンテキスト プロトコル サーバー。

利用可能なツール

  • search_npm_packages - npm パッケージを検索します。
    • 必要な引数:
      • query (文字列): 検索クエリ。

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop の npm-search を自動的にインストールするには:

npx -y @smithery/cli install npm-search-mcp-server --client claude

NPMの使用(推奨)

あるいは、npm 経由でnpm-search-mcp-serverをインストールすることもできます。

npm install -g npm-search-mcp-server

インストール後、次のコマンドを使用してコマンドとして実行できます。

npm-search-mcp-server

UVの使用

uvを使用する場合、特別なインストールは必要ありません。uvx uvx使用してnpm-search-mcp-serverを直接実行します。

構成

Claude.app 用に設定する

Claude 設定に追加:

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

Zed用の設定

Zed のsettings.jsonに追加します:

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

やり取りの例

  1. npm パッケージを検索:
{ "name": "search_npm_packages", "arguments": { "query": "express" } }

応答:

{ "results": [ { "name": "express", "description": "Fast, unopinionated, minimalist web framework", "version": "4.17.1", "author": "TJ Holowaychuk", "license": "MIT" }, ... ] }

デバッグ

MCPインスペクタを使用してサーバーをデバッグできます。UVXインストールの場合:

npx @modelcontextprotocol/inspector npx -y npm-search-mcp-server

または、パッケージを特定のディレクトリにインストールした場合や、そのディレクトリで開発している場合は、次のようにします。

cd path/to/servers/src/npm-search npx @modelcontextprotocol/inspector uv run npm-search-mcp-server

クロードへの質問例

  1. 「npmでExpressパッケージを検索」
  2. 「Reactに関連するパッケージを見つける」
  3. 「Web開発用のnpmパッケージを表示」

建てる

Dockerビルド:

cd src/npm-search docker build -t mcp/npm-search .

貢献

npm-search-mcp-server の拡張と改善のための貢献を歓迎します。npm 関連の新しいツールの追加、既存の機能の強化、ドキュメントの改善など、皆様からのご意見は大変貴重です。

他の MCP サーバーと実装パターンの例については、https: //github.com/modelcontextprotocol/serversを参照してください。

プルリクエストを歓迎します。npm-search-mcp-server をさらに強力で便利なものにするために、新しいアイデア、バグ修正、機能強化などをお気軽にご提供ください。

ライセンス

npm-search-mcp-server は MIT ライセンスに基づきます。つまり、MIT ライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布できます。詳細については、プロジェクトリポジトリの LICENSE ファイルをご覧ください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

npm パッケージを検索するための MCP サーバー

  1. Available Tools
    1. Installation
      1. Installing via Smithery
      2. Using NPM (recommended)
      3. Using uv
    2. Configuration
      1. Configure for Claude.app
      2. Configure for Zed
    3. Example Interactions
      1. Debugging
        1. Examples of Questions for Claude
          1. Build
            1. Contributing
              1. License

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
                  Last updated -
                  2
                  448
                  Python
                  Apache 2.0
                • -
                  security
                  A
                  license
                  -
                  quality
                  This server is a server that installs other MCP servers for you. Install it, and you can ask Claude to install MCP servers hosted in npm or PyPi for you. Requires npx and uv to be installed for node and Python servers respectively.
                  Last updated -
                  2
                  4,321
                  624
                  JavaScript
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  Easily find MCP servers using our MCP registry. Search with natural language.
                  Last updated -
                  1
                  3
                  JavaScript
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  MCP server for Mamont search engine
                  Last updated -
                  2
                  TypeScript
                  MIT License

                View all related MCP servers

                ID: yeb3luefvf