MCP.so
ログイン
N

Npm Package Docs

@meanands

Npm Package Docs について

A Model Context Protocol (MCP) server that provides up-to-date documentation for npm packages directly in your IDE. This tool fetches the latest README documentation from either the package's GitHub repository or the README bundled with the npm package itself.

基本情報

カテゴリ

メモリとナレッジ

トランスポート

stdio

公開者

meanands

投稿者

Anand Sukumaran

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "npm-package-docs-mcp": {
      "command": "npx",
      "args": [
        "meanands/npm-package-docs-mcp"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Npm Package Docs?

This MCP tool helps your IDE retrieve the most current README documentation for any npm package, fetching it from the package’s GitHub repository or the npm package tarball as a fallback.

How to use Npm Package Docs?

Use the provided tool get_docs_for_npm_package with the packageName parameter (e.g., "react") through any MCP‑compatible client like Cursor.

Key features of Npm Package Docs

  • Fetches README from package’s GitHub repository (main branch)
  • Falls back to npm package tarball if no GitHub repo
  • Delivers real‑time, up‑to‑date documentation
  • Integrates directly in your IDE via the MCP protocol

Use cases of Npm Package Docs

  • Getting the latest README for a new npm package.
  • Verifying current API signatures before using a function.
  • Avoiding deprecated methods by checking up‑to‑date docs.
  • Understanding package usage patterns directly in your editor.

FAQ from Npm Package Docs

What is Npm Package Docs?

It’s an MCP server that retrieves the latest documentation for any npm package, fetching the README from the package’s GitHub repository or the npm package tarball.

How does it fetch documentation?

It first tries the package’s GitHub repository (checking main, master, or develop branches). If no GitHub repository is found, it downloads the npm package tarball and extracts the README.

Which IDEs does it support?

It works with any IDE that supports the MCP protocol, such as Cursor.

Is the documentation always up‑to‑date?

Yes, the tool fetches the latest documentation in real‑time from the source, ensuring you always have the most current information.

What packages can I use it with?

Any npm package. Provide the package name as the packageName parameter (e.g., "lodash").

コメント

「メモリとナレッジ」の他のコンテンツ