1. Conduid
  2. RAG
  3. LLM For Zotero
MCP server · RAG

LLM For Zotero

An open-source research agent system for your Zotero library.

86Strong

Scored 20 hours ago · breakdown

About LLM For Zotero

LLM For Zotero is an MCP server published by yilewang in the RAG category: an open-source research agent system for your Zotero library. Conduid read 29 tools from its source: annotate_pdf, context_read, file_io, library_cite, library_delete, library_import and 23 more. No package is published for it, so it installs from a source checkout.

The repository has 3.7K stars and 225 forks, is licensed AGPL-3.0, and its last commit was on 2 Dec 2026. The latest release is v3.9.21 (25 Nov 2026): What's new in LLM for Zotero Changes for 3.9.21.* Notes become a place to write with AI. It follows v3.9.20 (19 Nov 2026), and the 5 most recent releases go back to v3.9.17 (10 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include academic-paper, literature-analysis, llm-agent, rag, research-tool and zotero.

Install

From source
git clone https://github.com/yilewang/llm-for-zotero

Tools (29)

annotate_pdfApply tags, update metadata, move items, manage collections and attachments, merge duplicates, trash items, import identifiers or local files, highlight PDF passages
context_readSearch items and collections, read metadata, read papers, search paper passages, render PDF pages, inspect attachments and the chat context
ParameterTypeDescription
allowStalebooleansource:'tool_result' only. Set true only when stale results are acceptable after the Zotero resource scope changed.
handlestringsource:'tool_result' only. The trh_... handle from a semantic/context checkpoint or compacted tool message.
limitintegersource:'tool_result' only. Maximum rows to return for array sections.
maxTokensintegerApproximate maximum tokens to return.
messageIdstringsource:'conversation' only. Omit to list messages; set to read one message.
offsetintegerZero-based offset for array sections (tool_result) or the message list (conversation).
pathstringsource:'tool_result' only. Optional top-level section to read, such as results, paperMatches, snippets, papers, coverage, resourcePool, or warnings. Omit to list available sections and metadata.
source *stringconversation for chat messages; tool_result for a stored tool result handle.
textOffsetinteger
file_ioRead/write local files, run analysis commands, or execute Zotero JavaScript with write confirmations
library_citeFormat citations and bibliographies with Zotero's citation engine, and read or change the Zotero preferences the agent may touch
ParameterTypeDescription
action *string'bibliography' formats full reference entries; 'cite' formats in-text citations; 'export' writes the items in a file format such as BibTeX; 'styles' lists installed citation styles; 'formats' lists export formats.
formatstring
itemIdsarrayThe items to cite or export. Required for cite, bibliography and export.
localestringCSL locale, e.g. 'en-US'. Defaults to en-US.
styleIdstringA citation style ID, e.g. 'http://www.zotero.org/styles/apa'. Defaults to the user's Quick Copy style. List them with action:'styles'.
translatorIdstringThe export translator ID, for action:'export'. List them with action:'formats'.
library_deleteApply tags, update metadata, move items, manage collections and attachments, merge duplicates, trash items, import identifiers or local files, highlight PDF passages
library_importApply tags, update metadata, move items, manage collections and attachments, merge duplicates, trash items, import identifiers or local files, highlight PDF passages
library_readSearch items and collections, read metadata, read papers, search paper passages, render PDF pages, inspect attachments and the chat context
ParameterTypeDescription
itemIdsarray
maxAnnotationsnumber
maxNotesnumber
paperContextsarrayPaper context references. Alternative to itemIds for targeting papers.
sections *array
library_retrieveSearch items and collections, read metadata, read papers, search paper passages, render PDF pages, inspect attachments and the chat context
ParameterTypeDescription
depthstringHow deeply to traverse the resource pool. Default evidence.
intentstringRetrieval intent. Use enumerate for comprehensive evidence search across the scoped resource pool, verify for exact presence/absence, and summarize for broad taxonomy/theme/commonality/comparison synthesis over the retrieved ledger.
maxCandidatePapersnumberDefault ${LIBRARY_RETRIEVE_DEFAULT_BUDGETS.maxCandidatePapers}, hard max ${LIBRARY_RETRIEVE_HARD_CAPS.maxCandidatePapers}.
maxFullTextPapersnumberDeprecated alias for maxSnippetPapers. Default ${LIBRARY_RETRIEVE_DEFAULT_BUDGETS.maxFullTextPapers}, hard max ${LIBRARY_RETRIEVE_HARD_CAPS.maxFullTextPapers}.
maxMetadataItemsnumberDefault ${LIBRARY_RETRIEVE_DEFAULT_BUDGETS.maxMetadataItems}, hard max ${LIBRARY_RETRIEVE_HARD_CAPS.maxMetadataItems}.
maxSnippetPapersnumberMaximum papers expanded into returned snippets. Default ${LIBRARY_RETRIEVE_DEFAULT_BUDGETS.maxFullTextPapers}, hard max ${LIBRARY_RETRIEVE_HARD_CAPS.maxFullTextPapers}.
maxTotalSnippetsnumberDefault ${LIBRARY_RETRIEVE_DEFAULT_BUDGETS.maxTotalSnippets}, hard max ${LIBRARY_RETRIEVE_HARD_CAPS.maxTotalSnippets}.
methodsarray
perPaperTopKnumberDefault ${LIBRARY_RETRIEVE_DEFAULT_BUDGETS.perPaperTopK}, hard max ${LIBRARY_RETRIEVE_HARD_CAPS.perPaperTopK}.
query *stringSearch question, keywords, or exact phrase to retrieve evidence for.
queryVariantsarrayOptional bounded search probes such as translations, acronyms, notation variants, or technical equivalents. Variants improve recall but are not evidence by themselves.
requireExactbooleanRequire exact keyword/phrase support in returned snippets. Implied by depth:'verify'.
scopeobjectOptional search pool. Omit to use selected collection/tag scope when present, otherwise the active library.
sectionsarrayOptional paper sections the user asked about, in any language: ${EVIDENCE_SECTION_KINDS.join(", ")}. Snippet ranking prefers evidence from them.
library_searchSearch items and collections, read metadata, read papers, search paper passages, render PDF pages, inspect attachments and the chat context
ParameterTypeDescription
conditionsarrayAdvanced search clauses, forwarded to Zotero's own search engine. Use this for anything the nine simple filters cannot express — fulltextContent, abstractNote, DOI, publisher, dateAdded, dateModified, note, annotationText, citationKey, retracted, publications, and every other Zotero search condition. Only valid with entity:'items'.
entity *stringWhat to query: 'items' for any library item, 'collections' for folders, 'notes' to search/list notes (mode:'search' finds all notes including child notes, mode:'list' lists standalone notes only), 'tags' to list/search all tags in the library, 'libraries' to enumerate all libraries (personal + group), 'itemTypes' to discover Zotero's item types and the exact fields and creator types each one accepts (use this before creating an item or setting an unfamiliar field — a field the type does not have is rejected, not ignored), 'savedSearches' to list the library's saved searches and the conditions behind them, 'statistics' (mode:'list') for counts by type, year, author, journal, tag, collection and annotation over the library or filters.collectionId's direct members (subcollections not included); limit sets the length of top lists.
filtersobject
includearray
joinModestringWhether every condition must match ('all', the default) or any one of them ('any'). Applies to conditions[].
libraryIDnumberSearch a specific library. Defaults to the active one; a group library ID searches that group instead.
limitnumber
mode *string
offsetnumberSkip this many results before returning. Use with limit to page through a large result set across several calls; a capped result says limited:true with the true totalCount and the nextOffset to pass next. Applies to entity:'items' (mode:'list', mode:'search', mode:'duplicates' where it counts groups, and conditions[]), to entity:'notes' (mode:'list' and mode:'search'), and to entity:'tags'.
orderstringSort direction. Defaults to 'desc' for dates and year (newest first) and 'asc' for title and creator.
refsarray
resolveToParentsbooleanReturn the parent paper for matches that are child items. Required for conditions that match children — fulltextContent, annotationText and childNote match an attachment or note, and without this those matches are dropped and the search looks empty.
sectionsarrayFor entity:'statistics': which parts. Default: all.
sortstringOrder results before limit/offset are applied. Use sort:'dateAdded' for requests like 'the most recently added papers'; creator sorts by first author. Applies to entity:'items' with mode:'list'; text search returns relevance order and ignores this.
textstring
viewstringFor entity:'collections' mode:'list': 'flat' returns a list, 'tree' returns the full hierarchy with paper counts. Default: flat.
library_settingsFormat citations and bibliographies with Zotero's citation engine, and read or change the Zotero preferences the agent may touch
library_updateApply tags, update metadata, move items, manage collections and attachments, merge duplicates, trash items, import identifiers or local files, highlight PDF passages
literature_reviewSearch OpenAlex, arXiv, and Europe PMC for papers, recommendations, references, and citations (metadata lookup via CrossRef and Semantic Scholar), then present ranked candidates
literature_searchSearch OpenAlex, arXiv, and Europe PMC for papers, recommendations, references, and citations (metadata lookup via CrossRef and Semantic Scholar), then present ranked candidates
ParameterTypeDescription
arxivIdstring
authorstringAuthor name to filter results by. When provided alone (without query), returns the author's papers sorted by citation count. When combined with query, narrows keyword results to this author.
countintegerworkflow:'review': papers the user asked for, five when unspecified.
doistring
forLiteratureReviewbooleanworkflow:'review': true when the papers are candidates for a literature review you will write.
itemIdnumber
libraryIDnumber
limitnumber
mode *string
paperContextany
querystring
sourcestringSearch source. OpenAlex (default) supports all modes. arXiv (preprints, CS/ML/physics) and europepmc (biomedical) only support search mode.
titlestring
workflowstringanswer returns scholarly evidence. review marks discovery candidates for subsequent ranking and literature_review; with mode:'metadata' it proposes metadata changes for the user to approve.
load_skillLoad a skill's instructions when the task needs them, ask you a question when a choice is ambiguous, and add an earlier conversation to the chat
ParameterTypeDescription
id *stringExact ID from the installed skill inventory.
note_writeCreate, append to, or edit Zotero notes, write one note on each of many items, and finalize longer documents
note_write_batchCreate, append to, or edit Zotero notes, write one note on each of many items, and finalize longer documents
paper_readSearch items and collections, read metadata, read papers, search paper passages, render PDF pages, inspect attachments and the chat context
ParameterTypeDescription
figureLabelsarrayFor figures mode: exact labels such as Figure 1 or Supplementary Figure S2; [] selects all main figures.
includeSupplementaryboolean
maxCharsnumberA character limit on the text of an overview. Reads by sectionIds, sections, or pages ignore it: they return the text when it fits the context left, else a map with sizes in tokens.
modestringoverview = bounded summary/main message; outline = one level of the section tree with ids, pages and sizes; targeted = relevance-ranked text evidence; full = exhaustive processing of every extractable text chunk; figures = precise extracted figures; visual = rendered pages/layout; capture = current reader page.
neighborPagesnumber
pagesany
querystring
queryVariantsarrayOptional search probes such as translations, acronyms, notation variants, or technical equivalents.
sectionIdstringOutline: list this section's subsections, not the top level.
sectionIdsarraySection ids from an outline. No query: a section without subsections is read whole, one with subsections lists them. With query: searches them.
sectionsarrayParts of the paper as the user named them, in any language; the reader picks the paper's matching sections and reads them whole.
targetobjectOptional explicit paper or visual target. Provide target or targets, never both; omit both to use the current turn's paper scope.
targetsarrayOptional explicit paper targets. Provide target or targets, never both; omit both to use the current turn's paper scope.
topKnumber
wholebooleansectionIds: read whole with subsections.
past_chat_attachLoad a skill's instructions when the task needs them, ask you a question when a choice is ambiguous, and add an earlier conversation to the chat
read_attachmentSearch items and collections, read metadata, read papers, search paper passages, render PDF pages, inspect attachments and the chat context
ParameterTypeDescription
attachFilebooleanIf true, prepare the whole file as a model-readable artifact instead of reading content inline.
maxCharsnumberText truncation limit. Omit to read full content.
targetobjectTarget attachment.
reader_openWhen the user asks to open or show a PDF, open it in Zotero's reader at a page (pageIndex is 0-based) or annotation.
ParameterTypeDescription
annotationIdnumberAn annotation item; opens its PDF at it.
attachmentIdnumberA PDF attachment.
itemIdnumberA paper; opens its PDF.
pageIndexnumberZero-based page number.
pageLabelstringA page label, such as 'iv' or '12'.
request_user_inputLoad a skill's instructions when the task needs them, ask you a question when a choice is ambiguous, and add an earlier conversation to the chat
ParameterTypeDescription
questions *array
run_commandRead/write local files, run analysis commands, or execute Zotero JavaScript with write confirmations
submit_documentCreate, append to, or edit Zotero notes, write one note on each of many items, and finalize longer documents
ParameterTypeDescription
assets *arrayCopy the selected figures' documentAsset objects returned by paper_read. The host renders their images, captions and provenance; do not also put Markdown image links in markdown. Use [] only when the document has no figures.
citations *array
documentKindstringDocument shape.
excludedarrayPapers left out, by id (12 or item:12).
groundingIssues *arrayNon-authoritative grounding-review concerns. Required to be non-empty when groundingReviewed is passed_with_limitations.
groundingReviewed *string
integrityPolicystringUse research_grounded when the document makes claims from retrieved literature evidence.
markdown *string
quotes *arrayStrict direct-quote mappings for [[quote:Q1]] tokens. Use [] when the document has no direct quotations; the host verifies each quote against an open PDF.js source and persists the location certificate.
taskIdstringThe id of the declared part this document fulfils, when parts were declared. Name it so the host ticks the right part.
title *string
task_updateSplit a compound request into parts the plugin tracks, and run several tool calls in one script with loops and conditions
ParameterTypeDescription
blockedany
cancelledany
excludedany
skippedany
tasksarray
undoUndo recorded write actions from the conversation's durable change history, one at a time or several newest-first
web_readSearch the current public web with Tavily, read relevant pages, and show source links with the answer (only when a Tavily key is set)
web_searchSearch the current public web with Tavily, read relevant pages, and show source links with the answer (only when a Tavily key is set)
workflow_scriptSplit a compound request into parts the plugin tracks, and run several tool calls in one script with loops and conditions
ParameterTypeDescription
description *string
script *string
timeoutMsnumberCooperative time limit in milliseconds; at most 120000
zotero_scriptRead/write local files, run analysis commands, or execute Zotero JavaScript with write confirmations

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 6.3K words.
  • ✓License declaredThe repository declares the AGPL-3.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and packages/claude-bridge/package-lock.json.

