MCP.so
Sign In

Zotero MCP Server

@TomasSchweizer

Basic information

Category

Other

Last updated

License

Apache-2.0 license

Transports

stdio

Author

TomasSchweizer

About Zotero MCP Server

Implementation of a Zotero MCP server to connect my local Zotero library to the 5ire chat interface.

Zotero MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "Zotero-MCP-Server": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Zotero MCP Server tools

2

`limit`: Maximum number of items to return

`item_keys`: A list of unique identifier keys of the Zotero items

Overview

What is Zotero MCP Server?

A prototype MCP server that lets you search all notes in your Zotero library via a query and then retrieve the full content of the matching items. It is designed to be used with an MCP client such as 5ire.

How to use Zotero MCP Server?

Clone the repository, set LIBRARY_ID and LIBRARY_TYPE in a .env file, create a Python virtual environment with uv venv, install dependencies with uv sync, then install the package with uv pip install . or uv pip install -e . for editable mode. The server exposes two tools — search_zotero_library and retrieve_zotero_item_content — that an MCP client can call.

Key features of Zotero MCP Server

  • Search your Zotero library using a text query.
  • Retrieve parsed content of specific items by their Zotero key.
  • System prompt enables LLMs to match searched item names to keys.
  • Works with the 5ire MCP client as a chat interface.

Use cases of Zotero MCP Server

  • Quickly locate notes and PDFs in your personal Zotero library.
  • Have an AI assistant retrieve and summarize the content of selected items.
  • Combine literature search with downstream analysis in a chat interface.

Frequently asked questions

1

What dependencies are required?

You need the `uv` package manager, a Python virtual environment, and the Zotero library’s user ID and type.

2

How do I configure access to my Zotero library?

Create a `.env` file in the repository root with `LIBRARY_ID` (your 8-digit Zotero library ID) and `LIBRARY_TYPE` (set to `"user"`).

3

What MCP client is this server tested with?

The primary client used is [5ire](https://github.com/nanbingxyz/5ire/tree/main); a full sample configuration for its `mcp.json` file is provided in the README.

4

What are the two tools the server exposes?

`search_zotero_library(limit, query)` returns matching item metadata, and `retrieve_zotero_item_content(item_keys)` returns the full parsed content for the given item keys.

5

Are there known limitations?

The README notes that pytest tests currently only run on the author’s machine with existing Zotero items; no official CI or cross‑platform test coverage is described.

Comments

More Other MCP servers