npm-search-mcp-server
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 claudeNPMの使用(推奨)
あるいは、npm 経由でnpm-search-mcp-serverをインストールすることもできます。
npm install -g npm-search-mcp-serverインストール後、次のコマンドを使用してコマンドとして実行できます。
npm-search-mcp-serverUVの使用
uvを使用する場合、特別なインストールは必要ありません。uvx uvx使用してnpm-search-mcp-serverを直接実行します。
Related MCP server: mcp-server-npm
構成
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"]
}
],やり取りの例
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クロードへの質問例
「npmでExpressパッケージを検索」
「Reactに関連するパッケージを見つける」
「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 ファイルをご覧ください。
Available Tools
1 toolsearch_npm_packagesC
Search for npm packages
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined and distinct by default.
A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The name 'search_npm_packages' follows a clear verb_noun pattern.
One tool is too few for a server named 'npm-search-mcp-server', which suggests a broader npm-related scope. A single search tool feels thin and incomplete for interacting with npm packages beyond basic searches.
The tool surface is severely incomplete for npm package management. It only provides search functionality, lacking essential operations like getting package details, checking versions, or managing dependencies, which are core to the domain.
Maintenance
Related MCP Connectors
MCP server for hex.pm and hexdocs.pm: search, inspect, compare, and audit Elixir packages
Unofficial npm MCP — wraps the npm Registry API (free, no auth)
MCP server for the Vulners.com API
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server for npm — search packages, check bundle sizes, scan vulnerabilities, compare downloads, inspect dependencies.859 npm1MIT
- AlicenseAqualityDmaintenanceMCP server to search npm packages, view details, compare, check downloads, and inspect dependencies.639 npmMIT
- AlicenseBqualityBmaintenanceMCP server for npm package management — publish, install, audit, search, security & dependency health4281 npm1MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for npm login, publishing, and viewing package operations.33 npmMIT