Zotero MCP Connector
Zotero MCP Connector
A Model Control Protocol (MCP) connector for integrating your local Zotero with Claude.
This enables direct read access to your local Zotero library through Claude's Desktop interface.
It depends on the ability to access a local web-api in Zotero 7.
This was inspired by a repository using Node.js and the web api: mcp-zotero.
This builds on the shoulders of the fantastic pyzotero library.
Installation
Information about Claude Desktop interacting with MCPs can be found here.
- Use
uv
. Installation instructions can be found here. - Checkout the git project to local space and activate the virtual environment inside:
- Enable the local API in Zotero 7:
- Add the server to your local Claude installation:
Configuration
The connector is configured to work with local Zotero installations and currently only user
libraries are supported.
By default it uses the userid 0
, but you can also set the environment variable ZOTERO_USER_ID
if needed:
Available Functions
The connector provides the following functions:
get_collections()
: List all collections in your Zotero libraryget_collection_items(collection_key)
: Get all items in a specific collectionget_item_details(item_key)
: Get detailed information about a specific paper, including abstractsearch_library(query)
: Search your entire Zotero libraryget_recent(limit=10)
: Get recently added papers to your library
This functionality should be extended in the future.
Requirements
- Python 3.10+
- Local Zotero installation
- Claude Desktop
Contributing
Contributions are welcome! Please visit the GitHub repository to:
- Report issues
- Submit pull requests
- Suggest improvements
License
MIT
Integrates local Zotero libraries with Claude's Desktop interface, allowing users to access and manage their library collections via a local API.