Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyWork and productivity

Zotero MCP

Lets your AI agent search your Zotero library, read item details and get the full text of your PDFs.

162 stars on GitHubby kujengaLicense MITUpdated 4 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add zotero-mcp-2 -- uvx zotero-mcp

What to fill in

NameWhat it isRequired
ZOTERO_LOCALUse the local API from the Zotero desktop app instead of the Web API. Requires Zotero to be running with 'Allow other applications on this computer to communicate with Zotero' enabled under Settings > Advanced.No
ZOTERO_API_KEYZotero Web API key from https://www.zotero.org/settings/keys. Not required when ZOTERO_LOCAL is true.No
ZOTERO_LIBRARY_IDZotero library ID (your user ID for user libraries). Not required when ZOTERO_LOCAL is true.No
ZOTERO_LIBRARY_TYPEWhether ZOTERO_LIBRARY_ID refers to a user or group library.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Search my Zotero library for papers about transformers.
Show the full metadata of the first result.

What it is

This server connects your AI agent to your Zotero reference library. The agent can search items, read all the metadata of one item, and pull the full text of an attached PDF. It can talk to the Zotero desktop app on your computer or to the Zotero web API.

What it can do

  • zotero_search_items: search your library with a text query
  • zotero_item_metadata: full metadata of one item, grouped into publication details, identifiers, timestamps and library information
  • zotero_item_fulltext: the full text of an item, such as PDF contents

When to use

  • β€ΊWhen you want your agent to find papers in your own library on a topic
  • β€ΊWhen you need the details or citation data of one saved item
  • β€ΊWhen you want it to read the text of a PDF you saved in Zotero

What you need

Python with uvx, or Docker. Either turn on the local Zotero API (Zotero settings, Advanced, allow other applications to communicate with Zotero) or create a Zotero API key and library ID.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The project is a public Python server on PyPI. Zotero itself is separate.

Do I need an API key?

Not for the local API. For the Zotero web API you need an API key and your library ID.

How do I use the local API?

Open Zotero, enable the setting under Advanced, and set ZOTERO_LOCAL=true. Zotero must be running on the same computer.

Can it use group libraries?

Yes. Set ZOTERO_LIBRARY_TYPE to group.

Can I run it in Docker?

Yes, with the ghcr.io/kujenga/zotero-mcp image and your key and library ID.

Any difference between the two APIs?

Yes. The local quick search indexes citation keys, but the web API does not.

If it does not work

  • β€ΊFor the local API, make sure the Zotero desktop app is running with the setting enabled.
  • β€ΊFor the web API, check ZOTERO_API_KEY and ZOTERO_LIBRARY_ID in the env block.
  • β€ΊIf uvx is missing, install uv or use pipx run instead.

5 new skills a week. 1 minute to read.