paperboy

paperboy

An MCP server that delivers research papers to your e-reader, using Zotero as the source of truth. Allows searching, queuing, and sending papers to Kindle, PocketBook, or Kobo.

Category
访问服务器

README

paperboy

CI License: MIT paperboy MCP server

Claude finding three papers, filing them in Zotero, and sending two to a Kindle

An MCP server that delivers research papers to your e-reader, with Zotero as the source of truth. Ask Claude for a reading list, then say "queue them and send to my Kindle." (MCP is the plugin protocol Claude uses: this program runs on your machine or your cloud project, and Claude calls its tools during conversation.) Works locally in Claude Code and Claude Desktop; remote use via Cloud Run is covered in docs/deploy.md.

Zotero itself is optional: without it you can still search and send papers one-off. The reading queue, collections, and duplicate protection across sessions need it.

Architecture

Hub-and-spoke. Zotero is the library hub and this server is the delivery spoke, so all state lives in Zotero:

  • Papers land in a Reading Queue collection, created on demand.
  • Delivery is recorded by tagging the item sent-to-ereader.
  • Papers can also be filed into topical collections. Zotero items can belong to many collections at once, so filing never disturbs queue state. Claude proposes a collection based on the paper's topic and your existing collection names, and asks you when the fit is unclear.
  • The server itself is stateless. No database, safe to redeploy.

Papers are resolved by arXiv id, DOI, or bare title (high-confidence fuzzy match only, so a reading list Claude produced in conversation can be sent directly). Search runs against OpenAlex (~250M works) or arXiv. When a paper can't be resolved or has no open-access PDF, the tool says so in its receipt and Claude relays that to you. Nothing is dropped silently.

Delivery backends

Backend Devices How
email (default) Kindle, PocketBook, anything with an email intake SMTP to the device address. Kindle constraints enforced: 25 attachments / 50 MB per email; sender must be on the Approved Personal Document E-mail List
dropbox Kobo (native Dropbox sync on the device) Uploads via the Dropbox API. Kobo only syncs Apps/Rakuten Kobo/, so use a Full Dropbox-scoped app with DROPBOX_FOLDER="/Apps/Rakuten Kobo"; an App-folder-scoped app can't reach it

Tools

Tool What it does
search_papers Search OpenAlex (general) or arXiv (source="arxiv"); results carry a ref and an open_access_pdf flag
recommend_papers Discover related or new papers: citation-graph recommendations (Semantic Scholar) seeded from your Zotero library, plus keyword discovery from interests Claude distills out of the conversation. Excludes papers you already have
send_papers One-off send by arXiv id, DOI, URL, or title (also records in Zotero if configured)
queue_papers Add papers to the Zotero Reading Queue without sending (optionally filed into topical collections)
list_collections List Zotero collections so Claude can propose where to file a paper, or ask you
file_papers File queued papers into a topical collection (created on demand; queue membership unaffected)
list_queue Show the queue with per-item status (unsent / sent / no-open-access-pdf)
remove_from_queue Delete queue items by exact ref or title
send_queue Send every unsent queue item (auto-split under email limits), then tag as sent
setup_status Report what's configured and what's missing (no secrets) so Claude can guide setup

Setup

Run the interactive wizard. It asks which e-reader you have, walks through only the credentials that device needs, and validates each one as you enter it: SMTP login test, Zotero key check with automatic library ID lookup, full Dropbox OAuth exchange.

uv sync && uv run paperboy setup

How much setup you need depends on the device:

You have Credentials needed
Kindle 2 — Send-to-Kindle address + an SMTP app password
PocketBook 2 — Send-to-PocketBook address + an SMTP app password
Kobo a Dropbox app (key/secret + one OAuth approval) + a contact email
+ Zotero queue (optional) 1 — a Zotero API key (library ID auto-detected)

If you'd rather set up by hand, cp .env.example .env and fill it in; every variable is documented there. Then register with Claude Code:

claude mcp add paperboy -- uv run --directory /path/to/paperboy paperboy

--directory matters: the server loads .env from its working directory (set PAPERBOY_ENV=/path/to/.env to point elsewhere).

If paperboy is added but half-configured, ask Claude to "check my paperboy setup". The setup_status tool reports what's missing and what to do next, without passing secrets through the chat.

Remote use

You were given a URL and a token

If someone shared their deployment with you, this is your whole setup:

claude mcp add --transport http paperboy <URL>/mcp \
  --header "Authorization: Bearer <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's not what you both want, deploy your own instance.

Deploy your own

One script creates a locked-down, single-tenant Cloud Run service that normally costs $0 to run:

uv run paperboy setup && ./deploy/deploy.sh my-paperboy-project

docs/deploy.md covers what the script sets up, the security model, cost bounds, and which Claude clients can connect.

Development

uv for packaging, ruff (Google style), ty, pytest behind an enforced 80% coverage gate. uv sync && uv run pre-commit install, then uv run pytest.

Roadmap

  • [ ] reMarkable delivery backend (real cloud API)
  • [ ] arXiv HTML → EPUB via pandoc for reflowable reading (opt-in per paper; conversion is lossy for dense math, so PDF stays the default)
  • [ ] Kindle highlights → Zotero notes round-trip (My Clippings.txt parser with fuzzy title matching)
  • [ ] OAuth (instead of static bearer token) via FastMCP auth providers

Prior art & acknowledgments

Ideas paperboy builds on: the tag-driven Zotero→Kindle idea from stakats/zotero-to-kindle (circa 2011, by one of Zotero's original directors); wahiggins3/send-to-kindle-mcp; openags/paper-search-mcp; and 54yyyu/zotero-mcp, the model for our setup wizard — paperboy leaves library management to it.

Thank you to arXiv for use of its open access interoperability. Paper metadata and open-access links come from OpenAlex, Crossref, and Unpaywall, all run as open scholarly infrastructure. Recommendations via the Semantic Scholar Recommendations API (Allen Institute for AI). Library management via the Zotero web API. Built on FastMCP, pyzotero, and httpx.

paperboy was built with Claude Code.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选