NPM MCP Server

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.

Integrations

  • Allows retrieval of Lodash package information as part of the popular packages resource functionality.

  • Provides tools for searching and retrieving detailed information about npm packages, including package metadata, version information, dependencies, and popularity rankings.

  • Enables access to React package information including version details, description, and repository data to support development decisions.

NPM MCP サーバー

これは、npm パッケージに関する情報を取得する機能を提供するモデル コンテキスト プロトコル (MCP) サーバーです。

特徴

  1. パッケージ検索: npm パッケージの詳細情報を取得するためのツール
  2. 人気パッケージ: 最も人気のある 10 個の npm パッケージをリストするリソース

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の NPM MCP サーバーを自動的にインストールするには:

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

手動でインストールする

npm install

建てる

npm run build

ランニング

npm start

開発の場合:

npm run dev

使用法

サーバーは主に 2 つの機能を公開します。

1. searchNpmPackageツール

特定のnpmパッケージに関する詳細情報を取得します。このツールは、以下を含む包括的なパッケージ情報を返します。

  • パッケージ名
  • 最新バージョン
  • 説明
  • 著者情報
  • ホームページURL
  • リポジトリURL
  • 依存関係リスト

使用例:

const result = await server.tools.searchNpmPackage({ packageName: "react" });

応答例:

{ "name": "react", "version": "18.2.0", "description": "React is a JavaScript library for building user interfaces.", "author": "Meta Open Source", "homepage": "https://reactjs.org/", "repository": { "url": "https://github.com/facebook/react.git" }, "dependencies": { "loose-envify": "^1.1.0" } }

2. 人気のパッケージリソース

最も人気のある10個のnpmパッケージを人気順にリストします。リスト内の各パッケージには以下が含まれます。

  • パッケージ名
  • 説明
  • 現在のバージョン

リソースURI: npm://popular

応答例:

[ { "name": "lodash", "description": "Lodash modular utilities", "version": "4.17.21" }, // ... more packages ]

AIモデルとの統合

この MCP サーバーは AI モデルと統合して次のことが可能になります。

  1. インストール前にパッケージ情報を取得する
  2. 異なるパッケージバージョンを比較する
  3. 依存関係を分析する
  4. 人気の代替品を探す
  5. クイックパッケージ概要を取得する

テクノロジー

  • タイプスクリプト
  • モデルコンテキストプロトコルSDK
  • ノードフェッチ
  • ゾッド

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

AI モデルが npm パッケージに関する詳細情報を取得し、npm エコシステム内の人気のあるパッケージを検出できるようにするモデル コンテキスト プロトコル サーバー。

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Installing Manually
    2. Build
      1. Running
        1. Usage
          1. 1. searchNpmPackage Tool
          2. 2. popular-packages Resource
        2. Integration with AI Models
          1. Technologies
            ID: v1z5scqiwi