2 checks have not been run yet.

Releases

v3.9.21Release v3.9.21 · 25 Nov 2026What's new in LLM for Zotero Changes for 3.9.21.* Notes become a place to write with AI. Opening a paper's note no longer replaces the paper's chat, and selecting text in a note opens a small writing popup. Plain Chat now delivers the…
v3.9.20Release v3.9.20 · 19 Nov 2026What's new in LLM for Zotero Changes since 3.9.19.* Antigravity joins Codex and Claude Code as an agent runtime. You now pick a runtime from a menu in the composer, and Settings lists only the runtimes you add. Codex installed with npm…
v3.9.19Release v3.9.19 · 16 Nov 2026What's new in LLM for Zotero Changes since 3.9.17. This release replaces 3.9.18 and adds the searchable model field.* very small updates. we may remove the embedding model functionality in the future. Reasons see #571 The plugin starts on…
v3.9.18Release v3.9.18 · 16 Nov 2026Skipped. Install v3.9.19, which includes all of the changes from this release.
v3.9.17Release v3.9.17 · 10 Nov 2026What's new in LLM for Zotero Changes since 3.9.16* You can now ask about a PDF selection right in the reader, in a small card next to the text. The agent reads books and theses part by part instead of reading cut text. Note batches now…

README

The repository's README runs to about 6.3K words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About LLM For Zotero

How do I install LLM For Zotero?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is LLM For Zotero safe to use with an AI agent?

Its trust score is 86 out of 100 (strong). It passes all 4 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is LLM For Zotero still maintained?

Yes — the latest release is v3.9.21 (25 Nov 2026), and the last commit was 23 hours ago. The repository has 3.7K stars and 218 open issues.

What tools does LLM For Zotero provide?

Conduid read 29 tools from the source: annotate_pdf, context_read, file_io, library_cite, library_delete, library_import, library_read, library_retrieve and 21 more. 14 of them publish their parameters, listed under Tools above.

What license is LLM For Zotero released under?

The repository declares the AGPL-3.0 license. That applies to the latest release, v3.9.21, as well.