Zoteus
v1.25.1Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
zotero_whoami Zotero identity & access
Resolve the current Zotero identity (userID, username, display name) and per-library access scopes from the configured API key, report the running Zoteus `version`, and report which library backends are available (cloud Web API and/or the desktop local API). Call this first to discover the userID — never ask the user to type a numeric ID. It also reports which library every call defaults to and WHY (`defaultLibrary.source`: pinned by whoever runs the server, derived from the key, or the desktop app's own library), whether this caller has a context of their own or shares the one the server op…
zotero_search_items Search Zotero items
Search or list items in a Zotero library or collection. Quick search via `q` (`qmode`: titleCreatorYear=default, matches title/creator/year only; everything=also searches notes & attachment full text). For presence checks ("is X in my library?"): a default-mode `q` that matches nothing auto-retries once in `everything` mode, so terms appearing only inside PDF text don't false-negative — pin `qmode` explicitly to disable. An empty `everything` result is reported as strong-but-not-conclusive, since un-indexed/scanned/un-synced PDFs aren't full-text searchable. Also supports boolean `itemType`…
| Parameter | Type | Description |
|---|---|---|
collectionKey | string | Restrict to a collection by key. A key this library does not have is refused, never answered with the whole library. |
direction | string | Sort direction; Zotero's own default for the chosen `sort` field when unset. |
includeTrashed | boolean | Also return items in the trash (default false). |
itemType | string | Boolean itemType filter, e.g. "journalArticle || book". |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Max items (default 25, max 100). |
q | string | Quick/full-text search string. |
qmode | string | How `q` is matched: "titleCreatorYear" (default) searches titles, creators and years only; "everything" also searches notes and attachment full text. Unset lets an empty default-mode result retry once… |
response_format | string | Detail level of returned items. |
since | integer | Return items modified after this library version. |
sort | string | Zotero sort field, e.g. "dateModified" (the default), "dateAdded", "title", "creator", "date", "itemType". |
start | integer | Zero-based offset into the result set, for paging (default 0). Page with start += limit while `totalResults` is larger. |
tag | string | Boolean tag filter, e.g. "to-read && 2024". |
top | boolean | Only top-level items (exclude child notes/attachments). |
zotero_get_item Get a Zotero item
Fetch one item by its key, returning the full item record (itemType, all bibliographic fields, creators, tags, collections, relations, version). Optionally set `include_children` to also return the item's child notes and attachments. Use `include` to additionally request rendered output: "bib" (formatted bibliography entry), "citation" (inline citation), or "csljson" (CSL-JSON for downstream formatting); combine with `style` (a style name such as "apa" or "chicago author-date", a CSL style id such as chicago-notes-bibliography, or the URL of a CSL file; unset renders Zotero's default, Chicago…
| Parameter | Type | Description |
|---|---|---|
item_key * | string | The 8-character Zotero item key. |
include | string | Extra rendered content: "bib", "citation", or "csljson". |
include_children | boolean | Also fetch child notes/attachments. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
locale | string | Locale for bib/citation, e.g. en-US. |
style | string | Style name, CSL style id or CSL URL for bib/citation (unset: Zotero's default Chicago style). |
zotero_schema Zotero data model (types & fields)
Return the Zotero data model so you never hardcode item shapes. With no arguments, returns the schema version and the list of all item type names. With `item_type`, returns the valid fields and creator types for that type (the "primary" creator type is listed first). Use this to validate an item before creating or updating it: notes, attachments, and annotations are item types too but bypass the normal field/creator model.
| Parameter | Type | Description |
|---|---|---|
item_type | string | If set, return the fields & creator types for this item type. |
zotero_create_items Create or update Zotero items
Create new items or update existing ones in a single batch (the server auto-chunks into groups of 50). `items` is an ARRAY of item-data objects; each object has `itemType` as a **plain string** (e.g. "journalArticle", "book", "preprint", "report") plus its valid fields, `creators` (each `{creatorType, firstName, lastName}` or `{creatorType, name}`), `tags` (`[{tag}]`), and `collections` (array of 8-char collection keys). To UPDATE an existing item, also include its `key` and current `version`; to CREATE, omit both. Every item is validated against the Zotero schema before anything is sent — i…
| Parameter | Type | Description |
|---|---|---|
items * | array | Array of Zotero item-data objects (itemType + fields; include key+version to update). Example: {"items":[{"itemType":"journalArticle","title":"The Role of Metadata in Machine Learning","creators":[{"c… |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
zotero_update_item Update a Zotero item
Partially update one item (HTTP PATCH — only the fields you supply change; omitted fields are preserved). Provide `item_key` and a `patch` object of the fields to change (e.g. {"title":"New","extra":"note"} or {"tags":[{"tag":"reviewed"}]}). All field values are plain JSON strings/numbers/booleans/arrays — never wrapped in nested objects (e.g. `"title": "New"`, NOT `"title": {"title": "New"}`). Optimistic concurrency is handled for you: if you pass the item's `version` it is used; otherwise the current version is fetched first. If the item changed on the server in the meantime (412), the u…
| Parameter | Type | Description |
|---|---|---|
item_key * | string | The 8-character item key. |
patch * | object | Object of fields to change (PATCH semantics), e.g. {"title": "New title", "date": "2024-02-01", "tags": [{"tag": "reviewed"}], "collections": ["ABCD1234"]}. Structured fields (creators, tags, collecti… |
dry_run | boolean | Preview the field-level before→after diff without writing. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
version | integer | Known current version; fetched automatically if omitted. |
zotero_trash_items Trash or restore Zotero items
Move items to the trash (the safe, REVERSIBLE default) or restore them. This sets the `deleted` flag (1=trash, 0=restore); it is NOT a permanent delete, so trashed items can be recovered here or in the Zotero app. Use this instead of zotero_delete_items unless you truly need irreversible removal. Provide `item_keys` and optional `action` (default "trash"). Writes go to the running Zotero desktop app (its local-API writes, Zotero 10+) for your personal library and for any group library the app holds, otherwise to the cloud Web API. When the server sets a bulk-write threshold (ZOTEUS_CONFIRM_BUL…
| Parameter | Type | Description |
|---|---|---|
item_keys * | array | Item keys to trash or restore. |
action | string | Default "trash". |
confirm | boolean | Required to trash more items in one call than the server's bulk-write threshold. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
zotero_delete_items Permanently delete Zotero items
PERMANENTLY and IRREVERSIBLY delete items by key (this purges them; it is NOT the trash). Prefer zotero_trash_items, which is reversible. This tool is disabled unless the server is started with ZOTEUS_ALLOW_DELETE=true, and additionally requires `confirm: true` on every call. For the personal library, and for a group library the running Zotero desktop app holds, it goes through that app when it supports local-API writes (Zotero 10+), otherwise the cloud Web API. The current library version is used as a precondition; the operation auto-chunks to 50 keys per request.
| Parameter | Type | Description |
|---|---|---|
item_keys * | array | Item keys to permanently delete. |
confirm | boolean | Must be true to proceed with permanent deletion. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
zotero_manage_collections Manage Zotero collections
List, create, rename, reparent, or delete collections, and move items into or out of a collection. Set `action` to one of: "list" (collections with key/name/parent, sorted by name; `q` filters by name over the whole library, `start`/`limit` page, `totalResults` counts them all), "create" (needs `name`, optional `parent_collection` key; omit it for top-level), "rename" (needs `collection_key` + `name`), "reparent" (needs `collection_key`; `parent_collection` key, or omit to move to top level), "delete" (needs `collection_key`), "add_items" / "remove_items" (need `collection_key` + `item_keys`;…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do. "list" reads every collection (then `q`, `start`, `limit` apply); "create" needs `name`; "rename" needs `collection_key` + `name`; "reparent" needs `collection_key`; "delete" needs `collec… |
collection_key | string | Target collection key (all actions except list/create). |
confirm | boolean | Required to remove more items in one call than the server's bulk-write threshold. |
item_keys | array | Item keys (add_items/remove_items). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Collections to return (default 200, at most 1000). |
name | string | Collection name (create/rename). |
parent_collection | string | Parent collection key; omit for top-level. |
q | string | Only collections whose name contains this text (case-insensitive), searched over the whole library, not one page. Use it to find a collection by name. |
start | integer | Zero-based offset into the listing, for paging (default 0). Page with start += limit while `totalResults` is larger. |
zotero_manage_tags Manage Zotero tags
List tags, or add/remove tags on items. Set `action` to "list" (returns library tags; supports `q` substring filter), "add" (add `tags` to each of `item_keys`), or "remove" (remove `tags` from each of `item_keys`). Tags are stored on the parent item's tag array, so add/remove edits the items: in your personal library through the running Zotero desktop app (Zotero 10+) when it is up, otherwise through the cloud Web API; group libraries always write to the cloud. Tag names are case-sensitive. When the server sets a bulk-write threshold (ZOTEUS_CONFIRM_BULK_WRITES, off by default), editing more i…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do. "list" returns the library's tags (filter with `q`); "add" and "remove" edit `tags` on each of `item_keys`. |
confirm | boolean | Required to edit more items in one call than the server's bulk-write threshold. |
item_keys | array | Items to modify (add/remove). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Max tags to return for action:"list" (default 100, max 100). |
q | string | Substring filter for list. |
tags | array | Tag names to add or remove. |
zotero_saved_searches Manage Zotero saved searches
List, create, or delete saved-search DEFINITIONS. NOTE: the Zotero cloud Web API stores saved searches but does NOT execute them — to get the items a saved search matches, run an equivalent zotero_search_items query (or use the desktop local API when available). Set `action` to "list" (all saved searches with their conditions), "create" (needs `name` and `conditions`, each `{condition, operator, value}`), or "delete" (needs `search_key`). Writes to your personal library go to the running Zotero desktop app (Zotero 10+) and otherwise to the cloud Web API; group libraries always write to the c…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do. "list" returns every saved-search definition; "create" needs `name` + `conditions`; "delete" needs `search_key`. |
conditions | array | Search conditions (create). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
name | string | Saved-search name (create). |
search_key | string | Saved-search key (delete). |
zotero_groups List Zotero groups
List the group libraries this server can reach, with each group's id and name. Use a returned group id with the `library_id`/`library_type:"group"` parameters of other tools to operate on that group library; `library_type` alone does not address a group. With a cloud API key each group the key can access is listed with its type, item count, description and edit permissions, plus `canWrite`: whether this key may write to that group, decided from the key's own access map without sending a write, and `writeBlockedReason` naming the remedy when it may not. Without a key the list falls back to the…
zotero_export Export Zotero items
Export items in a bibliographic format and return the raw text. Choose `format` (bibtex, biblatex, better-biblatex, ris, csljson, csv, mods, tei, coins, rdf_*, refer, wikipedia, bookmarks). Stock formats are rendered by Zotero itself: by the desktop app when it serves the selected library (no cloud key needed), by the Web API otherwise. `biblatex` is Zotero's STOCK translator; BBT-specific options (citation-key generation, sentence-case, biblatexExtendedNameFormat, unicode→LaTeX) are NOT available there. `better-biblatex` uses the local desktop Better BibTeX plugin (your configured BBT expor…
| Parameter | Type | Description |
|---|---|---|
format * | string | Export format to render, e.g. "bibtex", "biblatex", "better-biblatex", "ris", "csljson", "csv". "better-biblatex" needs the desktop Better BibTeX plugin and degrades to "biblatex" without it. |
collection_key | string | Restrict to a collection by key. A key this library does not have is refused, never answered with the whole library. |
item_keys | array | Restrict to these 8-character item keys. Keys that render no entry are an error rather than a blank body. |
item_type | string | Boolean itemType filter, e.g. "journalArticle || book" or "-attachment". |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Max items to export (default 50, max 100). |
q | string | Quick-search string to narrow the export (title/creator/year). |
zotero_fulltext Attachment full-text
Not a search: to find which items contain a term, use `zotero_search_items` with qmode=everything. This reads, sets, or tracks one attachment's already-extracted full text by key. `action`: "get" returns the indexed text content plus indexing stats for an attachment item (only attachment items have full text; returns found:false if none); "set" stores extracted text for an attachment (provide `content` and the indexing counts); "since" returns the map of attachment keys whose full text changed after a given library `version` (useful for incremental indexing). Only attachment items support full…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do. "get" reads one attachment's indexed text (needs `item_key`); "set" stores extracted text for it (needs `item_key` + `content`); "since" lists attachment keys whose text changed after `sin… |
content | string | Extracted text (set). |
indexed_chars | integer | Characters of the document that were indexed (set); defaults to none reported. |
indexed_pages | integer | Pages that were indexed (set); PDFs only. |
item_key | string | Attachment item key (get/set). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
since | integer | Library version for "since" (default 0). |
total_chars | integer | Characters the document holds in total (set). |
total_pages | integer | Pages the document holds in total (set); PDFs only. |
zotero_get_fulltext Get attachment full text / passages / outline (read-only)
Retrieve an item's PDF or EPUB text for grounding. Pass a parent `item_key` (its best PDF/EPUB attachment is resolved automatically) or an attachment key. With `query`, returns the top relevant passages with locators (char offsets, nearest section, and a page); with `page_range` (e.g. "3-7"), returns just those pages, re-extracted from the PDF so the span is exact; with `outline:true`, returns the PDF's table of contents with page numbers (the cheapest way to decide which pages to read next); with none of them, returns a truncated head. Text comes from Zotero's full-text index when available;…
| Parameter | Type | Description |
|---|---|---|
item_key * | string | Parent item key or attachment key. |
fallback | boolean | When Zotero has no indexed full text for the attachment, read the file itself and extract it directly (default true). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
max_chars | integer | Best-effort cap on total returned text (default 12000); a single passage is never split, so one passage may slightly exceed it. |
max_passages | integer | Max passages (default 5). |
ocr | boolean | For a scanned PDF with no text layer, or one whose text layer covers only some pages: render the pages that have no text layer and read them by OCR (default false); pages that have a text layer are ne… |
outline | boolean | Return the PDF's table of contents (heading, page, nesting level) instead of text. |
page_range | string | Page span like "3-7" (1-based, inclusive). PDFs only. |
precise_pages | boolean | Re-extract the PDF for exact page numbers (already the default with `page_range`). |
query | string | Return top passages relevant to this query. |
zotero_pdf_images Look at PDF pages and figures as images (read-only)
See a PDF the way a reader does. Text extraction (zotero_get_fulltext) loses figures, turns tables into run-together numbers, drops most equations, and returns nothing for a scanned page with no text layer; this tool returns pictures instead. Pass a parent `item_key` (its PDF attachment is resolved automatically, exactly as zotero_get_fulltext does) or an attachment key, a `mode`, and `pages` ("3" or "3-7", 1-based; default "1"). `mode:"pages"` renders whole pages and returns them as image content blocks you can look at, followed by a JSON block with each page's pixel size and byte count: the…
| Parameter | Type | Description |
|---|---|---|
item_key * | string | Parent item key or attachment key. |
mode * | string | "pages" renders whole pages to images; "figures" extracts the raster images embedded in them. |
dpi | integer | Render resolution for mode:"pages" (36 to 300). Default fits the long edge to about 1568 px (roughly 140 dpi on a letter page). |
format | string | Image encoding. Pages default to jpeg; figures default to png up to 2 megapixels and jpeg above. |
inline | boolean | Return the images themselves as image content blocks (default true). With false, only their metadata. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
max_images | integer | Figures returned per call in mode:"figures" (default 16, at most 40). |
max_pages | integer | Pages processed per call (default 4, at most 8). |
min_size | integer | Skip embedded images narrower or shorter than this many pixels in mode:"figures" (default 32). |
pages | string | Page span like "3" or "3-7" (1-based, inclusive). Default "1". Longer than max_pages is cut, with a notice. |
save | boolean | Retired, and has no effect: this tool writes no files (it is read-only). Still accepted so a call that passes it is not refused. |
zotero_sync Incremental sync delta
Return what changed in a library since a given version, for efficient incremental sync. Provide `since` (a library version; 0 = everything). Returns, per object type (items/collections/searches/tags), the map of keys→version that changed after `since`, plus the deletion log (keys removed since `since`). This is the version-based delta the Zotero sync algorithm uses: fetch the changed keys, then pull only those with zotero_get_item/zotero_search_items. Follows the library route: a running Zotero desktop app serves the delta for any library it holds, with no cloud API key, and otherwise the cl…
| Parameter | Type | Description |
|---|---|---|
include_deleted | boolean | Include the deletion log (default true). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
since | integer | Library version to diff from (default 0). |
types | array | Which object types to check (default all). |
zotero_attachment Zotero attachments (files)
Upload, download, or inspect attachment files. `action`: "upload" stores a file as a Zotero attachment using the full File Storage protocol (provide `url` to have Zoteus fetch it, or `file_path` for a file on the machine running Zoteus; optional `parent_item` to attach it under an item, `title`, `content_type`) and returns the new attachment key; "download" fetches an attachment's file to a local path (provide `item_key`; optional `save_path`, default under the Zoteus data dir) and returns the path and byte count; "info" returns an attachment item's metadata. File bytes are written to / read f…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do. "upload" stores a file as an attachment (needs `file_path` or `url`); "download" writes an attachment's file to disk (needs `item_key`); "info" returns the attachment item's metadata. |
content_type | string | MIME type of the uploaded file, e.g. "application/pdf"; inferred from the filename when omitted. |
file_path | string | File to upload, on the machine running Zoteus. |
item_key | string | Attachment item key (download/info). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
overwrite | boolean | Allow `save_path` to replace a file that already exists (default false). |
parent_item | string | Parent item key to attach under (upload). |
save_path | string | Where to write the downloaded file. |
title | string | Attachment title (upload), e.g. "Full Text PDF"; the filename is used when omitted. |
url | string | URL to download and upload instead of `file_path`; works on remote/hosted servers. |
zotero_annotate Annotate a PDF (highlights, notes)
Add or delete Zotero PDF annotations (highlights, underlines, notes), the same objects you create in the Zotero PDF reader. `action:"add"` needs `parent` (a regular item key OR a PDF attachment key) and `annotations`: each with `type` (highlight|note|underline, default highlight), `text` (the exact passage to highlight), optional `comment`, `color`, `page` (0-based page index). **You do not need page coordinates**: give the passage in `text` and it is located in the PDF and anchored to the exact lines it occupies, so quoting a passage is enough to highlight it. Pass `page` to disambiguate a pa…
| Parameter | Type | Description |
|---|---|---|
action | string | Default "add". |
annotation_keys | array | Annotation keys to trash (action:"delete"). |
annotations | array | Annotations to add. Field names are snake_case (`page_label`, `sort_index`, `char_offset`, `page_height`); a key this tool does not know is refused, never ignored. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
parent | string | Item key or PDF attachment key to annotate. |
zotero_attach_file Attach a file (PDF, snapshot) to an item
Add a stored file attachment (e.g. a PDF full text) under an existing item. Give `parent` (the item key) and one of `url` (Zoteus downloads it, then stores it), `path` (a file on the machine running Zoteus), or `find_oa: true` (Zoteus looks the parent item's DOI up in OpenAlex and attaches the open-access PDF, if there is one). `find_oa` finds only copies OpenAlex already knows about, which is arXiv, PubMed Central, DOAJ journals and institutional repositories: it is not a way past a paywall, and it says so plainly when there is no free copy. The copy it finds is often the author's accepted or…
| Parameter | Type | Description |
|---|---|---|
parent * | string | Key of the parent item to attach the file to. |
content_type | string | MIME type; inferred from the extension if omitted (pdf -> application/pdf). |
filename | string | File name to store; inferred from path/url if omitted. |
find_oa | boolean | Find the open-access PDF for the parent item by its DOI (OpenAlex) and attach it. Use instead of `url`/`path`, not alongside them. Refuses, saying why, when the item has no DOI, when OpenAlex reports… |
library_id | integer | Group library to attach the file in (from zotero_groups). Goes to the desktop app when it holds that group (Zotero 10+), otherwise to the cloud. |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
path | string | Filesystem path to the file, on the machine running Zoteus. |
title | string | Attachment title, e.g. "Full Text PDF". |
url | string | URL to download the file from; works on remote/hosted servers, where it must be an https link to a public host (no private or loopback addresses, 64 MB at most). |
zotero_import Import items by identifier, URL, bibliography file or PDF
Resolve bibliographic metadata to Zotero item-data and optionally save it to your library. `action: "by_identifier"` resolves a DOI, ISBN, PMID, arXiv id, or ADS bibcode (set `identifier`). `action: "by_url"` scrapes a web page (set `url`) and may return multiple choices to pick from. `action: "by_file"` imports a BibTeX, RIS or CSL-JSON bibliography: set `text` with the contents or `path` with a local file. Those three formats are parsed by Zoteus itself, so they need no translation-server, no Docker and no network; a reachable translation-server is used first when there is one, because it co…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to resolve: "by_identifier" takes `identifier` (DOI, ISBN, PMID, arXiv id, ADS bibcode); "by_url" scrapes `url` and needs a translation-server; "by_file" parses a BibTeX/RIS/CSL-JSON bibliography… |
allow_duplicate | boolean | Save even though the duplicate check found a match (the match is still reported), or could not run at all. A scan that ran but stopped at its 5000-item cap does not refuse the save on its own: it save… |
attach_title | string | Title for the attached file, e.g. "Full Text PDF". |
attach_url | string | File URL (e.g. an arXiv PDF) to download and attach as a stored attachment to the (single) imported item. Works on every save path: the desktop app when one is reachable, otherwise the cloud Web API. |
attachment_key | string | action:"by_pdf": the key of a PDF already in the library (an attachment key, or a parent item whose best PDF attachment is used). This is the only by_pdf route that works on a hosted server, since it… |
check_duplicates | boolean | Scan the library first and report items that already hold this work, matched by normalised DOI, then ISBN, then normalised title plus year (a title match with no year on one side needs at least four t… |
collection_key | string | Collection to add saved items to: an 8-char collection key or a Zotero treeViewID like "C20". |
confirm | boolean | Required to save more items in one call than ZOTEUS_CONFIRM_BULK_WRITES allows; off by default, so usually unnecessary. |
format | string | action:"by_file": what the payload is. Default "auto", which recognises BibTeX by its "@type{" entries, RIS by its "XX - " tag lines, and CSL-JSON by being JSON. Set it explicitly only when the guess… |
identifier | string | DOI (10.…), arXiv id (YYMM.NNNNN), ISBN-10 or ISBN-13 (hyphens and an "ISBN" prefix are fine), PMID, or ADS bibcode (e.g. 2019ApJ...882L..24A). ISBN, PMID and bibcode need a translation-server. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
path | string | A file on the machine running Zoteus: the bibliography for action:"by_file", the PDF for action:"by_pdf". Refused on a shared/hosted server, where a path would name the operator's disk rather than you… |
save_to_library | boolean | Persist the resolved items: into the running Zotero desktop app when available, otherwise the cloud Web API (needs a cloud key). |
scan_pages | integer | action:"by_pdf": how many leading pages to search for an identifier. Default 2. More pages find more, and also find more DOIs that belong to the works this paper CITES rather than to the paper itself. |
text | string | action:"by_file": the bibliography itself, as text (the contents of a .bib, .ris or CSL-JSON file). Use this instead of `path` when Zoteus runs somewhere the file is not, which includes every hosted d… |
url | string | Web page URL to scrape (needs a translation-server). |
zotero_styles Resolve CSL citation styles
Resolve a human citation-style name to a valid CSL style id and confirm it is available, or list common style aliases. `action: "resolve"` maps names like "APA 7th", "IEEE", "Vancouver", "Chicago", "MLA", "Nature" to the correct CSL id (e.g. apa, ieee, modern-language-association) and verifies the style can be fetched; pass the returned `styleId` as the `style` argument to zotero_format_bibliography or zotero_bibliography. `action: "list"` returns the built-in common aliases (any id from the CSL styles repository also works). Dependent styles are resolved to their independent parent automatica…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do: "resolve" maps `name` to a CSL style id and checks it can be fetched; "list" returns the built-in common aliases. |
name | string | Style name to resolve (e.g. "APA 7th"). |
zotero_format_bibliography Format a bibliography (citeproc / any CSL style)
Render a formatted bibliography in any CSL style using citeproc-js — no Zotero library write required. Provide either `items` (an array of CSL-JSON objects, e.g. from zotero_import or external metadata) or `item_keys` (library items, which are exported to CSL-JSON first). Choose `style` (a name like "APA 7th" or a CSL id; default "apa"), `locale` (default "en-US"), and `format` (html/text/rtf; default html). The formatted bibliography text is returned. Use this for arbitrary items or styles; for items already in the library you can also use zotero_bibliography (server-rendered).
| Parameter | Type | Description |
|---|---|---|
format | string | Output format (default html). |
item_keys | array | Library item keys (exported to CSL-JSON). |
items | array | CSL-JSON items to format. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
locale | string | Locale (default "en-US"). |
style | string | Style name or CSL id (default "apa"). |
zotero_bibliography Server-rendered bibliography (library items)
Produce a formatted bibliography for items already in a Zotero library, rendered server-side by Zotero in a CSL style (by the desktop app for a library it serves, so no cloud key is needed there; otherwise by the Web API). Provide `item_keys` and optionally `style` (a name such as "apa" or "chicago author-date", or a CSL id; unset renders Zotero's default, chicago-shortened-notes-bibliography), `locale`, and `linkwrap`. Returns XHTML. Note: this endpoint is item-only and capped at 150 items. For arbitrary CSL-JSON or items not in the library, use zotero_format_bibliography instead.
| Parameter | Type | Description |
|---|---|---|
item_keys * | array | Library item keys (max 150). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
linkwrap | boolean | Wrap URLs/DOIs in links. |
locale | string | Locale (e.g. en-US). |
style | string | Style name or CSL id. |
zotero_index Build the semantic search index
Manage the local hybrid-search index used by zotero_semantic_search. Every job runs in the background on the server, so this tool returns immediately and never blocks on large libraries. THREE write actions, and picking the right one matters: `action: "update"` is the cheap one and should be the default for a library that is already indexed; `action: "build"` and `action: "refresh"` both rebuild the WHOLE index, which on a large library means many minutes and, with an API embedding provider, real spend (they differ in one thing: build resumes an interrupted build, refresh always starts over).…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do. "update" is the cheap delta and the right default for an indexed library; "build" rebuilds (resuming an interrupted build) and "refresh" always starts over; "status" polls progress; "stop"… |
fulltext | boolean | Also index the full text Zotero extracted from each item's attachments, so searches match the body of a PDF. Resource-intensive (slower build, much larger index); defaults to ZOTEUS_INDEX_FULLTEXT (of… |
fulltext_max_chars | integer | Cap on indexed full-text characters per item; 0 means no cap (default 40000). Only used with fulltext. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Max items to index. Lowers the configured cap for this build only; it cannot raise it. The cap defaults to 5000 and is set by ZOTEUS_INDEX_MAX_ITEMS. |
own_words | boolean | Also index the reader's OWN words — child notes and PDF annotations (highlight text and comments) — as passages carrying the parent item's key. On by default (ZOTEUS_INDEX_OWN_WORDS); the whole co… |
zotero_semantic_search Semantic / hybrid library search
Search the library by meaning, not just keywords. Combines BM25 keyword scoring with vector similarity (when an embedding provider is configured) via reciprocal-rank fusion, and returns the best-matching items with a snippet and score. By default it searches item metadata and abstracts; if the index was built with `fulltext` on (zotero_index fulltext:true, or ZOTEUS_INDEX_FULLTEXT=true) it also searches the body text of attachments, and a hit whose snippet came from a PDF body is marked source:"fulltext". It ALSO searches the words the reader wrote, child notes and PDF annotations (highlight t…
| Parameter | Type | Description |
|---|---|---|
q * | string | Natural-language query. |
auto_build | boolean | Retired, and has no effect: this tool never builds an index (zotero_index action:"build" does). Still accepted so a call that passes it is not refused. |
libraries | Search SEVERAL libraries at once, instead of the one index a plain call answers from. "all" means every library that has an index in this data directory (zotero_index action:"libraries" lists them); a… | |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Max results (default 10). |
mode | string | How to rank: "auto" (default) fuses keyword and vector scores, "keyword" is BM25 only, "semantic" is vector only and errors when no embedder or no vectors are available. |
zotero_scholar Scholarly context (references, citations, related)
Explore the EXTERNAL scholarly graph around a paper (OpenAlex, Crossref fallback). This does NOT search, list, or read your Zotero library: it queries the open web, and results are works from the scholarly web, not your items. To search or inspect YOUR library use zotero_search_items, zotero_semantic_search, zotero_get_item, or zotero_list_tags instead. Provide a `doi` and an `action`: "lookup" (metadata + citation count, plus an `oa` block naming the open-access PDF OpenAlex knows of, when there is one), "references" (works this paper cites), "citations" (works that cite this paper, most-cite…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to fetch for `doi` from the external scholarly graph: "lookup" (metadata and citation count), "references" (works it cites), "citations" (works citing it, most-cited first), "related" (similar wo… |
doi | string | The DOI of the paper (with or without the https://doi.org/ prefix). Required for every action except action:"notices" with library_scan:true, which asks about the DOIs your library already holds inste… |
include_in_library | boolean | Also scan the library and flag results already saved, with the item key for each (default false; scanning is expensive). |
library_scan | boolean | action:"notices" only (default false): check the DOIs your library already holds against both sources and return only those with a record. This is an identifier check against the scholarly web, not a… |
limit | integer | Max results (default 20). The answer says how many there were in total. |
search_tools Discover Zotero tools
Discover the available Zotero tools by keyword — useful for progressive disclosure when you do not want to load every tool definition up front (the code-execution-with-MCP pattern). Pass an optional `query` (matched against tool names, titles, and descriptions) and `detail` ("names" or "descriptions", default "descriptions"). Returns the matching `zotero_*` tools so you can pick the right one for a task. With no query, returns the full catalog.
| Parameter | Type | Description |
|---|---|---|
detail | string | How much to return (default "descriptions"). |
query | string | Keyword to match against tool names/titles/descriptions. |
zotero_list_tags List Zotero tags (read-only)
List tags in a Zotero library with their usage count and whether each was auto-applied by Zotero. Optional `q` substring filter and `limit`. Read-only: available even when the connector runs in read-only mode (unlike zotero_manage_tags, which also writes). For taxonomy hygiene use zotero_tag_audit. Served by the running Zotero desktop app for any library it holds, so it needs no cloud API key.
| Parameter | Type | Description |
|---|---|---|
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Max tags (default 100). |
q | string | Substring filter. |
zotero_list_collections List Zotero collections (read-only)
List collections in a Zotero library (key, name, parent collection key, item count), sorted by name. Read-only: available even in read-only mode (unlike zotero_manage_collections, which also writes). Every collection in the library is read, then `q` filters by name and `start`/`limit` page the result; `totalResults` says how many there are, so a large library is never mistaken for its first page. Use the keys to scope zotero_search_items (collectionKey) or zotero_tag_audit (scope.collection_keys).
| Parameter | Type | Description |
|---|---|---|
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Collections to return (default 200, at most 1000). |
q | string | Only collections whose name contains this text (case-insensitive), searched over the whole library, not one page. Use it to find a collection by name. |
start | integer | Zero-based offset into the listing, for paging (default 0). Page with start += limit while `totalResults` is larger. |
top | boolean | Only top-level collections. |
zotero_tag_audit Audit tags against a controlled vocabulary
Audit a library against a controlled tag vocabulary with priority tiers. Provide the vocabulary inline as `vocabulary` (or a JSON file via `vocabulary_path`): { tags:[{name,tier?}], tiers?:[{name,required?}] }. Reports (1) off-taxonomy tags (library tags not in the vocabulary; Zotero auto-applied tags are bucketed separately unless include_auto), (2) items missing a tag from each required tier, and (3) optional per-collection coverage when `scope.collection_keys` is given. A key that none of these objects knows is refused and named, never dropped: a dropped `scope`, `tier` or `required` would…
| Parameter | Type | Description |
|---|---|---|
include_auto | boolean | Treat Zotero auto-applied tags as off-taxonomy too. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Max items listed per report (default 50). |
scope | object | Per-collection coverage: `{ collection_keys: [...] }`. A key this tool does not know is refused, never ignored. |
vocabulary | object | The controlled vocabulary, inline: { tags: [{name, tier?}], tiers?: [{name, required?}] }. Use `vocabulary_path` instead to read it from a JSON file; passing both is refused. |
vocabulary_path | string | Path to a JSON file with the vocabulary. |
zotero_merge_items Merge duplicate items
Merge one or more duplicate items into a master item: fields the master is MISSING are filled from the duplicates, their tags, collections and relations are unioned onto it, their child notes and attachments are reparented to it, and the emptied duplicates are moved to the trash (recoverable). A field the master already has is never overwritten, and nothing is ever deleted outright. PREVIEWS BY DEFAULT: with `dry_run` unset or true nothing is written and the answer is the exact plan, field by field, so the caller can see what would change before it changes. Pass `dry_run:false` to execute. The…
| Parameter | Type | Description |
|---|---|---|
duplicate_keys * | array | 8-character keys of the duplicates to fold into the master and then trash. |
master_key * | string | 8-character key of the item to keep. It keeps its key, so existing citations to it stay valid. |
confirm | boolean | Required when merging more items at once than this server's bulk-write threshold allows. |
dry_run | boolean | Preview the plan without writing anything. DEFAULT TRUE: pass false to actually merge. |
expect_versions | object | The `versions` block of the preview being approved. With it, dry_run:false writes only if every record named is still at that version; otherwise NOTHING is written and the answer is the plan as it now… |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
zotero_evidence_table Render an evidence table
Render rows of retrieved evidence as a Markdown or CSV table, deterministically, from passages you already retrieved with zotero_get_fulltext and zotero_semantic_search. This tool does NOT search and does NOT read the library: it formats what you pass it and echoes each row's quotation, locator and coverage back unchanged. It counts the coverage summary from the rows rather than taking your word for it, and it warns, naming the row, when a row contradicts its own evidence (a page locator with no quotation, coverage claiming a retrieved passage with no quotation, a quotation on a source marked…
| Parameter | Type | Description |
|---|---|---|
question * | string | The research question this table answers; it becomes the table caption. |
rows * | array | One row per study. Order is preserved. |
format | string | Rendering to produce (default "markdown"). |
overwrite | boolean | Allow `save_path` to replace a file that already exists (default false). |
save_path | string | Write the rendered table to this file as well as returning it. Confined to this caller's own directory under the server data directory on a shared deployment. |
zotero_word_document Write a Word document with live Zotero citations
Write a .docx whose citations are LIVE Zotero fields, not plain text: Zotero's Word plugin is meant to refresh, restyle and add to them (never run here, so check your first document). Give `body` as paragraphs containing `[[cite:ITEMKEY]]` or `[[cite:ITEMKEY,p. 12]]` placeholders; `[[cite:KEY1;KEY2]]` puts several works in one field, which is how "(Wu, 2026; Devos, 2026)" is written. Each placeholder becomes a Word field carrying the item's CSL data, with the formatted citation as its visible text. A bibliography field is appended by default. For plain formatted references with no live fields…
| Parameter | Type | Description |
|---|---|---|
body * | array | Paragraphs of the document, in order. Each may contain [[cite:ITEMKEY]] or [[cite:ITEMKEY,locator]] placeholders. |
bibliography | boolean | Append a live Zotero bibliography field after the body (default true). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
locale | string | CSL locale for the rendered citations, e.g. "en-US" (default "en-US"). |
overwrite | boolean | Allow `save_path` to replace a file that already exists (default false). A .docx at a path you chose is usually a document you have been editing. |
save_path | string | Where to write the .docx. Defaults to a file under the server data directory; confined to it on a shared deployment. |
style | string | Citation style id or name, e.g. "apa" or "Chicago Manual of Style 17th edition (author-date)" (default APA). Resolved with zotero_styles. |
title | string | Document title, written as a heading and into the file metadata. |
zotero_create_note Create a Zotero note from Markdown
Create a note in Zotero from Markdown: a child note under an item (`parent_item`), or a standalone note (optionally filed in `collections`). Markdown: headings, paragraphs, bullet and numbered lists, **bold**, *italic*, ~~strikethrough~~, `code` and fenced code blocks, [links](https://...), > blockquotes, tables, horizontal rules, and $inline$ or $$display$$ math, all stored as the note editor's own HTML. Raw HTML is shown as text, not interpreted. Cite a library item with its key in brackets: [@ABCD2345], [@ABCD2345, p. 12], [see @ABCD2345; @WXYZ6789, pp. 3-5]. Each becomes a real Zotero cita…
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The note body, in Markdown. |
cite | boolean | Turn [@ITEMKEY] references into Zotero citations (default true). false leaves them as plain text. |
collections | array | Collection keys to file a standalone note in (from zotero_list_collections). A child note lives with its parent, so this is refused together with `parent_item`. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
parent_item | string | Key of the regular item (paper, book, ...) the note belongs to. Omit for a standalone note. |
tags | array | Tags to put on the note, e.g. ["literature-note"]. |
title | string | A heading placed at the top of the note, which Zotero then shows as its title. Omit to let the first line of `markdown` be the title. |
zotero_append_to_note Append Markdown to a Zotero note
Add Markdown to the end of an existing Zotero note, keeping everything already in it, including its own citations and formatting. Markdown: headings, paragraphs, bullet and numbered lists, **bold**, *italic*, ~~strikethrough~~, `code` and fenced code blocks, [links](https://...), > blockquotes, tables, horizontal rules, and $inline$ or $$display$$ math, all stored as the note editor's own HTML. Raw HTML is shown as text, not interpreted. Cite a library item with its key in brackets: [@ABCD2345], [@ABCD2345, p. 12], [see @ABCD2345; @WXYZ6789, pp. 3-5]. Each becomes a real Zotero citation (click…
| Parameter | Type | Description |
|---|---|---|
markdown * | string | What to add at the end of the note, in Markdown. |
note_key * | string | Key of the note to append to. |
cite | boolean | Turn [@ITEMKEY] references into Zotero citations (default true). false leaves them as plain text. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
zotero_replace_note Replace a Zotero note with Markdown
Replace the whole content of an existing Zotero note with new Markdown. The note keeps its key, parent item, tags and collections; only its text changes, and the old text is gone from Zotero (Zotero keeps no history of a note). The result returns the previous HTML as `previousNote` so it can be put back. Markdown: headings, paragraphs, bullet and numbered lists, **bold**, *italic*, ~~strikethrough~~, `code` and fenced code blocks, [links](https://...), > blockquotes, tables, horizontal rules, and $inline$ or $$display$$ math, all stored as the note editor's own HTML. Raw HTML is shown as text,…
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The note's new content, in Markdown. Everything the note held before is replaced. |
note_key * | string | Key of the note to replace. |
cite | boolean | Turn [@ITEMKEY] references into Zotero citations (default true). false leaves them as plain text. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
title | string | A heading placed at the top of the note, which Zotero then shows as its title. |
version | integer | The note version you read. When given, a note that changed since is refused instead of overwritten. |
zotero_annotation_digest List the annotations on a paper or collection
List the reader's PDF/EPUB annotations, grouped per paper: type, colour, page label, the highlighted text verbatim, the comment, and tags, in reading order. Give `item_key` for one paper, or `collection_key` for every top-level item in a collection (paged with `start`/`limit`, sorted by title). Filter with `types`, `colors` and `tags`. Each paper comes with `citation` ("Smith, 2019"), so a synthesis can cite it as [@ITEMKEY, p. 12] in zotero_create_note. Read-only: to keep the digest in Zotero as a note, call zotero_save_annotation_digest with the same arguments, which writes it without retypi…
| Parameter | Type | Description |
|---|---|---|
collection_key | string | A collection whose top-level items' annotations to gather (from zotero_list_collections; subcollections are not included). |
colors | array | Only these colours: Zotero's names (yellow, red, green, blue, purple, magenta, orange, gray) or hex values like "#ffd400". Default: all. |
item_key | string | A paper (or a standalone PDF/EPUB attachment) whose annotations to gather. Give this or `collection_key`, not both. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | collection_key only: how many items to read per call (default 25, max 100). |
start | integer | collection_key only: index of the first item to read (default 0). Use `nextStart` from the previous call. |
tags | array | Only annotations carrying at least one of these tags (case-insensitive). Default: all. |
types | array | Only these annotation types, e.g. ["highlight", "note"]. Default: all. |
zotero_save_annotation_digest Save a paper's or collection's annotations as a note
Gather the annotations zotero_annotation_digest lists and save them as a Zotero note, laid out the way Zotero's own "Add Note from Annotations" lays one out: a paragraph per annotation with the highlighted passage, a citation with its page, the comment and tags. Each highlight stays linked to its spot in the PDF and each citation to its paper, so both open from the note in Zotero. For `item_key` the note is attached to that paper; for `collection_key` it is a standalone note filed in that collection, with a heading per paper (up to 200 items; the note says so if the collection holds more). Tak…
| Parameter | Type | Description |
|---|---|---|
collection_key | string | A collection whose top-level items' annotations to gather (from zotero_list_collections; subcollections are not included). |
colors | array | Only these colours: Zotero's names (yellow, red, green, blue, purple, magenta, orange, gray) or hex values like "#ffd400". Default: all. |
item_key | string | A paper (or a standalone PDF/EPUB attachment) whose annotations to gather. Give this or `collection_key`, not both. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
note_tags | array | Tags to put on the note itself, e.g. ["annotation-digest"]. |
tags | array | Only annotations carrying at least one of these tags (case-insensitive). Default: all. |
title | string | The note's heading and title. Default "Annotations (<date>)", or "Annotations: <collection> (<date>)". |
types | array | Only these annotation types, e.g. ["highlight", "note"]. Default: all. |
zotero_check_citations Check a draft's citations and quotations against the library
Check a draft (Markdown, LaTeX or plain text) for invented citations and misquotations, deterministically and without changing anything. Finds every citation: pandoc [@key, p. 12; @other], Zotero item keys [@ABCD2345], LaTeX \cite/\citep/\citet/\parencite/\textcite/\autocite{a,b}, author-year (Smith, 2020), (Smith & Jones, 2020, p. 4), Smith et al. (2020), numeric [3] (through the reference list) and bare DOIs. Each cited work is looked up in the library by item key, citation key (Zotero's Citation Key field, then Better BibTeX when it runs on this machine), DOI, or author + year (+ title word…
| Parameter | Type | Description |
|---|---|---|
draft * | string | The draft text, up to 200000 characters. A trailing "References" or "Bibliography" section is read as its reference list. |
check_quotes | boolean | Verify quotations against full texts (default true). false only resolves the citations, which reads no full text. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
max_citations | integer | Citations checked per call (default 60, max 200). |
max_fulltexts | integer | Full texts read per call for quotation checks (default 5, max 20). |
references | string | The reference list, when it is not at the end of the draft: one entry per line or paragraph, numbered ([1], 1.) for numeric citations. |
start | integer | Index of the first citation to check (default 0). Use `nextStart` from the previous call. |
zotero_review Screening status, queue, PRISMA flow and duplicates for a review collection
Read-only views for a systematic-review team screening a collection (works in group libraries). `action`: "queue" returns the next unscreened records for a `stage` (title, abstract, year, authors; pass `reviewer` for that reviewer's own blind queue, which hides the other reviewers' decisions); "status" counts decisions per stage, exclusion reasons, per-reviewer tallies, inter-rater agreement (percent and Cohen's kappa) and the records where reviewers disagree; "prisma" returns the PRISMA 2020 flow numbers with a ready text summary and a Mermaid diagram (pass `records_identified` or `sources` a…
| Parameter | Type | Description |
|---|---|---|
action * | string | Which view: "queue", "status", "prisma" or "duplicates". |
collection_key * | string | The review collection (from zotero_list_collections). Subcollections are not included. |
duplicates_removed | integer | prisma only: duplicates you removed. Otherwise derived from records_identified, or read from the merge records Zotero leaves behind. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | queue only: records to return (default 25, max 100). |
records_identified | integer | prisma only: total records your database searches returned, before deduplication. |
reviewer | string | queue only: a reviewer name (slugged, e.g. "Alice B." becomes "alice-b"). Returns records this reviewer has not yet decided and that have no final decision. Omit for the team queue: records with no de… |
sources | object | prisma only: records identified per source, e.g. {"PubMed": 412, "Scopus": 380}. Summed when records_identified is not given. |
stage | string | queue only: the stage to screen (default "title-abstract"). The full-text queue holds only records included at title-abstract. |
start | integer | queue only: skip this many queued records. Recording decisions shrinks the queue, so the next batch is usually start 0 again. |
zotero_screen_items Record screening decisions on Zotero items
Record systematic-review screening decisions as Zotero tags on a batch of items, so the whole group library sees them. Decisions are Zotero tags of the form screen/<stage>/<decision>[:<reason>][@<reviewer>], e.g. "screen/title-abstract/exclude:wrong-population@alice"; stage is title-abstract or full-text, decision is include, exclude or maybe, a reason goes only on exclude, and a tag with no @reviewer is the final (consensus) decision. They sync to the whole group and stay readable in Zotero without Zoteus. Pass `reviewer` to record your own independent decision (dual screening); omit it to re…
| Parameter | Type | Description |
|---|---|---|
decisions * | array | One entry per item, at most 100 per call. |
stage * | string | Screening stage: "title-abstract" (first pass) or "full-text" (eligibility of the full report). |
confirm | boolean | Required to tag more items in one call than the server's bulk-write threshold. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
reviewer | string | Who is screening, e.g. "alice". Slugged into the tag ("Alice B." becomes "alice-b"). Omit to record the final decision. |
zotero_activity What was added, changed, read and marked recently
Read-only: what was added or modified in the last `days` days in a library or one collection, newest first, split into items (papers and attachments), notes and annotations (highlights with their text and comments). In a group library read from the cloud, every row says who created and who last changed it, and `byUser` totals it per person, so a review team sees who added and screened what this week; the desktop local API does not report who made a change, so without a cloud key a group answer carries no names and says so. In your own library it is a "what did I read and mark this week" view.…
| Parameter | Type | Description |
|---|---|---|
collection_key | string | Only changes to items in this collection and to their notes, attachments and annotations (subcollections not included). Omit for the whole library. |
days | integer | How far back to look, in days (default 7). |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
limit | integer | Most rows to return in each of items, notes and annotations (default 50, max 200). |
zotero_save_extraction Save structured fields extracted from papers
Save a structured extraction (named fields with values, such as sample_size, method, country, outcome) for one or many papers, as a child note on each paper: a readable table plus a machine-readable copy, tagged "zoteus-extraction". Zotero has no custom fields; a note syncs and anyone can read it in Zotero. YOU read the paper (zotero_get_fulltext) and supply the values: this server has no language model. Give each value the verbatim `quote` it rests on, and its `page`: when the paper's full text is available (Zotero's index, or the PDF or EPUB itself) the quote is checked against it and the ve…
| Parameter | Type | Description |
|---|---|---|
items * | array | One entry per paper, at most 50. |
schema * | string | Name of the extraction schema, e.g. "rct-review". Papers saved under the same name form one table. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
replace_all | boolean | Drop fields already saved for a paper that this call does not mention (default false: they are kept). |
verify_quotes | boolean | Check each quote against the paper's full text (default true). Off skips reading the text and stores quotes as "unchecked". |
zotero_extraction_table Gather saved extractions into one table
Read every extraction saved with zotero_save_extraction for a collection, for given items, or for the whole library, and lay them out as ONE table: a row per paper, a column per field. Read-only. Returns the rows as structured data (each value with its saved quote, page and quote check), plus the same table as Markdown and as CSV text (each field gets value, quote, page and quote-check columns there, so a spreadsheet can filter on them). Gaps are listed, not hidden: `missingItems` names papers in the collection or in `item_keys` with no extraction saved under this schema, and `missingFields` n…
| Parameter | Type | Description |
|---|---|---|
collection_key | string | Tabulate the papers filed directly in this collection. |
fields | array | Columns to show, in this order. Default: every field found, in first-seen order. |
item_keys | array | Tabulate these papers. Omit both this and collection_key for every extraction in the library. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |
schema | string | The extraction schema to tabulate, as given to zotero_save_extraction. Optional when only one exists in scope. |
zotero_relate_items Link items as Related
Link pairs of library items as "Related", the link Zotero shows in an item's Related pane, on BOTH items of each pair, as Zotero itself does. Additive only: every relation an item already has (other Related links, merge records, any other predicate) is kept, and a pair already linked is reported as such and not written again. Both items must be in the same library. Every item is read before anything is written, so an unknown key refuses the whole call. Get candidates from zotero_suggest_related (pairs that cite each other), or pass any pairs you choose. To remove a link, edit `relations` with…
| Parameter | Type | Description |
|---|---|---|
pairs * | array | Pairs to link, at most 100. Order inside a pair does not matter; both items get the link. |
library_id | integer | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a gr… |
library_type | string | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it… |