Zotero

The Zotero MCP server acts as a bridge between personal research libraries and AI assistants. In simple terms, it allows an AI like Claude to "look into" a user's Zotero collection to find specific academic papers, books, or articles. Instead of a user having to manually copy and paste citation info or PDF text into a chat window, this tool lets the AI browse, search, and read the contents of a library directly to help with drafting bibliographies or summarizing complex research. Under the hood, this Python-based server provides three primary tools that AI agents can use sequentially to complete sophisticated tasks. The `zotero_search_items` tool identifies relevant entries via text queries, while `zotero_item_metadata` pulls detailed bibliographic data for precise referencing. Most impressively, the `zotero_item_fulltext` tool allows the AI to extract the actual text content from stored PDFs, enabling deep analysis of document contents. This functionality can be powered either by the Zotero Web API for cloud-based access or a local API for those who prefer the speed and privacy of the desktop application. For developers and researchers building custom AI workflows, this server is highly flexible and easy to deploy. It supports multiple installation methods, including Docker containers for isolated environments and `uvx` for quick local execution. By standardizing Zotero interactions through the Model Context Protocol, it eliminates the need for developers to write custom scraping or API-handling code for every research project. This makes it an essential utility for anyone wanting to give their LLM-powered applications a "scholarly memory" capable of synthesizing vast amounts of academic data with minimal friction.

Category: Files, Documents & PDFs

Tags: academic, bibliography, pdf, research, zotero

Visit Zotero

How to install and configure Zotero

1. Installation The Zotero MCP server can be installed and run using uvx (via the uv package manager) or Docker. You must first choose between the Local API or the Web API.

Prerequisites: * Local API (Faster): 1. Open Zotero and go to Settings > Advanced. 2. Check "Allow other applications on this computer to communicate with Zotero". 3. Note: To access full-text PDF content via the local API, you currently need the Zotero Beta Build. * Web API: 1. Create an API key and find your Library ID (User ID) at zotero.org/settings/keys.

2. Configuration Add the following to your claude_desktop_config.json (or equivalent MCP settings file for Cursor/Cline):

Option A: Using uvx (Local API) json { "mcpServers": { "zotero": { "command": "uvx", "args": ["--upgrade", "zotero-mcp"], "env": { "ZOTERO_LOCAL": "true", "ZOTERO_API_KEY": "", "ZOTERO_LIBRARY_ID": "" } } } }

Option B: Using Docker (Web API) Replace PLACEHOLDER with your actual Zotero API key and User ID. json { "mcpServers": { "zotero": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "ZOTERO_API_KEY=PLACEHOLDER", "-e", "ZOTERO_LIBRARY_ID=PLACEHOLDER", "ghcr.io/kujenga/zotero-mcp:main" ] } } }

Environment Variables Reference: - ZOTERO_LOCAL: Set to true for local app access, false for web API. - ZOTERO_API_KEY: Required for Web API. - ZOTERO_LIBRARY_ID: Required for Web API. - ZOTERO_LIBRARY_TYPE: Set to user (default) or group.

3. Available Tools * zotero_search_items: Search for items in your Zotero library using a text query. * zotero_item_metadata: Get detailed metadata (author, date, tags, etc.) about a specific Zotero item. * zotero_item_fulltext: Get the full text content of a specific Zotero item (e.g., PDF contents).

4. Example Prompts * "Search my Zotero library for papers about 'Transformer architectures' and give me a summary of the most recent one." * "Retrieve the full text of my Zotero item titled 'Attention is All You Need' and explain its main conclusion." * "Look up the metadata for my recent Zotero additions and list the authors for each."

What you can do with Zotero

Use Case 1: Automated Literature Review and Synthesis Problem: Researchers often accumulate dozens of PDFs in their Zotero library and struggle to quickly synthesize findings or compare methodologies across multiple papers without manually re-reading every document. Solution: This MCP allows an AI assistant to act as a research partner. It can search for specific keywords across the library, pull the full text of relevant papers, and provide a comparative summary or a thematic analysis of the research. Example: A user asks, "Find all papers in my library about 'transformer architectures' from 2023 and summarize their different approaches to attention mechanisms." The AI uses zotero_search_items to find the papers, zotero_item_fulltext to read the PDFs, and generates a structured report.

