About Zotero MCP
Zotero MCP is an MCP server published by cookjohn in the Communication category: it's a plugin extension in Zotero. Zotero MCP Plugin enables integration between AI assistants and Zotero through MCP. Zotero MCP Plugin 是一个 Zotero 插件,通过 MCP协议实现 AI 助手与 Zotero深度集成。插件支持文献检索、元 数据管理、全文分析和智能问答等功能,让 Claude、ChatGPT 等 AI 工具能够直接访问和操作您的文献库。. Conduid read 29 tools from its source: add_by_identifier, add_items_to_collection, create_collection, delete_collection, get_annotation_by_id, get_annotations_batch and 23 more. No package is published for it, so it installs from a source checkout.
The repository has 1.3K stars and 106 forks, is licensed MIT, and its last commit was on 12 Nov 2026. The latest release is v1.7.0 (12 Nov 2026): New features / 新功能 Citation & bibliography tools / 引文与参考文献工具 (#111 by @Yyu-ang, from #92 by @cloneorcopy; closes #38). It follows v1.6.0 (2 Sep 2026), and the 5 most recent releases go back to v1.4.6 (20 Mar 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include comms.
Install
git clone https://github.com/cookjohn/zotero-mcpTools (29)
add_by_identifierAdd items to Zotero by identifier (DOI, arXiv ID, ISBN, PMID, or ADS bibcode) using Zotero's own metadata resolvers — the same pipeline as the 'Add Item by Identifier' magic-wand button. Item type, DOI, venue, authors and date all come from Zotero's translators, so prefer this over write_item whenever an identifier is available: write_item requires guessing metadata by hand, which produces wrong item types. Batches larger than 3 run as a background job; call again with jobID to poll.| Parameter | Type | Description |
|---|---|---|
| async | boolean | Force background-job mode even for small batches. |
| collectionKey | string | 8-character key of the collection to file new items into. Omit to save to the library root. |
| delayMs | number | Pause between lookups in milliseconds, to be polite to upstream APIs (default 500). |
| dryRun | boolean | Only report how Zotero parses each identifier; writes nothing (default false). |
| fileExisting | boolean | When an item already exists, also add it to the target collection. This is the only way this tool modifies existing items (default false). |
| identifiers | array | One identifier per entry, e.g. '10.1109/ICRA48891.2023.10160731', 'arXiv:2304.00464', '9780262035613', 'PMID: 31452104'. Prefix bare arXiv numbers with 'arXiv:'. Each entry is parsed on its own, so identifier types can be mixed freely. |
| jobID | string | Poll a previously started background job instead of starting a new import. |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
| saveAttachments | boolean | Fetch open-access PDFs along with the metadata (default true). |
| skipExisting | boolean | Skip identifiers already present in the library instead of creating duplicates (default true). |
| titleDuplicates | string | How to handle an imported item whose title matches an item already in the library — this catches a preprint arriving next to its published version, which identifier matching cannot see. 'flag' (default) keeps the import and reports possibleDuplicateOf; 'skip' moves the freshly imported item to the trash and reports duplicate_trashed; 'off' disables the check. |
add_items_to_collectionAdd one or more items to a collection by their item keys.| Parameter | Type | Description |
|---|---|---|
| collectionKey * | string | Key of the target collection |
| itemKeys * | array | Array of item keys to add to the collection |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
create_collectionCreate a new collection in the library. Optionally nest it under a parent collection.| Parameter | Type | Description |
|---|---|---|
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
| name * | string | Name of the new collection |
| parentCollection | string | Key of the parent collection. If omitted, creates a top-level collection. |
delete_collectionDelete a collection. WARNING: This is a destructive operation. By default, items in the collection are NOT deleted (only removed from the collection). Set deleteItems=true to also send items to trash.| Parameter | Type | Description |
|---|---|---|
| collectionKey * | string | Key of the collection to delete |
| deleteItems | boolean | If true, also send items in the collection to trash. Default: false (items remain in library). |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
get_annotation_by_idGet complete content of a specific annotation by IDget_annotations_batchGet complete content of multiple annotations by IDsget_attachment_contentExtract text content from a specific attachment (PDF, HTML, text files). Returns: {attachmentKey, filename, filePath, contentType, type, content, length, extractionMethod, extractedAt}get_collection_detailsGet detailed information about a specific collectionget_collection_itemsGet items in a specific collectionget_collectionsGet list of all collections in the libraryget_item_abstractGet the abstract/summary of a specific itemget_item_detailsGet detailed information for a specific item including metadata, abstract, attachments info, notes, and tags but not fulltext content. Returns: {key, title, creators, date, itemType, publicationTitle, volume, issue, pages, DOI, url, abstractNote, tags, notes: [note_content], attachments: [{key, title, path, contentType, filename, url, linkMode, hasFulltext, size}]}get_item_fulltextGet comprehensive fulltext content from item including attachments, notes, abstracts, and webpage snapshots. Returns: {itemKey, title, itemType, abstract, fulltext: {attachments: [{attachmentKey, filename, filePath, contentType, type, content, length, extractionMethod}], notes: [{noteKey, title, content, htmlContent, length, dateModified}], webpage: {url, filename, filePath, content, length, type}, total_length}, metadata: {extractedAt, sources}}get_item_pdf_contentExtract text content from PDF attachmentsget_librariesList all Zotero libraries available in the current client. Returns: [{libraryID, name, libraryType}]my_plugin_count_itemsCount items in the Zotero library, optionally filtered by type.| Parameter | Type | Description |
|---|---|---|
| itemType | string | Filter by item type (e.g. "journalArticle", "book") |
my_plugin_get_tagsList all tags used in the library, with usage counts.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of tags to return (default: 50) |
remove_items_from_collectionRemove one or more items from a collection. Items are NOT deleted from the library, only removed from this collection.| Parameter | Type | Description |
|---|---|---|
| collectionKey * | string | Key of the collection |
| itemKeys * | array | Array of item keys to remove from the collection |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
search_annotationsSearch all notes, PDF annotations and highlights with smart content processingsearch_collectionsSearch collections by namesearch_fulltextSearch within fulltext content of items with context and relevance scoringsearch_librariesSearch libraries by name. Returns: [{libraryID, name, libraryType}]search_librarySearch the Zotero library with advanced parameters including boolean operators, relevance scoring, fulltext search, and pagination. Returns: {query, pagination, searchTime, results: [{key, title, creators, date, attachments: [{key, filename, filePath, contentType, linkMode}], fulltextMatch: {query, mode, attachments: [{snippet, score}], notes: [{snippet, score}]}}], searchFeatures, version}trash_itemMove one or more items to Zotero Trash. Items remain recoverable until the user empties Trash; permanent deletion is not supported.| Parameter | Type | Description |
|---|---|---|
| itemKeys * | array | Item keys to move to Trash, e.g. ["ABCD1234"] |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
update_collectionRename or move an existing collection. Provide name to rename, parentCollection to move (empty string moves to top level).| Parameter | Type | Description |
|---|---|---|
| collectionKey * | string | Key of the collection to update |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
| name | string | New name for the collection |
| parentCollection | string | Key of the new parent collection. Use empty string "" to move to top level. |
write_itemCreate a new Zotero item, re-parent existing attachments, or import a local file as an attachment. Common workflows: (1) read PDF → extract metadata → create item → attach PDF via attachmentKeys; (2) convert PDF to Markdown → import the .md file as attachment via import action. Confirm with user before executing.| Parameter | Type | Description |
|---|---|---|
| action * | string | create: create a new item with metadata. reparent: move an attachment under a different parent item. import: import a local file (e.g., Markdown, PDF) as an attachment to an existing item. |
| attachmentKeys | array | For create: existing standalone attachment keys to re-parent under the new item. For reparent: attachment keys to move. |
| creators | array | Creators for create action. Each: {creatorType, firstName, lastName} or {creatorType, name} for organizations. |
| fields | object | Metadata fields for create action. Common: title, abstractNote, date, url, DOI, language, volume, issue, pages, publisher, place, publicationTitle, bookTitle, etc. |
| filePath | string | For import action: absolute path to the file to import as an attachment |
| itemType | string | Item type for create action (e.g., journalArticle, book, conferencePaper, thesis, report, webpage, preprint, bookSection, etc.) |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
| linkMode | string | For import action: imported_file (default) copies the file into Zotero storage; linked_file links to the file in place without copying (personal library only; if a Linked Attachment Base Directory is configured, the path is stored relative to it) |
| parentItemKey | string | For import action: Zotero item key of the parent to attach the file to |
| parentKey | string | For reparent action: the target parent item key to move attachments to |
| tags | array | Tags to add to the new item |
| title | string | For import action: display title for the attachment (defaults to the file name) |
write_metadataUpdate metadata fields on Zotero items (title, abstract, date, URL, DOI, creators, etc.). Only works on regular items, not notes or attachments. Confirm with user before executing.| Parameter | Type | Description |
|---|---|---|
| creators | array | Set the creators list (replaces all existing creators). Each creator has creatorType (author/editor/translator/etc.), and either firstName+lastName or name (for organizations). |
| fields | object | Fields to update. Common fields: title, abstractNote, date, url, DOI, language, shortTitle, volume, issue, pages, publisher, place, ISBN, ISSN, extra, rights, series, seriesNumber, edition, numPages, journalAbbreviation, publicationTitle, bookTitle |
| itemKey * | string | Item key to update metadata on |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
write_noteCreate or modify Zotero notes. Supports child notes (attached to items), standalone notes, updating, or appending. Markdown is auto-converted to HTML. Confirm with user before writing.| Parameter | Type | Description |
|---|---|---|
| action * | string | create: new note, update: replace content, append: add to end |
| content * | string | Note content in HTML or Markdown format. Markdown is auto-converted to HTML for Zotero storage. |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
| noteKey | string | Existing note key (required for update/append actions) |
| parentKey | string | Item key to attach note to (create action only, omit for standalone note) |
| tags | array | Tags to add to the note |
write_tagAdd, remove, or replace tags on Zotero items. Works on any item type. Response includes before/after tag lists for verification. Confirm with user before executing.| Parameter | Type | Description |
|---|---|---|
| action * | string | add: add tags (keep existing), remove: remove specific tags, set: replace all tags with provided list |
| itemKey * | string | Item key to modify tags on |
| libraryID | number | Optional target Zotero library ID. Defaults to the user library when omitted. |
| tags * | array | Tags to add/remove/set |
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and zotero-mcp-plugin/package-lock.json.
- ✓No dynamic code executionScanned 46 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json and zotero-mcp-plugin/package-lock.json
Pattern matches on the source text of 46 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.3K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README