Zotero (kujenga)

Developer tools

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

Your AI app calls the Zotero (kujenga) MCP server, which does the developer tools work and sends the result back to the chat.

About Zotero (kujenga)

Zotero (kujenga) is a community MCP server from kujenga, filed in our directory under developer tools. Search your Zotero library, retrieve item metadata, and read full text from AI assistants.

Zotero (kujenga) runs on your own machine: your AI app starts it with the command uvx zotero-mcp==0.3.2 and talks to it over standard input and output.

Zotero (kujenga) is listed in the official MCP registry as io.github.kujenga/zotero-mcp, version 0.3.2.

At a glance

Publisher
kujenga (community)
Runs
Locally on your machine
Install from
Python package on PyPI: zotero-mcp
Written in
Python
License
MIT
GitHub stars
163
Official MCP registry
io.github.kujenga/zotero-mcp

How to set up Zotero (kujenga)

  1. Install uv on the machine that runs your AI app, because Zotero (kujenga) starts with uvx and fetches its Python package on first run.
  2. Check the Zotero (kujenga) README for keys or settings; the registry lists none that Zotero (kujenga) requires.
  3. Add Zotero (kujenga) to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Zotero (kujenga) tools to confirm the connection.
  5. Run one read-only task with Zotero (kujenga) first, and keep your app asking before each tool call until the results look right.

Zotero (kujenga) compared with similar servers

  • Edge Stats by LuxAlgo has fewer GitHub stars than Zotero (kujenga) (161 against 163); both are community servers, and both run locally.
  • Plex by vladimir-tutin has fewer GitHub stars than Zotero (kujenga) (163 against 163); both are community servers, and both run locally.
  • Unreal Analyzer by ayeletstudioindia has fewer GitHub stars than Zotero (kujenga) (161 against 163); both are community servers, and both run locally.

Before you connect Zotero (kujenga)

  • Give Zotero (kujenga) its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Zotero (kujenga) tool call until you trust what it does with them.
  • Treat text that Zotero (kujenga) fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Zotero (kujenga) on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Zotero (kujenga)

How marketing and sales teams put Zotero (kujenga) to work, by company size. Pick the size closest to yours and start Zotero (kujenga) on one use case.

Small business

  • A small business with a developer can use Zotero (kujenga) to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Zotero (kujenga) to explain and fix a marketing site issue without context switching between tools.
  • Zotero (kujenga) runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Zotero (kujenga) to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Zotero (kujenga) to keep scripts and automations documented and versioned as they change.
  • Start Zotero (kujenga) on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Zotero (kujenga) with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Zotero (kujenga) so web and marketing engineering share one reviewed way of working with AI.
  • Zotero (kujenga) is a community server, so have security review the code and pin a version before Zotero (kujenga) touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Zotero (kujenga) README

From kujenga/zotero-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Model Context Protocol server for Zotero

This project is a python server that implements the Model Context Protocol (MCP) for Zotero, giving you access to your Zotero library within AI assistants. It is intended to implement a small but maximally useful set of interactions with Zotero for use with MCP clients.

Features

This MCP server provides the following tools:

  • zotero_search_items: Search for items in your Zotero library using a text query
  • zotero_item_metadata: Get the complete metadata for a specific Zotero item, covering every populated field grouped into publication details, identifiers, timestamps, and library information
  • zotero_item_fulltext: Get the full text of a specific Zotero item (i.e. PDF contents)

These can be discovered and accessed through any MCP client or through the MCP Inspector.

Each tool returns formatted text containing relevant information from your Zotero items, and AI assistants such as Claude can use them sequentially, searching for items then retrieving their metadata or text content.

Installation

This server can either run against either a local API offered by the Zotero desktop application) or through the Zotero Web API. The local API can be a bit more responsive, but requires that the Zotero app be running on the same computer with the API enabled. To enable the local API, do the following steps:

  1. Open Zotero and open "Zotero Settings"
  2. Under the "Advanced" tab, check the box that says "Allow other applications on this computer to communicate with Zotero".

To use the Zotero Web API, you'll need to create an API key and find your Library ID (usually your User ID) in your Zotero account settings here: https://www.zotero.org/settings/keys