Use Case 2: Accurate Bibliographic Management and Formatting Problem: When writing a manuscript, users often remember a concept but forget the exact publication year, co-authors, or journal name required for a citation, leading to manual searching within the Zotero desktop app. Solution: The AI can instantly retrieve precise metadata for any item in the library. Because the AI has access to the raw metadata via zotero_item_metadata, it can format citations in any style (APA, BibTeX, Chicago) or verify if a citation in a draft is accurate. Example: A user says, "I'm writing a paper and need the BibTeX entry for the paper by Smith about neural radiance fields." The AI searches for the item, retrieves its metadata, and outputs the perfectly formatted BibTeX code.

Use Case 3: Fact-Checking and Deep Content Querying Problem: Researchers often remember that a paper contained a specific statistic or a niche experimental result but cannot remember which specific paper it was in or on which page it appeared. Solution: Using the zotero_item_fulltext tool, the AI can "read" through the user's library to find specific mentions of data points or evidence that match a natural language query. Example: A user asks, "Which paper in my library mentioned a 15% increase in efficiency using the 'Green-Algorithm'?" The AI searches for likely candidates, checks their full text, and replies: "That was 'Sustainable AI' by Jones et al. (2022), located in the Results section on page 4."

Use Case 4: Discovery of Research Gaps Problem: It is difficult for a human to see the "big picture" of what is missing from their current collection of research when preparing a thesis or a new study. Solution: By analyzing…

Key facts

  • Open Source
  • https://github.com/kujenga/zotero-mcp
  • Files, Documents & PDFs, Notes & Knowledge Management, Web Search & Research
  • academic, bibliography, pdf, research, zotero

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP MD2PDF Server — MCP MD2PDF Server is an MCP server that enables automated conversion of Markdown documents into formatted PDF files with full…
  • MCP Media Processing Server — MCP Media Processing Server is an MCP server that connects AI assistants like Claude Desktop to local media manipulation utilities,…
  • MCP Knowledge Base — MCP Knowledge Base is an MCP server that processes local documents and answers queries based on their contents through similarity…
  • MCP Music Analysis — MCP Music Analysis is an MCP server that enables AI clients like Claude to inspect and process sound recordings using…

What can Zotero do?

The Zotero MCP server allows AI assistants to interact directly with your Zotero reference library. It provides three primary tools: searching references with text queries, retrieving complete item metadata like authors and dates, and extracting the full text from attached document files like PDFs. This lets language models perform literature synthesis, verify citations, and answer questions based on your academic research.

How do I install Zotero?

You can run the server via uvx or Docker. To install using uvx with Claude Desktop, add a new server entry to your claude_desktop_config.json file setting the command to uvx with the argument zotero-mcp@latest. You must configure the environment variables ZOTERO_LOCAL, ZOTERO_API_KEY, and ZOTERO_LIBRARY_ID according to whether you use the local desktop client or the Zotero Web API.

What is the difference between the local API and the Web API?

The local API communicates directly with the Zotero desktop app running on your machine, providing faster responses, local privacy, and citation key search. The Web API connects over the internet to Zotero cloud servers using an API key and user ID, which is suitable for containerized setups or remote environments where the desktop application is not running.

Which MCP clients work with Zotero?

The server works with any client that implements the Model Context Protocol, including Claude Desktop, Cursor, Cline, and development environments running the MCP Inspector. Once configured in the client settings file, the assistant automatically detects and calls the search, metadata, and full-text tools as needed during conversational research prompts.

Is Zotero open source?

Yes, the Zotero MCP server is open source. The project source code, issue tracking, and release management are maintained publicly on GitHub under the repository kujenga/zotero-mcp, and the Python package is distributed through PyPI and GitHub Container Registry.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories