MCP server for Zotero integration - search, retrieve, and extract PDF text from your Zotero library
Project description
Zotero MCP Server
An MCP (Model Context Protocol) server that integrates with Zotero's local API to search, retrieve, and extract full text from PDFs in your Zotero library.
Prerequisites
- Zotero application with local API enabled
- Python 3.12 or higher
- uv or pip package manager
Enable Zotero Local API
In Zotero's settings (Preferences → Advanced → General), enable:
☑️ Allow other applications on this computer to communicate with Zotero
Configuration
Add the following to your MCP client configuration file (e.g., mcp.json for Claude Desktop or Cursor):
{
"mcpServers": {
"zotero": {
"command": "uvx",
"args": ["masaki39-zotero-mcp"]
}
}
}
Available Tools
| Tool | Parameters | Description |
|---|---|---|
zotero_search_items |
q (optional) |
Search items in your Zotero library by author name or title. Returns up to 30 matching items (excluding attachments). |
zotero_get_item |
itemKey (required) |
Retrieve detailed information about a specific item including title, authors, publication info, abstract, tags, etc. |
zotero_read_pdf |
itemKey (required) |
Extract full text from a PDF attachment associated with a Zotero item. |
read_pdf |
local_path (required) |
Extract full text from a PDF file at a local file path. Can be used with filesystem MCP servers. |
Example Usage
Once configured, you can use these tools through your MCP client:
- "Search my Zotero library for papers about machine learning"
- "Get details for item ABCD1234"
- "Extract the text from the PDF attached to item ABCD1234"
License
MIT License - see LICENSE file for details.
Contributing
Issues and pull requests are welcome at https://github.com/masaki39/zotero-mcp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file masaki39_zotero_mcp-0.1.0.tar.gz.
File metadata
- Download URL: masaki39_zotero_mcp-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9342fd7c29eaebf482e14f7cac2bd1d78c9464a77aa0b403e98216e4e3603cc5
|
|
| MD5 |
dc376c3f44510098e9d7a57bb7145211
|
|
| BLAKE2b-256 |
676dfc232aa1b94dfdcff226f47c885f0442217c37fbe1061684155d219cd811
|
File details
Details for the file masaki39_zotero_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: masaki39_zotero_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc282accffc9d759b607f3d293b4af6e37c4f6bb1333f0cba0dde10141c8e78e
|
|
| MD5 |
d53d0069df95cd712bce0fbf73bbe2c3
|
|
| BLAKE2b-256 |
a5d8e8e35d18e13d6deee43899bc5a89fb310857c4519c329480b995fb1d7eb4
|