llm-for-zotero
AI chat in the reader with source citations
by yilewang · AI & summaries · Organising & tags
llm-for-zotero has a Zotero Plugins grade of C (not recommended) because its AI agent can run commands and code on your computer; by default its JavaScript runs without asking you. It works with Zotero 7–10, 11 beta. Last checked 28 Nov 2026.
- Zotero Plugins grade
- CNot recommendedSafety report
- in use
- 38k
- stars on GitHub
- 3.6k
- Zotero versions
- 7–10
- latest release
- 25 Nov
- languages
- 2
From the developer's README · captions written by AI6 of 25 README pictures shown
What it does
Written by AI from the READMEAn AI assistant in the reader: chat with a PDF, selection, figures or several papers, with citations that jump to the source passage. Saves answers to notes or Markdown; agent mode can search, tag and organize the library. Works with API keys, local models, ChatGPT, Codex or Claude Code.
Asking an LLM about a paper usually means uploading it to a chat site and losing the link to the source. This keeps answers grounded in your library and saves them there.
What you'll need
Detected automatically- A key or sign-in for some featuresWorks without one: local OpenAI-compatible models, WebChat (ChatGPT web sync) and Codex App Server, which use no provider API key. Needs a key or sign-in (OpenAI, Anthropic and DeepSeek): standard API providers need your own API key.
- Or: a model on your own computerIt can use a local model such as Ollama
Latest release
We grade the latest release. Release notes and all 124 releases on GitHub
Ratings and reviews
What people who use it say. This is separate from the grade, which is what the code does, and never changes it.
No ratings yet.
Write a review
Stars come from people on GitHub, many of them developers. They show interest, not how well it works. Once 10 people rate a version, their average takes this place.
Other plugins that do this
Matched on what they doFor the same job, work with Zotero 10 and graded B or better. Closest match first.
- BPaper Reading Agent
A chat panel in the item pane that asks questions about the open paper using a local Codex or Claude Code command-line tool.
- AZotero ChatGPT
Puts ChatGPT inside Zotero with a right-click menu and a reader pane for questions with streamed answers.
- BBibGenie
An AI research agent in the Zotero sidebar that answers questions using items, PDFs, notes, snapshots, images or collections as context.
How we pick these
By how closely what they do matches this plugin, using descriptions and the phrases people search with. Copies and forks of this plugin are listed under Forks and copies instead. No plugin pays to appear here.
Safety report
Sets the gradeCode transparencyReadable code, uploaded by the project's automated GitHub buildThe release file was uploaded by the project's automated GitHub build. We haven't yet rebuilt it from the source to compare.LowLow concern: normal for plugins that do this job. Listed so you know.
Where your data goesOnly contacts services we could identify42 addresses in 6 groups.LowLow concern: normal for plugins that do this job. Listed so you know.
defaultApiBase: "https://api.githubcopilot.com",
"codex auth usually uses https://chatgpt.com/backend-api/codex/responses": "codex \u8BA4\u8BC1\u901A\u5E38\u4F7F\u7528 https://chatgpt.com/backend-api/codex/responses",
OA_BASE = "https://api.openalex.org";
Powerful capabilitiesIts AI agent can run commands and code on your computer; by default its JavaScript runs without asking you, and 15 moreHighHigh concern: a serious problem. One high finding makes the grade C.
In agent mode the AI can run shell commands and JavaScript inside Zotero. Commands that only read (ls, find, head, tail, rg and a few others) run without asking in every mode. The rest depends on a setting: Safe asks you every time; Yolo never asks; Auto, the default, runs ordinary and reversible changes and has a second AI call decide about other shell commands, but unlike 3.9.12, which we reviewed before, it now runs all of the AI's JavaScript without asking you or that check, including scripts with full access to your files and the network. The plugin's own description of Auto, and its README, still say such actions get a review. Commands and scripts run as you, so they can read and change any of your files. We reviewed version 3.9.17; this release has the same code.
return new AsyncFunction("Zotero", "env", source2);Signs in as Codex CLI, GitHub Copilot for VS Code
CODEX_CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann";
Changes the settings of Claude Code
const projectSettingsFile = resolve6(projectClaudeDir, "settings.json");
Tables: contextual, llm_for_zotero_conversation_fork_links, llm_for_zotero_conversation_registry, llm_for_zotero_pending_deletions
await db.queryAsync(
Its developer can replace the file at any time without releasing a new version, and nothing checks it before it runs, so our check of the plugin doesn't cover what runs. The first time you ask about a figure, it downloads a 265–491 MB bundle of Python and the Poppler PDF tools from the developer's GitHub release and runs it, without asking; the README doesn't mention it. What's there now is standard software: we checked the macOS (Apple silicon) bundle, and every file is from conda-forge. We reviewed version 3.9.9; this release has the same code.
const response = await fetcher(url);
zotero://plugin. zotero-plugin-toolkit removed this link in version 6.0.0; this plugin is built with an older version
Services.io.getProtocolHandler("zotero").wrappedJSObject._extensions["zotero://plugin"] = pluginBridgeExtension;zotero://ztoolkit-debug
Services.io.getProtocolHandler("zotero").wrappedJSObject._extensions["zotero://ztoolkit-debug"] = debugBridgeExtension;Programs it names include curl, node; a setting lets Claude Code and Codex CLI run without asking
"resource://gre/modules/Subprocess.sys.mjs"
Reuses the sign-in you saved in Codex CLI
return joinLocalPath(resolveHomeDir2(), ".codex", "auth.json");
Works withZotero 7, 8, 9, 10, 11 betaUpdates automatically
What you'll needA key or sign-in for some featuresDetected automatically from its code
MaintenanceActive · last release 25 Nov 202628 contributors
LanguagesDocumentation in EnglishInterface: English and Chinese
Where your data goes
We found: only contacts services we could identify. 42 addresses in 6 groups.
defaultApiBase: "https://api.githubcopilot.com",
"codex auth usually uses https://chatgpt.com/backend-api/codex/responses": "codex \u8BA4\u8BC1\u901A\u5E38\u4F7F\u7528 https://chatgpt.com/backend-api/codex/responses",
OA_BASE = "https://api.openalex.org";
Forks and copies
17 other plugins use the same ID as this one. Every Zotero plugin carries an ID, a name tag Zotero uses to tell plugins apart. These 18 plugins carry the same one, because people copied llm-for-zotero to make their own versions and kept its ID.Show what this means
- You can only have one. Zotero sees them as the same plugin.
- Installing another replaces it. If you install one of the others, it takes this one's place.
- Check what you install. Several share this plugin's name, so make sure the file comes from the one you meant.
16 listed forks: Molaison/llm-for-zotero-papers, mejistus/llm-for-zotero, JerryZhongJ/llm-for-zotero, ycjian04/llm-for-zotero, entrophase/llm-for-zotero, const7/llm-for-zotero-lite, yangchenguang94/llm-for-zotero, Linn60/llm-for-zotero, uscabayaosj/llm-for-zotero_hack, JackWPP/llm-for-zotero, RocktheVegetableMechanics/LLM-for-Zotero-Batch-Process, Qingyun0118/llm-for-zotero, EvanMa1/llm-for-zotero, rhmteo/llm-for-zotero-linuxmint, Jerry-Li-J/llm-for-zotero-paper-companion and hzxwonder/llm-for-zotero.
The developer's response
because its AI agent can run commands and code on your computer; by default its JavaScript runs without asking you
Compatibility
Information
- Developer
- yilewang
- In useAn estimate of how many copies of Zotero have it: Zotero downloads each new version once for every copy that has the plugin, so we count the downloads of its most-downloaded recent release. Rounded. Plugins that update from outside GitHub count low.
- 38k
- DownloadsAll-time downloads of its release files from GitHub, counting every update. Installs from elsewhere aren't counted.
- 999,827
- This versionDownloads of version 3.9.21, its latest release, since it came out on 25 Nov 2026. A new release starts from zero; Downloads counts every release.
- 23,418
- ReleasesVersions published on GitHub. Everyone who has the plugin downloads each one again, which adds up in Downloads.
- 124
- AgeTime since its GitHub repository was created, on 29 Jan 2026. The plugin can be younger than its repository.
- 10 months
- StarsPeople who starred the repository on GitHub: a rough measure of interest.
- 3,642
- ContributorsPeople who have committed code to this plugin. Bots don't count, nor do the authors of a template or project it was copied from.
- 28
- LicenceThe licence the code is published under, as GitHub reports it.
- AGPL-3.0
- SizeThe size of its .xpi file.
- 5.4 MB
- Interface
- English and Chinese
- Documentation
- English
Is this your plugin?
The developer checklist shows what it takes to reach B, with the file and line for each finding. At B, you can add the Zotero Plugins badge to your GitHub README.
Developer checklistReport a problem
Something wrong on this page, or something we missed in the code? Tell us. We read every report.
Report a problemReview sheet for IT approval