Zotero MCP seamlessly connects your
- Find papers, articles, and books by title, author, or content
- Perform complex searches with multiple criteria
- Browse collections, tags, and recent additions
- Retrieve detailed metadata for any item
- Get full text content (when available)
- Access attachments, notes, and child items
- Extract and search PDF annotations directly
- Access Zotero's native annotations
- Create and update notes and annotations
- Local method for offline access (no API key needed)
- Web API for cloud library access
- Perfect for both local research and remote collaboration
To install Zotero MCP for Claude Desktop automatically via
npx -y @smithery/cli install @54yyyu/zotero-mcp --client claude
uv tool install "git+https://github.com/54yyyu/zotero-mcp.git"
zotero-mcp setup # Auto-configure for Claude Desktop
pip install git+https://github.com/54yyyu/zotero-mcp.git
zotero-mcp setup # Auto-configure for Claude Desktop
Full documentation is available at
Requirements
- Python 3.10+
- Zotero 7+ (for local API with full-text access)
- Claude Desktop or compatible AI assistant
After installation, either:
-
Auto-configure (recommended):
zotero-mcp setup
-
Manual configuration: Add to your
claude_desktop_config.json
:{ "mcpServers": { "zotero": { "command": "zotero-mcp", "env": { "ZOTERO_LOCAL": "true" } } } }
- Start Zotero desktop (make sure local API is enabled in preferences)
- Launch Claude Desktop
- Access the Zotero-MCP tool through Claude Desktop's tools interface
Example prompts:
- "Search my library for papers on machine learning"
- "Find recent articles I've added about climate change"
- "Summarize the key findings from my paper on quantum computing"
- "Extract all PDF annotations from my paper on neural networks"
- "Search my notes and annotations for mentions of 'reinforcement learning'"
Go to Settings -> MCP Servers -> Edit MCP Configuration, and add the following:
{
"mcpServers": {
"zotero": {
"name": "zotero",
"type": "stdio",
"isActive": true,
"command": "zotero-mcp",
"args": [],
"env": {
"ZOTERO_LOCAL": "true"
}
}
}
}
Then click "Save".
Cherry Studio also provides a visual configuration method for general settings and tools selection.
For accessing your Zotero library via the web API (useful for remote setups):
zotero-mcp setup --no-local --api-key YOUR_API_KEY --library-id YOUR_LIBRARY_ID
ZOTERO_LOCAL=true
: Use the local Zotero API (default: false)ZOTERO_API_KEY
: Your Zotero API key (for web API)ZOTERO_LIBRARY_ID
: Your Zotero library ID (for web API)ZOTERO_LIBRARY_TYPE
: The type of library (user or group, default: user)
# Run the server directly
zotero-mcp serve
# Specify transport method
zotero-mcp serve --transport stdio|sse
# Get help on setup options
zotero-mcp setup --help
Zotero MCP includes advanced PDF annotation extraction capabilities:
- Direct PDF Processing: Extract annotations directly from PDF files, even if they're not yet indexed by Zotero
- Enhanced Search: Search through PDF annotations and comments
- Image Annotation Support: Extract image annotations from PDFs
- Seamless Integration: Works alongside Zotero's native annotation system
For optimal annotation extraction, it is highly recommended to install the
The first time you use PDF annotation features, the necessary tools will be automatically downloaded.
zotero_search_items
: Search your libraryzotero_advanced_search
: Perform complex searcheszotero_get_collections
: List collectionszotero_get_collection_items
: Get items in a collectionzotero_get_tags
: List all tagszotero_get_recent
: Get recently added items
zotero_get_item_metadata
: Get detailed metadatazotero_get_item_fulltext
: Get full text contentzotero_get_item_children
: Get attachments and notes
zotero_get_annotations
: Get annotations (including direct PDF extraction)zotero_get_notes
: Retrieve notes from your Zotero libraryzotero_search_notes
: Search in notes and annotations (including PDF-extracted)zotero_create_note
: Create a new note for an item (beta feature)
- No results found: Ensure Zotero is running and the local API is enabled
- Can't connect to library: Check your API key and library ID if using web API
- Full text not available: Make sure you're using Zotero 7+ for local full-text access
MIT