zotero-pdf-mcp
Provides access to a Zotero library via the web API, including searching items, retrieving metadata and attachments, extracting text from PDFs, and rendering PDF pages as images.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@zotero-pdf-mcp Find the Vujanovic 2017 paper, pull the text, then render pages 4 and 5 as images."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
zotero-pdf-mcp
An MCP server that gives Claude access to a Zotero library over the web API, including the ability to look at the PDFs — rendered pages, not just extracted text, so figures, gels, micrographs and layout are visible.
Existing Zotero MCP servers return extracted text only. This one renders pages to PNG and returns them as image content, which is the difference between an assistant that can read a paper's prose and one that can read its figures.
Design constraints
Web API only. Talks to
api.zotero.organd never to the local Zotero client onlocalhost:23119. If your Zotero is set to download attachments on demand, going through the local client would make it fetch and retain files you have deliberately offloaded to Zotero storage. This server cannot cause that.Nothing written to disk. PDF bytes are held in memory, capped at four documents, and discarded when the process exits.
Read-only. Every request is a GET; there are no write operations of any kind. A read-only API key is sufficient.
The credential never leaves Zotero. File downloads redirect to a storage host; the server re-issues that request without the Zotero headers so your API key is not forwarded to a third party.
Attachments stored in Zotero File Storage can be fetched. Linked files cannot —
their bytes only ever existed on the machine that added them. zotero_item_info
reports which is which.
Related MCP server: zotero-mcp
Tools
Tool | Purpose |
| Search the library; returns item keys, authors, years, titles. |
| Full metadata for one item, plus its attachments and whether each is fetchable. |
| Extract text from an item's PDF. Cheap; use this first. |
| Render pages as images. Max 8 per call. This is the one that shows figures. |
Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json inside
the existing mcpServers object:
"zotero-pdf": {
"command": "/opt/homebrew/bin/uvx",
"args": ["--from", "git+https://github.com/USER/zotero-pdf-mcp", "zotero-pdf-mcp"],
"env": {
"ZOTERO_API_KEY": "your_read_only_key",
"ZOTERO_LIBRARY_ID": "your_numeric_userid",
"ZOTERO_LIBRARY_TYPE": "user"
}
}Use the absolute path to uvx (which uvx) rather than the bare command —
GUI-launched processes often do not inherit your shell's PATH, and that is the
most common reason an MCP server silently fails to start.
For a private repo, use git+ssh://git@github.com/USER/zotero-pdf-mcp so the
fetch authenticates with your SSH key.
Environment
Variable | Meaning |
| Read-only key from https://www.zotero.org/settings/keys/new |
| Your numeric userID, printed at the top of the keys page. Not your username. |
|
|
Never commit the key. It belongs in the config's env block and nowhere else.
Usage
Ask for text before pictures — rendering pages is far more expensive than extracting text:
Find the Vujanovic 2017 paper in my library, pull the text, then show me the figures from pages 4 and 5.
Licence
MIT.
Available Tools
4 toolszotero_item_infoB
Full metadata for one item, plus a list of its attachments and whether each one can actually be fetched over the web API.
Inputs: item_key (required). Returns: result
zotero_pdf_pagesA
Render pages of an item's PDF as images so figures, plots, gels and layout are visible - not just extracted text.
item_key: parent item key or attachment key pages: '1-4', '2,5,7', '1-3,8' (1-based). Max 8 pages per call. dpi: 100 for a quick look, 150 default, 200+ for dense figures.
Inputs: item_key (required), dpi, pages.
zotero_pdf_textA
Extract text from an item's PDF. Cheap compared with rendering pages - use this first, then zotero_pdf_pages for the pages whose figures matter.
Inputs: item_key (required), pages. Returns: result
zotero_searchA
Search the Zotero library. Returns matching items with their keys, which the PDF tools take as input.
Inputs: query (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct role: searching the library, fetching metadata, rendering PDF pages, and extracting PDF text. There is no overlap between search, metadata, and the two PDF operations.
All tool names follow a consistent zotero_ prefix with a noun-based suffix, and they are readable. Minor deviation is that the PDF tools use 'pdf' as a middle element rather than a pure verb_noun pattern, but the convention is uniform.
Four tools is a compact set covering the core search-to-PDF workflow. It is slightly small but reasonable for a focused MCP server that only needs to support library search, metadata lookup, and PDF reading.
The server covers the main lifecycle of finding a Zotero item and accessing its PDF, and the descriptions explicitly guide chaining tools. Obvious gaps include no attachment listing beyond item_info, no way to retrieve full-text metadata or navigate collections, and no handling of non-PDF attachments, but these are workable for the stated purpose.
Maintenance
Related MCP Connectors
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Academic literature search, retrieval, and private library management on top of OpenAlex.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Research paper search with real citations and reference formatting for AI assistants
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 fetch the full text of attached PDFs through the Zotero 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, retrieve complete metadata for specific items, and access full-text PDF contents through the Zotero API.-