papers-mcp
Integrates with a Zotero library to search, read, and cite scholarly papers by full text, using Zotero metadata and PDFs from its WebDAV store. Provides ranked passages with printed page labels, paper outlines, page/section reading, page images, and CSL JSON citations with locators.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
papers-mcp
An MCP server that lets an AI agent search, read, and cite the scholarly papers in a Zotero library (journal articles, conference papers, reports, preprints, theses, book chapters) by the text of their PDFs, and cite them with the Zotero record and the page numbers the paper prints.
It is part of an authoring suite with corpus-mcp (books in Calibre), holdings-mcp (what is held, in what form), and quote-mcp (quotes). Zotero stays the catalogue and stores the files; papers-mcp keeps a full-text index it can rebuild from them.
The papers are other people's, mostly freely available copies that are still under copyright. papers-mcp never publishes a paper's text or files: it answers on the LAN and through Cloudflare Access only, and its tests use made-up PDFs. See PLAN.md for the plan and its stages.
Tools
Tool | |
| Full-text search with author, venue, type, and year filters; ranked passages with the printed page |
| Zotero metadata, the PDF's sections, and where its page labels come from |
| Text by page range, printed page, or section |
| A page as a PNG, for figures and tables and to check a printed number |
| CSL JSON from the Zotero record (through holdings-mcp) and a locator with the printed pages |
| Record a PDF's printed numbering when the labels are wrong |
| Papers, PDFs, what couldn't be read and why, and the last sync and index |
Related MCP server: zotero-mcp
Page labels
A journal article's first page is often printed 347, so the file position is rarely the page to cite.
Each PDF's labels come from, in order: a pinned numbering; the PDF's own labels (unless they are only
1, 2, 3…); the numbering printed in its running heads and folios
(@jmajerus/pdf-text);
Zotero's page range when it spans exactly the file's pages; else the file positions, which the tools flag.
When the folios disagree with Zotero's range, the file is often another version than the record (a
preprint, an author manuscript, a translation), and cite_passage says so.
Sources
Zotero items through holdings-mcp's read-only mirror of the Zotero Web API on the LAN (
PAPERS_ZOTERO_API), only what changed since the last library version.Files from Zotero's WebDAV store with a read-only login (docs/zotero-webdav.md), only those whose md5 changed, kept for
render_page.
Settings are listed in src/config.ts.
Running
npm install
npm run index # sync and index once, into data/
npm run serve # MCP at http://localhost:8000/mcp, refreshing every 10 minutes
npm testDeploying
On its own LXC (papers-mcp.localdomain, port 8000), on holdings-mcp's pattern:
npm run deploy -- --provision # once: Node 22, the papers user, directories, default settings
npm run deploy -- --env # copy PAPERS_WEBDAV_PASSWORD and the other settings from .env
npm run deploy # build, test, install a release, health-check, roll back on failureOn the server, log in as authoring and run papers-mcp status, papers-mcp index, or
papers-mcp reindex. A nightly timer backs up data.db (the pinned labels; everything else rebuilds).
On the LAN, GET /api/holdings/papers is holdings-mcp's feed of papers with text (with an ETag), and
POST /api/refresh syncs and indexes now. After the first deploy, add a Cloudflare Access application for
the host and add it to the Authoring MCP portal.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search 250M scholarly papers and work with your Researchzy library and PDFs from your AI agent.
Academic literature search, retrieval, and private library management on top of OpenAlex.
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Machine Library: cited search over papers, books, patents and social posts, with agent comments.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search a Zotero library, retrieve item metadata, and access the full text of PDF attachments.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search a Zotero library, retrieve complete item metadata, and read the full text of attached PDFs through the Zotero desktop app's local API or the Zotero Web API.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search a Zotero library, retrieve complete item metadata, and access the full text of documents.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search a Zotero library for items, retrieve complete item metadata, and read the full text of PDF attachments. It connects to either the local Zotero desktop API or the Zotero Web API, returning formatted results that clients can use sequentially.-