Skip to main content
Glama
DocsFetcher MCP Server

DocsFetcher MCP Server

by cdugo

📚 DocsFetcher MCP サーバー

鍛冶屋のバッジ npmバージョン npmダウンロード

API キーを必要とせずに、Claude などの LLM の複数の言語エコシステムからパッケージ ドキュメントを取得する MCP サーバー。

✨ 特徴

  • 🌐 複数のプログラミング言語をサポート (JavaScript、Python、Java、.NET、Ruby、PHP、Rust、Go、Swift)

  • 📦 パッケージのドキュメントを名前または URL で取得します

  • 🔍 ドキュメントサイトをクロールして包括的な情報を抽出します

  • 📄 README、API ドキュメント、コード例、リポジトリ情報を抽出します

  • 🧠 LLM要約のための構造化データを提供する

  • 💬 ドキュメント分析のための特別なプロンプトが含まれています

  • 🔑 APIキーは不要- Claude DesktopとCursor IDEでネイティブに動作します

Related MCP server: RTFD (Read The F*****g Docs)

🚀 インストール

クロードデスクトップ

  1. Claudeデスクトップを開く→設定→開発者

  2. 「設定の編集」をクリックして以下を追加します。

{
  "mcpServers": {
    "docsFetcher": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli@latest",
        "run",
        "@cdugo/mcp-get-docs",
        "--config",
        "'{}'"
      ]
    }
  }
}

カーソルIDE設定

  1. カーソルIDEを開く→設定→MCP ->新しいMCPサーバーを追加

  2. 追加:

    Name: docsFetcher
    Command: npx -y @smithery/cli@latest run @cdugo/mcp-get-docs --config "{}"

前提条件

  • 📋 Node.js 18以降

🏃‍♂️ 地元で走る

git clone https://github.com/cdugo/package-documentation-mcp
cd package-documentation-mcp
npm install
npm run build

インストールが完了したら、次のコマンドでローカルでサーバーを実行できます。

# From the project root directory
npm start

ファイルの変更時に自動的に再起動する開発の場合:

npm run dev

サーバーはデフォルトポート(通常は3000)で起動します。次のような出力が表示されます。

🚀 DocsFetcher MCP Server running!
📋 Ready to fetch documentation

カスタム ポートを指定するには:

PORT=8080 npm start

🛠️ 利用可能なツール

  1. fetch-url-docs : 🔗 特定の URL からドキュメントを取得する

  2. fetch-package-docs : 📦 オプションの言語指定でパッケージのドキュメントを取得します

  3. fetch-library-docs : 🧠 パッケージ名または URL で機能するスマートツール

  4. fetch-multilingual-docs : 🌍 複数の言語エコシステムにわたるパッケージのドキュメントを取得します

📝 利用可能なプロンプト

  1. summary-library-docs : 📚 包括的なライブラリ概要を作成する

  2. explain-dependency-error : 🐛 依存関係エラーの説明を生成する

💡 クエリの例

基本的な図書館情報

  • 「Express.js とは何ですか?どのように使用しますか?」

  • 「Reactライブラリについて教えてください」

  • 「Python でリクエストを使用するにはどうすればいいですか?」

多言語サポート

  • 「JavaScript で lodash のドキュメントを表示」

  • 「Python の pandas と R の data.table を比較する」

ツールの使用

  • "packageName='express'、language='javascript' の @fetch-package-docs"

  • "packageName='requests'、language='python' の @fetch-package-docs"

  • "packageName='http'、languages=['javascript'、'python'、'rust'] の @fetch-multilingual-docs"

プロンプトの使用

  • "@summarize-library-docs で libraryName='express' を指定"

  • "packageName='dotenv' の @explain-dependency-error"

❓ トラブルシューティング

ローカルインストール

  • サーバーが表示されない: ✅ 構成内の絶対パスを確認してください

  • 接続エラー: 🔄 Claude Desktop または Cursor IDE を再起動します

  • フェッチの失敗: ⚠️ 一部のパッケージには非標準のドキュメントがある場合があります

  • 言語サポート: 🌐 言語が機能しない場合は、パッケージの直接URLを使用してみてください

📄 ライセンス

マサチューセッツ工科大学

Available Tools

4 tools
fetch-library-docsD

Inputs: library (required), language.

fetch-multilingual-docsD

Inputs: packageName (required), languages (required).

fetch-package-docsD

Inputs: packageName (required), language.

fetch-url-docsD

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.8/5.0

    Scored across 4 tools

    Disambiguation3/5

    The tools have overlapping purposes as they all fetch documentation, but the different targets (library, multilingual, package, URL) provide some distinction. However, without descriptions, it's unclear if 'library' and 'package' might overlap or if 'multilingual' is a subset of other categories, leading to potential confusion for agents.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with 'fetch-' prefix and hyphen-separated words (e.g., fetch-library-docs). There are no deviations in naming style, making the set predictable and easy to parse.

    Tool Count4/5

    With 4 tools, the count is reasonable for a documentation fetching server, suggesting a focused scope. It's slightly thin but not inadequate, as each tool appears to target a specific documentation source type.

    Completeness2/5

    Inferring the domain as documentation retrieval, the surface lacks obvious operations like search, update, or delete, and there's no tool for general or unspecified docs fetching. The absence of descriptions makes it hard to assess gaps fully, but the limited set suggests significant coverage issues for broader documentation workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers