プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

Book Downloader (LibGen)

作者:Abhinav-Prabhakarバージョン 4.0.1i★ 2iパソコンで動くリポジトリ ↗
レジストリ名io.github.Abhinav-Prabhakar/book-downloader-mcp

インストール方法

できること

Search Library Genesis and download ebooks with MD5 verification and mirror failover.

作者による原文

  • 接続方法 パソコンで動く
  • アカウントまたはキー キー不要
  • カテゴリ 検索・AIの記憶

一緒に使える

この種の作業を AI に教える Skill。これと一緒に使えます

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

作者:google-research★ 35,6421 個の skill

Skill · 手順書

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

作者:BigBodyCobain★ 11,6081 個の skill

Skill · 手順書

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

作者:gosom★ 8,2561 個の skill

Skill · 手順書

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気6/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア18/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Book Downloader (LibGen) をインストールして。https://mcp.popnx.com/i/abhinav-prabhakar-book-downloader-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Book Downloader (LibGen) を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "book-downloader": { "command": "npx", "args": [ "-y", "book-downloader-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Book Downloader (LibGen) のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "book-downloader": {
          "command": "npx",
          "args": [
            "-y",
            "book-downloader-mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Book Downloader (LibGen) を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Book Downloader (LibGen) を使っていると言うか、回答に Book Downloader (LibGen) のツール名が出れば接続成功です

追加の設定 2 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • LIBGEN_DOWNLOAD_DIR ダウンロードした書籍を保存するディレクトリ。既定値はサーバーの作業ディレクトリ
    英語の原文を見るDirectory where downloaded books are saved. Defaults to the server's working directory.
  • LIBGEN_MIRROR 自動検出する代わりに、特定の LibGen+ ミラーを固定します。
    英語の原文を見るPin a specific LibGen+ mirror instead of discovering one automatically.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Book Downloader (LibGen) につなげません

Book Downloader (LibGen) はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Book Downloader (LibGen) につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Book Downloader (LibGen) を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user book-downloader -- npx -y book-downloader-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Book Downloader (LibGen) のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user book-downloader -- npx -y book-downloader-mcp
  4. Claude Code で /mcp と入力

    Book Downloader (LibGen) が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Book Downloader (LibGen) を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Book Downloader (LibGen) を使っていると言うか、回答に Book Downloader (LibGen) のツール名が出れば接続成功です

追加の設定 2 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • LIBGEN_DOWNLOAD_DIR ダウンロードした書籍を保存するディレクトリ。既定値はサーバーの作業ディレクトリ
    英語の原文を見るDirectory where downloaded books are saved. Defaults to the server's working directory.
  • LIBGEN_MIRROR 自動検出する代わりに、特定の LibGen+ ミラーを固定します。
    英語の原文を見るPin a specific LibGen+ mirror instead of discovering one automatically.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Book Downloader (LibGen) を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "book-downloader": { "command": "npx", "args": [ "-y", "book-downloader-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Book Downloader (LibGen) のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Book Downloader (LibGen) を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Book Downloader (LibGen) を使っていると言うか、回答に Book Downloader (LibGen) のツール名が出れば接続成功です

追加の設定 2 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • LIBGEN_DOWNLOAD_DIR ダウンロードした書籍を保存するディレクトリ。既定値はサーバーの作業ディレクトリ
    英語の原文を見るDirectory where downloaded books are saved. Defaults to the server's working directory.
  • LIBGEN_MIRROR 自動検出する代わりに、特定の LibGen+ ミラーを固定します。
    英語の原文を見るPin a specific LibGen+ mirror instead of discovering one automatically.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Book Downloader (LibGen) を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "book-downloader": { "type": "stdio", "command": "npx", "args": [ "-y", "book-downloader-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Book Downloader (LibGen) のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Book Downloader (LibGen) を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Book Downloader (LibGen) を使っていると言うか、回答に Book Downloader (LibGen) のツール名が出れば接続成功です

追加の設定 2 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • LIBGEN_DOWNLOAD_DIR ダウンロードした書籍を保存するディレクトリ。既定値はサーバーの作業ディレクトリ
    英語の原文を見るDirectory where downloaded books are saved. Defaults to the server's working directory.
  • LIBGEN_MIRROR 自動検出する代わりに、特定の LibGen+ ミラーを固定します。
    英語の原文を見るPin a specific LibGen+ mirror instead of discovering one automatically.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Book Downloader (LibGen) を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user book-downloader -- npx -y book-downloader-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "book-downloader": {
      "command": "npx",
      "args": [
        "-y",
        "book-downloader-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "book-downloader": {
      "command": "npx",
      "args": [
        "-y",
        "book-downloader-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "book-downloader": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "book-downloader-mcp"
      ]
    }
  }
}

自分で入力する値

  • LIBGEN_DOWNLOAD_DIR env
    ダウンロードした書籍を保存するディレクトリ。既定値はサーバーの作業ディレクトリ
    英語の原文を見るDirectory where downloaded books are saved. Defaults to the server's working directory.
  • LIBGEN_MIRROR env
    自動検出する代わりに、特定の LibGen+ ミラーを固定します。
    英語の原文を見るPin a specific LibGen+ mirror instead of discovering one automatically.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
9/週
接続方法
パソコンで動く
最新バージョンi
4.0.1
レジストリ公開日i
2026年11月12日
コードの最終更新i
2026年11月12日
作者
Abhinav-Prabhakar
パッケージ
npm: book-downloader-mcp
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月21日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Abhinav-Prabhakar で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:9 日前

  • ✓ 合格

    ライセンスがある

    WTFPLを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に book-downloader-mcp@4.0.1 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/abhinav-prabhakar-book-downloader-mcp.svg)](https://mcp.popnx.com/en/servers/abhinav-prabhakar-book-downloader-mcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの6535件のうち83%よりスターが多い
  • このカテゴリのほかの6535件のうち83%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの6535件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Book Downloader (LibGen)は安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は9 日前、最新バージョン(4.0.1)がレジストリに届いたのは9 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

作者:every-app広く使われている★ 2.8万7 日前更新

クラウドで動く✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

作者:exa-labs広く使われている★ 5245昨日更新

クラウドで動く✓ 提供元 · exa.aiPopNx チームが実際に試用

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

作者:MicrosoftDocs広く使われている★ 200212 か月前更新

クラウドで動く✓ 提供元 · microsoft.comPopNx チームが実際に試用

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

作者:proxysoul成長中★ 16293 か月前更新

クラウドで動く✓ empryo.com
似たものと比べる
これ
Book Downloader (LibGen)
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえはいはいはいいいえいいえ
基本チェック3/35/52/44/44/44/4
ライセンスWTFPLMITMITCC-BY-4.0NOASSERTIONApache-2.0
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Book Downloader MCP

Ask your AI for a book, get the file.

A Model Context Protocol server for Library Genesis (LibGen+). Search, resolve and download ebooks from Claude, Cursor, VS Code, Windsurf, Zed or any other MCP client — with automatic mirror discovery, MD5 verification and bounded concurrency.

You: Find me "The Art of War" and download it.

Claude: → libgen_search(query: "the art of war") 25 results. → libgen_download(md5: "07fa8b41…") Saved /Users/you/Books/The Art of War.pdf (58 MB, md5 verified).


Contents

  • Why this server
  • Quick start
  • Tools
  • Example prompts
  • Configuration
  • Docker
  • Programmatic API
  • Development
  • Troubleshooting
  • Legal

Why this server

  • It actually works in 2026. LibGen+ mirrors answer non-browser user agents with a stock nginx page, so most scrapers look like the site is down. This server sends real browser headers, then verifies a mirror by running a live search rather than trusting a 200.
  • Mirrors die constantly. Every configured mirror is probed with a real request; the warm mirror is re-probed and rotated automatically when a call fails.
  • Downloads you can trust. Files stream to disk with a size cap, a .part file, and an MD5 check against the LibGen record. Existing files are never silently overwritten.
  • Safe by construction. Filenames are sanitized (including Windows reserved names and traversal attempts), and the server refuses expired-key HTML pages instead of saving them as .pdf.
  • Made for agents. Seven focused, snake_case tools with Zod-validated inputs and actionable error messages, plus a --status CLI probe for when a tool call fails.

Quick start

The package runs on demand through npx; there is nothing to install globally.

Claude Code

claude mcp add libgen \

--env LIBGEN_DOWNLOAD_DIR=~/Books \ -- npx -y book-downloader-mcp

Claude Desktop (claude_desktop_config.json)

{

"mcpServers": { "libgen": { "command": "npx", "args": ["-y", "book-downloader-mcp"], "env": { "LIBGEN_DOWNLOAD_DIR": "~/Books" } } } }

Cursor (~/.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json) and Cline use the same shape:

{

"mcpServers": { "libgen": { "command": "npx", "args": ["-y", "book-downloader-mcp"] } } }

VS Code (.vscode/mcp.json)

{

"servers": { "libgen": { "type": "stdio", "command": "npx", "args": ["-y", "book-downloader-mcp"] } } }

Anything else — the generic stdio snippet:

{

"command": "npx", "args": ["-y", "book-downloader-mcp"] }

Check mirror health before wiring it into a client:

npx -y book-downloader-mcp --status

Tools

ToolRead-onlyWhat it does
libgen_search✓Search by title, author or ISBN. Returns metadata plus the md5 needed for downloads.
libgen_get_download_url✓Resolve the direct download URL for an md5 without downloading.
libgen_download—Download one file, verify its MD5, report the saved path and size.
libgen_bulk_download—Download 1–20 md5s with bounded concurrency; failures are reported per item.
libgen_list_mirrors✓Show configured mirrors, the active one, and the config version.
libgen_set_mirror—Pin a specific LibGen+ mirror for the session (probed before use).
libgen_status✓Probe every mirror with a real search and report latency and errors.

Search results carry title, authors, publisher, year, language, pages, size, extension, md5 and mirrorUrl. Downloads return status, path, filename, bytes and md5Verified.

Set LIBGEN_DOWNLOAD_DIR once, or pass downloadDir per call. Relative paths resolve against the server's working directory.

Example prompts

  • “Search LibGen for the 3rd edition of _Computer Networks_ by Tanenbaum.”
  • “Find an EPUB of _Dune_ and download the smallest result.”
  • “Download these five books into ~/Research/Books.”
  • “LibGen search is failing — check the mirrors and switch to a working one.”
  • “Get me the direct download link for this md5, I'll use curl.”

Configuration

All settings are environment variables; each has a safe default.

VariableDefaultDescription
LIBGEN_DOWNLOAD_DIRprocess cwdWhere downloads are saved. ~ is expanded.
LIBGEN_MIRROR—Pin a LibGen+ mirror (e.g. https://libgen.li/) instead of discovering one.
LIBGEN_CONFIG_URLupstream config.v3.jsonRemote JSON listing the current mirrors.
LIBGEN_TIMEOUT_MS30000Per-request timeout.
LIBGEN_MAX_RETRIES2Retries for 429/5xx/network failures, with exponential backoff.
LIBGEN_MAX_DOWNLOAD_MB512Per-file size cap.
LIBGEN_CONCURRENCY2Parallel downloads for bulk calls (clamped to 1–5).
LIBGEN_VERIFY_MD5trueVerify downloads against the LibGen md5.
LIBGEN_CONFIG_TTL_MS3600000How long to cache the mirror list.
LIBGEN_USER_AGENTChrome UAOverride the browser user agent.

CLI flags: --status (probe mirrors and exit), --version, --help.

Docker

docker build -t book-downloader-mcp .

Mount a folder so downloads persist outside the container

docker run -i --rm \ -v "$HOME/Books:/books" \ -e LIBGEN_DOWNLOAD_DIR=/books \ book-downloader-mcp

Mount a host folder to keep downloads after the container exits; the image defaults LIBGEN_DOWNLOAD_DIR to /books.

Programmatic API

import { LibgenClient, searchBooks, downloadByMd5, downloadByMd5List } from "book-downloader-mcp";

// One-off helpers (each creates a client) const results = await searchBooks("the art of war", 1, 10); const best = results.find((entry) => entry.extension === "pdf");

if (best?.md5) { const outcome = await downloadByMd5(best.md5, { downloadDir: "~/Books" }); console.log(outcome.status, outcome.path, outcome.md5Verified); }

// Reuse one client to keep the warm mirror and config cache const client = new LibgenClient(); const status = await client.status(); const outcomes = await client.downloadMany( results.flatMap((entry) => (entry.md5 ? [entry.md5] : [])).slice(0, 3), { concurrency: 2 } );

Useful exports: LibgenClient, createServer, TOOLS, loadConfig, HttpClient, LibgenPlusAdapter, LibgenError, searchBooks, downloadByMd5, downloadByMd5List.

Development

npm install

npm run dev # run the server from source with reload npm test # 50 vitest tests npm run test:coverage npm run typecheck npm run lint npm run build # emit dist/ and .d.ts node dist/cli.js --status

Project layout:

src/

cli.ts CLI entry point (stdio server, --status) config.ts Environment parsing libgen.ts Client: mirror discovery, search, download, bulk core/ HTTP (browser headers, retries), files, errors api/ Mirror config, HTML parsing, LibGen+ adapter mcp/ MCPServer factory and the seven tool definitions tests/ Adapter, HTTP, config, files, client and MCP tests

Pull requests are welcome. Run npm run lint && npm test && npm run build before opening one.

Troubleshooting

SymptomFix
“No working LibGen mirror found”Run npx -y book-downloader-mcp --status. If every mirror fails, set LIBGEN_MIRROR to a current LibGen+ URL.
Search returns nothingTry fewer, more specific terms. LibGen+ matches titles, authors and ISBNs, not full sentences.
The mirror returned a web page instead of a fileThe download key expired. Re-run the search and download a fresh md5.
md5Verified: falseThe mirror served a different file than the record describes. Inspect it before trusting it.
Download exceeds the size limitRaise LIBGEN_MAX_DOWNLOAD_MB or pass a smaller result.
Empty md5 in a resultThat row has no direct file (e.g. a metadata-only record). Pick another result.

Legal

This project only provides a client for Library Genesis mirrors operated by third parties. It does not host, mirror or distribute any content. Downloading copyrighted material without permission may be illegal where you live — you are responsible for what you download. The original project is obsfx/libgen-downloader.

License

WTFPL © Ömercan Balandı, with maintenance by Abhinav Prabhakar.