Scan your whole stack
From OX Research Newsroom
Latest version: v2.1.1
MCP Zotero was last scanned on 23 Nov 2026 at version 2.1.1. Risk score 10 of 100 (low). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.1.1 LATEST | 23 Nov 2026 | 1 rule fired |
| 2.1.0 | 11 Nov 2026 | No rules fired |
| 2.0.4 | 25 Oct 2026 | No rules fired |
| 2.0.3 | 21 Oct 2026 | Not shown |
Findings for v2.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
An automated phrase check found wording that also appears in attempts to override an agent's instructions, such as "ignore previous instructions" or "enable developer mode". The check does not read context, so quoted examples, headings and ordinary settings steps match too. Not reviewed by a person.
LOWThe score describes 2.1.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Note: This is an unofficial community project and is not affiliated with, endorsed by, or supported by the Zotero team or the Corporation for Digital Scholarship. "Zotero" is a registered trademark of the Corporation for Digital Scholarship.
A Model Context Protocol server for Zotero integration. It gives any LLM full access to your Zotero library: search, organize, add papers by DOI, import PDFs, read full-text content, edit items and notes, check a bibliography for retractions and duplicates, and put live Zotero citations into Word and LibreOffice documents.
Originally based on mcp-zotero by Abhishek Kalia. This project has since been extensively rewritten with a new architecture, 20 tools (up from 5), citation injection, PDF management, and Claude skill support.
inject_citations turns placeholders in an existing .docx or .odt into native Zotero citations and a bibliography, which the Zotero plugin of either app can refresh and restyle. Placeholders can be <zcite> tags or Pandoc markers ([@KEY]), with Zotero item keys or Better BibTeX citation keys (details).create_cited_document writes a new .docx or .odt from Markdown with Pandoc-style citations, real heading styles and a bibliography.update_item changes fields and creators with a version check (never overwrites a concurrent edit); create_note attaches a plain-text note to an item.check_retractions flags retracted papers, expressions of concern and corrections (Crossref, with Retraction Watch data); find_duplicates finds items with the same DOI or title, or tells which DOIs are already in the library before importing them.delete_items moves items to the Zotero trash by default; permanent deletion needs permanent: true, and every deletion is off unless UNSAFE_OPERATIONS allows it.The server is designed to be usable by any LLM without external documentation. On connection, it sends workflow instructions via the MCP instructions field, and each tool description includes cross-references and usage guidance. An LLM that has never seen this server before can discover the full workflow — from adding papers to producing a cited Word document — directly from the tool listing.
For advanced use cases (PDF upload policy, citation style guidance, source transparency), a Claude skill is included for Claude.ai Projects. But the skill is optional: the MCP server is fully self-documenting.
| Scenario | MCP server | Skill needed? |
|---|---|---|
| LLM with filesystem access (Claude Code, LM Studio, etc.) | All 20 tools | No |
| LLM without filesystem access (Claude.ai Projects, Claude Desktop) | API tools (search, add, metadata) | Yes, for citation injection |
LLMs with filesystem access can use all tools directly, including inject_citations which reads and writes .docx (Word) and .odt (LibreOffice) files on disk.
LLMs without filesystem access — including Claude Desktop, which connects to MCP but cannot generate files locally — can use the included Claude skill (skills/zotero-skill-mcp-integrations/), which runs citation injection entirely inside a sandbox. MCP tools handle all Zotero API operations; the skill handles document assembly.
.zip from the latest GitHub ReleaseRequires Node.js 22 or newer.
The server is listed in the official MCP Registry as
io.github.Xevos117/mcp-zotero (starting with the first release after 2.0.2), so registry-aware clients can find and install it from
there; the configuration below works with any MCP client.
Get your Zotero credentials:
# Create an API key at https://www.zotero.org/settings/keys
# (enable library read/write + file access)
# Then retrieve your user ID:
curl -H "Zotero-API-Key: YOUR_API_KEY" https://api.zotero.org/keys/current
Set environment variables:
export ZOTERO_API_KEY="your-api-key"
export ZOTERO_USER_ID="user-id-from-curl"
export UNPAYWALL_EMAIL="your@email.edu" # Optional: enables OA PDF lookup via Unpaywall
export UNSAFE_OPERATIONS="none" # Optional: "none" | "items" | "all" (see below)
By default the server targets your personal Zotero library (/users/<ZOTERO_USER_ID>/...).
To target a group library instead, set two additional environment variables:
| Variable | Values | Required? | Default |
|---|---|---|---|
ZOTERO_LIBRARY_TYPE |
user | group |
No | user |
ZOTERO_LIBRARY_ID |
numeric library ID | Yes when type=group; otherwise falls back to ZOTERO_USER_ID |
— |
Example for a group library:
ZOTERO_API_KEY=...
ZOTERO_USER_ID=12345 # optional for groups: used by get_user_id and per-call library_type="user"
ZOTERO_LIBRARY_TYPE=group
ZOTERO_LIBRARY_ID=6178978 # the group ID
The API key in ZOTERO_API_KEY must have access to the target group library — generate or scope keys at https://www.zotero.org/settings/keys.
The server refuses to start if ZOTERO_LIBRARY_TYPE=group is set without ZOTERO_LIBRARY_ID, or if a library ID is not numeric.
Every tool accepts two optional args that override the env defaults for that single call:
library_type — "user" or "group"library_id — numeric library IDResolution order: per-call arg > env var > implicit default (user, ZOTERO_USER_ID). library_id must be numeric. Overriding library_type to group on a server configured for a user library requires library_id; overriding to user on a group server without library_id uses ZOTERO_USER_ID.
Note that per-call overrides let the LLM reach any library the API key can access. Scope the key to the libraries you want exposed; deletions remain gated by UNSAFE_OPERATIONS.
This lets a single MCP instance target multiple libraries (e.g., a staging group and a final-output group) without restarting:
// First call targets the staging group
{
"tool": "add_items",
"args": {
"items": [...],
"library_type": "group",
"library_id": "5597114"
}
}
// Second call targets DART-output (different group)
{
"tool": "add_items",
"args": {
"items": [...],
"library_type": "group",
"library_id": "6178978"
}
}
| Variable | Required | Description |
|---|---|---|
ZOTERO_API_KEY |
Yes | API key for Zotero Web API v3. Create one at zotero.org/settings/keys with library read/write and file access permissions. |
ZOTERO_USER_ID |
Yes | Your Zotero numeric user ID. Retrieve it with curl -H "Zotero-API-Key: KEY" https://api.zotero.org/keys/current. |
UNPAYWALL_EMAIL |
No | Email for Unpaywall API requests (rate-limit policy). Enables OA PDF lookup in add_items_by_doi and find_and_attach_pdfs. If not set, OA PDF features are silently skipped. |
UNSAFE_OPERATIONS |
No | Controls destructive operations (deletion). See Unsafe Operations below. Default: none (all deletions blocked). |
By default, the MCP server does not allow any deletion. This is a safety measure to prevent an LLM from accidentally deleting items or collections from your library.
To enable deletion, set the UNSAFE_OPERATIONS environment variable to one of the following values:
| Value | delete_items |
delete_collection |
Use case |
|---|---|---|---|
none (default) |
Blocked | Blocked | Safe mode — no deletions possible |
items |
Allowed | Blocked | Allow deleting items but protect collection structure |
all |
Allowed | Allowed | Full access — items and collections can be deleted |
Important notes:
UNSAFE_OPERATIONS is not set, empty, or set to an unrecognized value, it defaults to none.ALL, Items, NONE all work).delete_items moves items to the Zotero trash by default, so the user can restore them from the desktop client (Zotero → Trash). Pass permanent: true to delete them for good instead; the same UNSAFE_OPERATIONS setting gates both the trash and the permanent path.delete_collection is always permanent: the Zotero Web API has no trash for collections, so a deleted collection cannot be restored. It removes the collection (folder) only — items inside it are not deleted and remain in your library.all value includes both item and collection deletion because managing collections inherently requires item-level access.Configuration example:
{
"mcpServers": {
"zotero": {
"command": "npx",
"args": ["-y", "@xevos117/mcp-zotero"],
"env": {
"ZOTERO_API_KEY": "YOUR_API_KEY",
"ZOTERO_USER_ID": "YOUR_USER_ID",
"UNSAFE_OPERATIONS": "items"
}
}
}
}
mcp-zotero.mcpb from the latest release
(available from the first release after 2.0.2).manifest.json lists macOS, Windows and Linux, and CI runs it on
Linux), so other MCPB-compatible clients can install it too.The extension bundles the server and all its dependencies, so no npm install is needed. It needs Node.js 22 or newer
(compatibility.runtimes.node in the manifest): according to the MCPB documentation, Claude Desktop runs Node.js
extensions with the runtime that ships with the app. The API key is declared as a sensitive setting (masked
input, stored securely by the client). Deletions stay disabled unless you change Deletions allowed in the
extension settings.
The extension contains only the MCP server: the Claude skills in skills/ (citation injection inside
the sandbox, scientific writing) are installed separately from their .zip files in the same release, as described
in Claude Skill Setup.
Add to your Claude Desktop configuration (or the equivalent file of another MCP client):
{
"mcpServers": {
"zotero": {
"command": "npx",
"args": ["-y", "@xevos117/mcp-zotero"],
"env": {
"ZOTERO_API_KEY": "YOUR_API_KEY",
"ZOTERO_USER_ID": "YOUR_USER_ID",
"UNPAYWALL_EMAIL": "YOUR_EMAIL"
}
}
}
}
claude mcp add zotero -e ZOTERO_API_KEY=YOUR_API_KEY -e ZOTERO_USER_ID=YOUR_USER_ID -- npx -y @xevos117/mcp-zotero
Add -e UNPAYWALL_EMAIL=... or -e UNSAFE_OPERATIONS=items as needed, and --scope user to make the server
available in every project (the default local scope covers only the current project). From a clone of this repository,
npx tsx src/server.ts runs the server from source instead (see Development).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.