MCP Zotero
MCP server by Xevos117 Community
MCP Zotero is an unofficial MCP server for Zotero libraries. It lets an AI assistant search, add papers by DOI, import PDFs and insert citations into Word documents. It suits people who manage references in Zotero.
Install MCP Zotero
Built from the published package, never by AI.
claude mcp add mcp-zotero -e ZOTERO_API_KEY=YOUR_ZOTERO_API_KEY -e ZOTERO_USER_ID=YOUR_ZOTERO_USER_ID -- npx -y @xevos117/mcp-zoteroRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-zotero": {
"env": {
"ZOTERO_API_KEY": "YOUR_ZOTERO_API_KEY",
"ZOTERO_USER_ID": "YOUR_ZOTERO_USER_ID"
},
"args": [
"-y",
"@xevos117/mcp-zotero"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-zotero": {
"env": {
"ZOTERO_API_KEY": "YOUR_ZOTERO_API_KEY",
"ZOTERO_USER_ID": "YOUR_ZOTERO_USER_ID"
},
"args": [
"-y",
"@xevos117/mcp-zotero"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-zotero": {
"env": {
"ZOTERO_API_KEY": "YOUR_ZOTERO_API_KEY",
"ZOTERO_USER_ID": "YOUR_ZOTERO_USER_ID"
},
"args": [
"-y",
"@xevos117/mcp-zotero"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-zotero --env ZOTERO_API_KEY=YOUR_ZOTERO_API_KEY --env ZOTERO_USER_ID=YOUR_ZOTERO_USER_ID -- npx -y @xevos117/mcp-zotero{
"mcpServers": {
"mcp-zotero": {
"env": {
"ZOTERO_API_KEY": "YOUR_ZOTERO_API_KEY",
"ZOTERO_USER_ID": "YOUR_ZOTERO_USER_ID"
},
"args": [
"-y",
"@xevos117/mcp-zotero"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-zotero npx -y @xevos117/mcp-zoteroGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-zotero block.
About
MCP Zotero is an unofficial Model Context Protocol server for Zotero. It gives an AI assistant access to your Zotero library, so it can search, organize, add papers by DOI, import PDFs, read full-text content and inject live citations into Word documents. Zotero API key and user ID are required.
The server runs on Node.js 22 or newer and works with any MCP client. Deletions are blocked by default and can be allowed with UNSAFE_OPERATIONS. It can target personal or group libraries, and per-call overrides let one instance target several libraries. Citation injection into .docx files needs filesystem access, or a Claude skill in Claude.ai Projects and Claude Desktop. It suits people who keep references in Zotero and want an LLM to handle library tasks.
Written from the project's README and checked against it.
Tools it gives your assistant
search_librarySearch by query, or list items sorted by field such as date or title.get_collectionsList all collections with keys, names and parent relationships.get_items_detailsBatch metadata retrieval for multiple items, including structured creators.get_item_fulltextGet full-text content of a PDF attachment via Zotero's fulltext index.add_items_by_doiAdd papers by DOI with automatic metadata resolution and OA PDF attachment.add_itemsAdd items with direct metadata, supporting all 37 Zotero item types.import_pdf_to_zoteroDownload a PDF from a URL, upload it to Zotero storage and index its text.find_and_attach_pdfsBatch open-access PDF lookup and auto-attach via Unpaywall.create_collectionCreate a new collection, optionally nested under a parent collection.inject_citationsInsert live citations into .docx files on disk. Requires filesystem access.
What you need
- Node.js 22 or newer
- Zotero account with an API key that has library read/write and file access
- Zotero numeric user ID
- Unpaywall email (optional, for open-access PDF lookup)
| Setting | Needed | What it is |
|---|---|---|
ZOTERO_Environment variable, secret | Required | Zotero Web API key (zotero.org/settings/keys) with library read/write and file access |
ZOTERO_Environment variable | Required | Your numeric Zotero user ID (shown on zotero.org/settings/keys); the default library is this user's |
ZOTERO_Environment variable | Optional | Default library type: 'user' (personal library) or 'group' Default: user |
ZOTERO_Environment variable | Optional | Numeric group ID; required when ZOTERO_LIBRARY_TYPE is 'group', otherwise defaults to ZOTERO_USER_ID |
UNPAYWALL_Environment variable | Optional | Email sent to the Unpaywall API to find open-access PDFs; if unset, OA PDF lookup is skipped |
UNSAFE_Environment variable | Optional | Deletions allowed: 'none' (default, all blocked), 'items' (delete_items) or 'all' (also delete_collection) Default: none |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Add these papers to my Zotero library using their DOIs.
- Search my Zotero library for papers on transformer models.
- Insert live citations from my Zotero library into this Word document.
Good to know
- Unofficial community project, not affiliated with or endorsed by Zotero.
- Deletion is blocked unless UNSAFE_OPERATIONS is set, and delete_items is permanent.
- Citation injection needs filesystem access or the Claude skill.
- Per-call library overrides can reach any library the API key can access.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Zotero
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
MCP Zotero: common questions
Is MCP Zotero an official Zotero product?
No. The source states it is an unofficial community project and is not affiliated with the Zotero team or the Corporation for Digital Scholarship.
Can MCP Zotero delete items from my library?
Not by default. Deletion is blocked unless UNSAFE_OPERATIONS is set to items or all, and items deleted with delete_items cannot be restored from the desktop client.
What happens to open-access PDF features without an Unpaywall email?
The source says that if UNPAYWALL_EMAIL is not set, OA PDF features are silently skipped.
How do I install MCP Zotero?
In Claude Code run claude mcp add mcp-zotero -e ZOTERO_API_KEY=YOUR_ZOTERO_API_KEY -e ZOTERO_USER_ID=YOUR_ZOTERO_USER_ID -- npx -y @xevos117/mcp-zotero. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Zotero the official server?
MCP Zotero is a community project by Xevos117, not verified by a company domain.
Is MCP Zotero free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is MCP Zotero safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Zotero?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does MCP Zotero work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
