Skip to content
MCP server

Books & Papers MCP Server

Federated book and paper search, citation and reading across LibGen and open access

Install
Pricing
Open source
Platforms
CLI, self-hosted, macOS
Runs
Locally or Remotely
Version
2.2.1
Listing updated
1 day ago

About Books & Papers MCP Server

Books & Papers MCP Server is an open-source MCP server for books and literature. It can run locally on your machine or as a hosted remote server.

Four tools cover the workflow: search, get_details, download and read. Search queries the Library Genesis catalogue first and, when it returns nothing or fails, can federate keyless discovery from Anna's Archive, arXiv, OpenAlex, Europe PMC, Crossref, OpenLibrary, Project Gutenberg, dblp, PubMed and ERIC. Details returns BibTeX or RIS plus APA, MLA, Chicago, Harvard, Vancouver, IEEE or CSL-JSON, can resolve a pasted reference to a DOI and lists cited and citing works. Read extracts and paginates text, searches inside a document and reads a single chapter so an assistant can summarise without a full download.

Downloads follow a fixed failover chain. For an article by DOI, legal open-access providers such as Unpaywall, OpenAlex and Europe PMC are tried first and shadow libraries only after all of them decline. A book requested by ISBN goes only to OAPEN and public-domain Internet Archive scans, never a shadow library, while a book requested by md5 comes from the Library Genesis family or Anna's Archive whatever its copyright.

The project is explicit that it is not a licence checker or legal opinion, and that copyright law where you live is yours to observe. It is written in Go, ships as a single binary, container or MCPB bundle, needs no account or key, and discovers and fails over between mirrors.

Install

Run in a terminal

claude mcp add --transport http libgen-mcp https://mcp.jmrp.io/libgen

Add to Settings → Connectors → Add custom connector

https://mcp.jmrp.io/libgen
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "libgen-mcp": {
      "url": "https://mcp.jmrp.io/libgen"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "libgen-mcp": {
      "type": "http",
      "url": "https://mcp.jmrp.io/libgen"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "libgen-mcp": {
      "serverUrl": "https://mcp.jmrp.io/libgen"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "libgen-mcp": {
      "type": "http",
      "url": "https://mcp.jmrp.io/libgen"
    }
  }
}

Configuration

  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)
  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)
  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)
  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)
  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)
  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)
  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)
  • LIBGEN_MIRRORForce a specific libgen mirror base URL (default: auto-discovered, preferred https://libgen.li)
  • LIBGEN_MCP_DOWNLOAD_DIRDirectory where the download tool saves files (default: ~/Downloads)
  • LIBGEN_MCP_TIMEOUTPer-request HTTP timeout (default: 10s)

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

search
Search books, papers and other works, optionally across extra sources and year ranges.
get_details
Record details with BibTeX or RIS export, citation styles, DOI resolution and related works.
download
Download a file through the ordered chain of sources, or return a direct link.
read
Extract and paginate a file's text, search inside it or read one chapter.

What it does

Federated search
Catalogue search with optional keyless extra sources and year filters.
Citation export
BibTeX, RIS and several citation styles, plus DOI resolution.
Open-access first
Articles try legal open-access providers before any shadow library.
In-document reading
Extract, paginate, search and read chapters without downloading everything.
Mirror failover
Mirrors are discovered, cached and replaced automatically.
Guided prompts
Prompts for acquiring a book, researching a topic and getting a paper.

Good for

  • Find a paper by DOI and read its open-access copy
  • Get a formatted citation for a book
  • Summarise a chapter without downloading the file
  • Search a topic across several scholarly indexes
  • Resolve a pasted reference to its DOI

Pricing

Open source

Free and open source, no account required

Prices change. Check jmrp.io before you buy.

Books & Papers MCP Server FAQ

Do I need an account or key?

No. The README says no account, API key or token is required.

Is it limited to legal sources?

No. It includes shadow-library fallbacks, and a book requested by md5 has no legal route; the project says users must judge legality themselves.

How many tools does it expose?

Four: search, get_details, download and read, plus four prompts.

How is it installed?

As a single binary, a container image or an MCPB bundle, with a hosted endpoint also listed.

Is Books & Papers MCP Server free?

Yes. Books & Papers MCP Server is open source, so you can use and self-host it for free.

How do I add Books & Papers MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http libgen-mcp https://mcp.jmrp.io/libgen

What are the best alternatives to Books & Papers MCP Server?

The closest alternatives to Books & Papers MCP Server are 一孔录《论语》 Yikonglu Analects, List Of Books, Born Then, FreeDict and Extraudinary.

Alternatives to Books & Papers MCP Server

  1. List Of Books

    MCP server

    Book series reading orders, author series and book-to-series lookups via MCP and REST

    • 5 tools
    • Remote
    • Freemium
    • Books and literature
  2. Born Then

    MCP server

    Free MCP server that rolls random historical births weighted by real demographics

    • 2 tools
    • Remote
    • Free
    • Education and exams
  3. FreeDict

    MCP server

    Dictionary lookups, synonyms, rhymes, slang and word search for AI apps and games

    Not checked yet
    • Remote
    • Freemium
    • Language learning
  4. Extraudinary

    MCP server

    Review speaking-practice feedback and save scripts to rehearse from an assistant

    • Remote
    • Freemium
    • Education and exams
  5. Book covers from a title and author: 39 styles, SVG, PNG and print-ready PDF export

    • 4 tools
    • Remote
    • Open source
    • Design and media