These are the available configuration options:

  • ZOTERO_LOCAL=true: Use the local Zotero API (default: false, see note below)
  • ZOTERO_API_KEY: Your Zotero API key (not required for the local API)
  • ZOTERO_LIBRARY_ID: Your Zotero library ID (your user ID for user libraries, not required for the local API)
  • ZOTERO_LIBRARY_TYPE: The type of library (user or group, default: user)
uvx with Local Zotero API

To use this with Claude Desktop and a direct python install with uvx, add the following to the mcpServers configuration:

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

The @latest specifier is optional and will pull the latest version when new ones are available. If you don't have uvx installed you can use pipx run instead, or clone this repository locally and use the instructions in Development below.

Docker with Zotero Web API

If you want to run this MCP server in a Docker container, you can use the following configuration, inserting your API key and library ID:

{
  "mcpServers": {
    "zotero": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e", "ZOTERO_API_KEY=PLACEHOLDER",
        "-e", "ZOTERO_LIBRARY_ID=PLACEHOLDER",
        "ghcr.io/kujenga/zotero-mcp:main"
      ],
    }
  }
}

To update to a newer version, run docker pull ghcr.io/kujenga/zotero-mcp:main. It is also possible to use the docker-based installation to talk to the local Zotero API, but you'll need to modify the above command to ensure that there is network connectivity to the Zotero application's local API interface.

Development

Information on making changes and contributing to the project.

  1. Clone this repository
  2. Install dependencies with uv by running: uv sync
  3. Create a .env file in the project root with the environment variables above

Start the MCP Inspector for local development:

npx @modelcontextprotocol/inspector uv run zotero-mcp

To test the local repository against Claude Desktop, run echo $PWD/.venv/bin/zotero-mcp in your shell within this directory, then set the following within your Claude Desktop configuration

{
  "mcpServers": {
    "zotero": {
      "command": "/path/to/zotero-mcp/.venv/bin/zotero-mcp"
      "env": {
        // Whatever configuration is desired.
      }
    }
  }
}
Running Tests

To run the test suite:

uv run pytest
Releasing
  1. Bump the version in pyproject.toml and server.json (two places: the server version and the package version).
  2. Publish to PyPI with make publish.
  3. Publish updated metadata to the official MCP registry with make publish-mcp, authenticating first with mcp-publisher login github if needed.
Docker Development

Build the container image with this command:

docker build . -t zotero-mcp:local

To test the container with the MCP inspector, run the following command:

npx @modelcontextprotocol/inspector \
    -e ZOTERO_API_KEY=$ZOTERO_API_KEY \
    -e ZOTERO_LIBRARY_ID=$ZOTERO_LIBRARY_ID \
    docker run --rm -i \
        --env ZOTERO_API_KEY \
        --env ZOTERO_LIBRARY_ID \
        zotero-mcp:local

Relevant Documentation

Appendix: notes on Zotero's API

Item metadata is rendered from whatever fields the API returns rather than from a fixed list. Fields it omits are skipped, and fields this server doesn't know about appear under an "Other Fields" heading, so a Zotero upgrade never silently drops metadata.

The two APIs differ in one way worth knowing: the local API's quick search indexes citation keys, while the Web API does not, so searching for one returns nothing over the Web API even though the field is present in the data.

Questions about Zotero (kujenga)

What is the Zotero (kujenga) MCP server?

Search your Zotero library, retrieve item metadata, and read full text from AI assistants. Zotero (kujenga) is maintained by kujenga on GitHub at kujenga/zotero-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Zotero (kujenga) MCP server?

Add Zotero (kujenga) to your AI app's MCP config with the command uvx zotero-mcp==0.3.2. In Claude Code, run claude mcp add --transport stdio kujenga-zotero -- uvx zotero-mcp==0.3.2. To run Zotero (kujenga) this way you need uv installed.

Does Zotero (kujenga) need an API key?

The registry lists no required keys for Zotero (kujenga). Check the Zotero (kujenga) README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Zotero (kujenga) an official MCP server?

No. Zotero (kujenga) is a community server maintained by kujenga. Community servers can be excellent; read the code and the open issues before you give Zotero (kujenga) access to company data.

What license is Zotero (kujenga) under?

Zotero (kujenga) is released under the MIT license, according to its GitHub repository. The license covers the code of Zotero (kujenga); the service it connects to has its own terms.