Skip to main content
Glama

lncrawl-mcp

Let an AI assistant search web-novel sites, download chapters, read them, and export EPUBs through Lightnovel Crawler (lncrawl). It is an MCP server that calls the REST API of a running lncrawl server.

"Find Solo Leveling on a French source, download the first 10 chapters, read me chapter 1, then build an EPUB."

Status: early (0.1), MIT licensed. Python 3.10+, tested against lncrawl 4.14.0. Not affiliated with lncrawl.

Quick start

  1. Install uv and lncrawl (pipx install lightnovel-crawler).

  2. Start the server, bound to localhost:

    lncrawl server --host 127.0.0.1 --port 8181

    The default bind is 0.0.0.0, and a fresh server accepts admin / admin. Change the password in the web UI at http://127.0.0.1:8181 before exposing the port.

  3. Install this server:

    uv tool install git+https://github.com/alchimestre/lncrawl-mcp
  4. Add it to your MCP client:

    {
      "mcpServers": {
        "lncrawl": {
          "command": "lncrawl-mcp",
          "env": {
            "LNCRAWL_EMAIL": "admin",
            "LNCRAWL_PASSWORD": "your-password"
          }
        }
      }
    }

Related MCP server: booklore-mcp

Configuration

Variable

Default

Meaning

LNCRAWL_URL

http://127.0.0.1:8181

Server base URL

LNCRAWL_EMAIL, LNCRAWL_PASSWORD

none

Login; renewed when the token expires

LNCRAWL_TOKEN

none

API token, used instead of a login

LNCRAWL_DOWNLOAD_DIR

./downloads

Where save_ebook writes

Tools

Tool

Does

list_sources

Supported sites, filtered by domain, language, search support

search_novels

Title search across all sources, or one domain

add_novel

Fetch metadata and chapter list from a novel URL

list_novels, get_novel, list_chapters

Browse the server's library

read_chapter

Chapter text, downloaded first when missing

download_missing_chapters

Download every undownloaded chapter

update_novel

Refresh metadata, download new chapters, rebuild e-books

make_ebook

Build epub, txt, json; pdf, mobi, azw3 and others need Calibre on the server

save_ebook

Copy an e-book file to a local directory

get_job, cancel_job

Poll or stop a job

Tools that start a job wait wait_seconds (default 60). A slower job returns finished: false; poll it with get_job.

Limits

  • lncrawl runs one job queue. An all-source search delays every job behind it: pass domain to search_novels, or cancel_job it.

  • read_chapter returns the server's HTML, not plain text.

  • Not covered: translation, libraries, read history, admin endpoints. Use the lncrawl web UI.

  • Whether you may download a novel depends on the source site's terms.

Development

uv sync --extra dev
uv run pytest

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Connects AI assistants to the Hardcover book library, enabling natural language book searches, reading status updates, list management, and library exploration.
      28
      237 PyPI
      10
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to interact with BookLore self-hosted libraries, allowing natural language queries to search books, manage reading status, ratings, series, authors, and highlights.
      7
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to interact with a local Calibre Content Server to search libraries, list books, retrieve ebook content, chapters, and more.
      15 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to query a local reader's current state (book, chapter, CFI, visible text, selection) and perform actions like opening books, navigating by CFI or progress, searching, and creating or clearing highlights.
      MIT