# Zotero MCP [Health: Active]

**Category:** 🔬 Research  
**Repository:** https://github.com/kujenga/zotero-mcp  
**GitHub Stars:** 162  
**Views:** 12  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/zotero-mcp-2

## Description
Search your Zotero library, retrieve item metadata, and read full text from AI assistants.

## Tools
Capabilities this server exposes over MCP:

- **zotero_item_metadata** — Get the complete metadata for a specific Zotero item, given the item key. Includes the citation key, publication details, identifiers, and timestamps.
- **zotero_item_fulltext** — Get the full text content of a Zotero item, given the item key of a parent item or specific attachment.
- **zotero_search_items** — Search for items in your Zotero library. Returns a summary of each match; look up individual results with zotero_item_metadata or zotero_item_fulltext.

Choosing a query mode:
- 'titleCreatorYear' (the default) searches titles, creator names, and years. Use it for known-item lookup, where you know roughly what the item is called or who wrote it.
- 'everything' additionally searches abstracts, the Extra field, note text, and the full text of attachments. Use it for topic and full-text search, where the term would not appear in a title.

Words match by prefix, and space-separated words must all be present though not necessarily adjacent, so 'cybor insect' matches 'Cyborg Insect'. A hyphen separates words and switches the match to OR: 'oxygen-deprived' matches anything containing 'oxygen' or 'deprived', which is far broader than intended. Write hyphenated terms with a space to require both halves.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "zotero-mcp": {
    "command": "uvx",
    "args": ["zotero-mcp@latest"],
    "env": {
      "ZOTERO_LOCAL": "",
      "ZOTERO_API_KEY": "",
      "ZOTERO_LIBRARY_ID": "",
      "ZOTERO_LIBRARY_TYPE": ""
    }
  }
}
```

**Requires environment variables:** `ZOTERO_LOCAL`, `ZOTERO_API_KEY`, `ZOTERO_LIBRARY_ID`, `ZOTERO_LIBRARY_TYPE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Zotero MCP does

The Zotero MCP MCP server gives MCP-compatible AI assistants read access to a Zotero library. It focuses on three library operations: finding items with a text query, retrieving all populated metadata for a selected item, and extracting the text of an item’s PDF.

Search results can be followed by metadata or full-text requests, allowing an assistant to locate a source and then inspect its bibliographic details or contents. Metadata is grouped into publication information, identifiers, timestamps, library information, and other fields returned by Zotero.

## How it works

The server is implemented in Python and communicates with Zotero through one of two API paths. The local API is provided by the Zotero desktop application and can be more responsive, but Zotero must be running on the same computer and configured to allow communication from other applications.

The alternative is Zotero’s Web API. That mode uses a Zotero API key and library ID, and it can access either a user library or a group library according to the configured library type. The server returns formatted text from the selected Zotero records for consumption by an MCP client.

One API difference affects search behavior: local Zotero search includes citation keys, while Web API search does not. A citation-key query can therefore succeed locally but return no results through the Web API.

## Setup and configuration

The Zotero MCP MCP server can be launched with `uvx`, `pipx`, a local Python checkout, or Docker. For a local installation, enable Zotero’s setting under Advanced that allows other applications on the computer to communicate with Zotero. Set `ZOTERO_LOCAL=true` when using that interface.

For Web API access, create an API key in Zotero account settings and identify the library ID. Configure these environment variables as needed:

- `ZOTERO_LOCAL`: Selects the local API when set to `true`; the default is `false`.
- `ZOTERO_API_KEY`: Holds the Web API key and is not needed for local API access.
- `ZOTERO_LIBRARY_ID`: Identifies the user or group library for Web API requests and is not needed locally.
- `ZOTERO_LIBRARY_TYPE`: Sets the library type to `user` or `group`; it defaults to `user`.

The README includes MCP configuration examples for Claude Desktop using `uvx` and for Docker using the published container image. Development setups can install dependencies with `uv sync`, place configuration in a project `.env` file, and run the server through the MCP Inspector.

## Tools and capabilities

The Zotero MCP MCP server exposes these tools:

- `zotero_search_items` searches the library using a text query.
- `zotero_item_metadata` returns the complete populated metadata for a specific item, including fields not limited to a fixed schema.
- `zotero_item_fulltext` returns the full text of a specific Zotero item, such as PDF contents.

The tools can be discovered through an MCP client or the MCP Inspector. Metadata fields omitted by Zotero are skipped, while fields unfamiliar to the server are preserved under an “Other Fields” section.

## Limitations and notes

This server provides the interactions documented in the repository and is centered on reading Zotero data. The full-text capability is described for PDF contents, so it should not be assumed to extract text from every attachment type. Local API use depends on the Zotero application being available and configured on the same computer. Web API use requires the appropriate key and library ID, and citation-key searches are not available through that API path.

_Full upstream README: https://allmcps.com/mcp/zotero-mcp-2/readme_

