LLM for Zotero

v1.0.0Knowledge & Memorystable

A research agent system deeply rooted in your own Zotero library.

academic-papercodexliterature-analysisllm-agentmcp
Share:
1,509
Stars
0
Downloads
0
Weekly
0/5

What is LLM for Zotero?

LLM for Zotero is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to research agent system deeply rooted in your own zotero library.

A research agent system deeply rooted in your own Zotero library.

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A research agent system deeply rooted in your own Zotero lib

Use Cases

Build research agents grounded in your personal Zotero library.
Analyze academic papers with RAG and literature analysis.
Use your research collection as context for LLM agents.
yilewang

Maintainer

LicenseAGPL-3.0
Languagetypescript
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx llm-for-zotero

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use LLM for Zotero

LLM for Zotero is a Zotero plugin and research agent system that embeds LLM capabilities directly into your personal academic library. It supports paper summarization, multi-paper comparison, figure interpretation, and an agent mode that can search your library, retrieve PDF passages via RAG, update metadata, create notes, and sync outputs to Obsidian or Logseq. Researchers use it to have intelligent conversations with their literature collections, generate structured summaries, and query across dozens of papers without leaving Zotero.

Prerequisites

  • Zotero 6 or Zotero 7 desktop application installed
  • An API key from your LLM provider (OpenAI, Anthropic Claude, or a compatible provider with an OpenAI-compatible API)
  • PDF attachments available in your Zotero library for full-text analysis
  • Optional: Obsidian or Logseq for syncing generated notes to your knowledge base
1

Download the plugin XPI file

Go to the Releases page of the llm-for-zotero GitHub repository and download the latest .xpi plugin file.

# Visit: https://github.com/yilewang/llm-for-zotero/releases
# Download the latest .xpi file
2

Install the plugin in Zotero

In Zotero, open the Add-ons manager and install the plugin from the downloaded file.

# In Zotero:
# Tools → Add-ons → click gear icon → Install Add-on From File
# Select the downloaded .xpi file and confirm
3

Configure your LLM provider

Open Zotero Preferences and navigate to the llm-for-zotero section. Enter your LLM provider's API base URL, secret key, and model name. Multiple providers can be configured simultaneously.

# In Zotero:
# Edit → Preferences → llm-for-zotero
# API Base URL: https://api.openai.com/v1  (or your provider's URL)
# Secret Key: your-api-key-here
# Model: gpt-4o  (or claude-3-5-sonnet, etc.)
4

Enable agent mode for library search

In the plugin preferences, enable agent mode to unlock tools that can search your library, retrieve specific PDF passages, apply tags, and manage notes programmatically.

5

Configure note export directory

If you want generated notes synced to Obsidian or Logseq, set the output directory in preferences to your vault's notes folder.

# In llm-for-zotero preferences:
# Output Directory: /path/to/your/obsidian-vault/Literature Notes

LLM for Zotero Examples

Client configuration

MCP server configuration for llm-for-zotero if using it in MCP mode alongside Claude Desktop.

{
  "mcpServers": {
    "llm-for-zotero": {
      "command": "npx",
      "args": ["llm-for-zotero"],
      "env": {
        "ZOTERO_API_KEY": "your-zotero-api-key",
        "LLM_API_KEY": "your-openai-or-anthropic-key",
        "LLM_BASE_URL": "https://api.openai.com/v1",
        "LLM_MODEL": "gpt-4o"
      }
    }
  }
}

Prompts to try

Example queries to run from the llm-for-zotero chat panel or agent mode.

- "Summarize this paper and save the summary as a Zotero note"
- "Compare the methodologies of the three papers I have selected"
- "Search my library for papers about attention mechanisms and list their key findings"
- "What does this figure on page 7 show? [attach screenshot]"
- "Summarize this paper and export the notes to my Obsidian vault with YAML frontmatter"

Troubleshooting LLM for Zotero

Plugin fails to load or does not appear in Zotero after installation

Restart Zotero after installing the .xpi file. If the plugin still does not appear, check that you are running a compatible Zotero version (6 or 7) and that the .xpi file is not corrupted by re-downloading it from the Releases page.

LLM requests fail with authentication errors

Open Zotero Preferences → llm-for-zotero and verify the API Base URL format matches your provider (OpenAI: https://api.openai.com/v1, Anthropic-compatible: check provider docs). Ensure the Secret Key is copied without leading or trailing spaces.

Agent mode cannot find papers in my library

Agent mode uses RAG over your PDF attachments. Ensure the papers you want to search have PDF files attached in Zotero (not just web links). Papers with only metadata but no attached PDF cannot have their full text retrieved.

Frequently Asked Questions about LLM for Zotero

What is LLM for Zotero?

LLM for Zotero is a Model Context Protocol (MCP) server that research agent system deeply rooted in your own zotero library. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install LLM for Zotero?

Follow the installation instructions on the LLM for Zotero GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with LLM for Zotero?

LLM for Zotero works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is LLM for Zotero free to use?

Yes, LLM for Zotero is open source and available under the AGPL-3.0 license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "llm-for-zotero": { "command": "npx", "args": ["-y", "llm-for-zotero"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use LLM for Zotero?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides