About MCP Zotero
MCP Zotero is a Model Context Protocol server that connects Claude Desktop to a Zotero library through the Zotero Cloud API. It lets users browse collections, look up items and search their library from a chat. It is aimed at researchers who keep references in Zotero.
Key features
- 01Lists collections in the library
- 02Shows items within a collection
- 03Returns detailed information for a paper
- 04Searches the entire library
- 05Lists recently added papers
Use cases
- 01Finding saved references from Claude Desktop
- 02Browsing papers in a specific collection
- 03Checking recently added items in a library
MCP support
This is an MCP server that exposes five tools for reading collections, items and search results from a Zotero library to clients such as Claude Desktop.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Zotero
A Model Context Protocol server for Zotero integration that allows Claude to interact with your Zotero library.
Setup
-
Get your Zotero credentials:
# First, create an API key at https://www.zotero.org/settings/keys # Then use it to get your user ID: curl -H "Zotero-API-Key: YOUR_API_KEY" https://api.zotero.org/keys/currentThe response will look like:
{ "userID": 123456, "username": "your_username", "access": { "user": { "library": true, "files": true, "notes": true, "write": true } } }The
userIDvalue is what you need. -
Set environment variables:
export ZOTERO_API_KEY="your-api-key" export ZOTERO_USER_ID="user-id-from-curl" -
Verify your credentials:
# Test that your credentials work: curl -H "Zotero-API-Key: $ZOTERO_API_KEY" \ "https://api.zotero.org/users/$ZOTERO_USER_ID/collections"You should see your collections list in the response.
-
Install and run:
# Install globally (recommended) npm install -g mcp-zotero mcp-zotero # Or run directly with npx npx mcp-zotero
Integration with Claude Desktop
To use this server with Claude Desktop, add the following to your Claude Desktop configuration:
{
"mcpServers": {
"zotero": {
"command": "mcp-zotero",
"env": {
"ZOTERO_API_KEY": YOUR_API_KEY,
"ZOTERO_USER_ID": YOUR_USER_ID
}
}
}
}
Available Tools
get_collections: List all collections in your libraryget_collection_items: Get items in a specific collectionget_item_details: Get detailed information about a papersearch_library: Search your entire libraryget_recent: Get recently added papers
Troubleshooting
If you encounter any issues:
-
Verify your environment variables are set:
echo $ZOTERO_API_KEY echo $ZOTERO_USER_ID -
Check the installation:
npm list -g mcp-zotero -
Try reinstalling:
npm uninstall -g mcp-zotero npm install -g mcp-zotero
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.