SuperAPI AI Directory

paperboy

Send research papers to Kindle or Kobo: search arXiv and OpenAlex, find related work, queue papers in Zotero and deliver PDFs via email or Dropbox.

Open website

About this tool

paperboy is an MCP (Model Context Protocol) server for delivering research papers and books to e-readers, with Zotero as the source of truth. You can ask Claude for a reading list, then say "queue them and send them to my Kindle." MCP is the plugin protocol Claude uses: the program runs on your machine or in a cloud project, and Claude calls its tools during a conversation. It works locally in Claude Code and Claude Desktop; a Cloud Run deployment additionally supports claude.ai and the Claude mobile app, so papers can be sent from a phone.

Purpose and workflow: you ask Claude for papers, and it uses paperboy's tools to find, queue, and deliver them. Specifically: papers you queue go into a Reading Queue collection created on demand in Zotero; once a paper reaches the device, paperboy marks it sent-to-ereader in Zotero, so papers already sent to the e-reader are skipped even in later conversations (without Zotero there is no memory between sends, so this safeguard requires Zotero); Claude can also archive papers into your topic collections, suggesting based on the paper's topic and existing collection names, and asking you when the match is ambiguous; a paper can belong to multiple collections at once, so archiving does not interfere with the queue.

Main capabilities: papers can be found by arXiv ID, DOI, or title (title matching is approximate, so a reading list Claude writes in chat can be sent as-is); when a title matches only loosely, paperboy offers the closest candidates for confirmation instead of guessing or failing silently. Books are also supported: add_book resolves an ISBN, book DOI, or title into a proper Zotero book entry (publisher, edition, ISBN, page count); books are cataloged but not delivered. If you already have a PDF (working paper, lecture notes, open-access textbook), attach_pdf archives it into Zotero using the metadata you provide and attaches the PDF, and can send it to the e-reader in the same step. When a reference cannot be resolved, the receipt explains why and which tool is appropriate, instead of leaving you to find a better URL. Without an open-access PDF The paper is a normal library record, not an error. Zotero stores all this information, so the server keeps no state of its own: no database to run, and it can be safely redeployed at any time.

How to use: run the interactive wizard. It asks which e-reader you have, guides you only through the credentials needed for that device, and validates each credential as you enter it: SMTP login test, Zotero key check that automatically finds the library ID, full Dropbox OAuth exchange. docs/setup.md is the step-by-step version: where to find each credential in Zotero, Amazon, Gmail, and Dropbox, with links to the official pages. How much setup you need depends on the device. If you prefer manual setup, cp .env.example .env and fill it in; every variable is documented. Then register with Claude Code (--directory matters: the server loads .env from the working directory; set PAPERBOY_ENV=/path/to/.env to point elsewhere). If paperboy has been added but the configuration is incomplete, ask Claude to "check my paperboy setup." The setup_status tool reports what is missing and what to do next, without passing secrets through the chat.

Deployment and connection: if you received a URL and token, the URL needs the /mcp path suffix. Treat the token like a password: it lets you act fully as the owner: send email from their address, deliver to their e-reader, and read and edit their Zotero library. There is no reduced-permission mode; if that is not what both of you want, deploy your own instance. Deploying your own instance: one script creates a locked-down, single-tenant Cloud Run service. You need the gcloud CLI and a Google Cloud account with billing enabled, so a card on file is required. Costs depend on usage: a personal deployment that occasionally sends papers usually stays within the Cloud Run free tier and costs nothing, but heavy or shared use may exceed it. The script sets a $1 monthly budget alert. How clients connect to a deployed server varies by client: Claude Code and the API use the bearer token generated by the script, pasting it into the Authorization header; claude.ai and the Claude mobile app usually cannot [connect] from the connectorDialog boxes send bearer tokens, so they instead use Google Sign-In, which requires a one-time Google OAuth client created in your own Cloud project (one Web application client, one redirect URI). Sign-in is restricted to your own email address, and since paperboy only asks Google for your email, sign-in does not expire. docs/deploy.md has the full process, including OAuth console steps, the security model, and cost bounds.

Development and extra features: uses uv for packaging, ruff (Google style), ty, pytest, and enforces an 80% coverage threshold. uv sync && uv run pre-commit install, then uv run pytest. The test suite runs fully offline; no credentials are needed for development. Contributions are welcome; CONTRIBUTING.md covers setup and testing conventions, and SECURITY.md covers how to report vulnerabilities (please report privately). Extra features include: a reMarkable delivery backend (real cloud API); converting arXiv HTML to EPUB via pandoc for reflowable reading (optional per paper; lossy for dense mathematical content, so PDF remains the default); a Kindle highlights → Zotero notes round trip (a My Clippings.txt parser with fuzzy title matching).

Predecessors and acknowledgments: paperboy is based on the tag-driven Zotero→Kindle idea from stakats/zotero-to-kindle (around 2011, proposed by one of Zotero's original leads); wahiggins3/send-to-kindle-mcp; openags/paper-search-mcp; and 54yyyu/zotero-mcp, which is the model for our setup wizard; paperboy leaves library management to it. Thanks to arXiv for open-access interoperability use. Paper metadata and open-access links come from OpenAlex, Crossref, and Unpaywall, all of which operate as open scholarly infrastructure. Recommendations are via the Semantic Scholar Recommendations API (Allen Institute for AI). Library management is via the Zotero Web API. Built on FastMCP, pyzotero, and httpx. paperboy was built using Claude Code.