Zotero MCP Agent
Enables research paper search and download, Zotero library management, and knowledge base export through natural language.
README
Zotero MCP Agent
An MCP server that allows an LLM to research online papers, manage your Zotero library, and export knowledge bases.
Installation
-
Install Dependencies:
pip install -r requirements.txt(Or use
uv syncif using uv) -
Configuration:
- Copy
.env.exampleto.env:cp .env.example .env - Fill in your keys in
.env(Zotero API Key, LLM Key, Tavily Key). - Proxy: If you are in a restricted network environment (e.g. using v2rayN), ensure
HTTP_PROXYandHTTPS_PROXYare set in.env.
- Copy
Usage with Chatbox / Claude Desktop
To use this MCP server, you need to configure your client to run the server script.
Command
The server runs via standard input/output (stdio).
Command: python
Arguments: [absolute/path/to/main.py]
Example configuration for Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"zotero-agent": {
"command": "python",
"args": [
"D:/Yan2file/zotero-mcp/main.py"
],
"env": {
"PYTHONPATH": "D:/Yan2file/zotero-mcp"
}
}
}
}
> [!IMPORTANT]
> **Windows Users**: If you encounter errors like `[Errno 2] No such file or directory` where the path looks mashed together:
> 1. Use **forward slashes** (`/`) in your paths.
> 2. Point to `main.py` in the root folder, NOT `src/server.py`.
> Example: `D:/Yan2file/zotero-mcp/main.py`
*Note: You might need to use the full path to your python executable if it's in a virtual environment (e.g. `D:/Yan2file/zotero-mcp/.venv/Scripts/python.exe`).*
## Available Tools
- `search_online_papers(query, download=True)`: Search and download PDFs.
- `read_local_paper(file_path)`: Read the text content of a downloaded PDF.
- `read_zotero_item(item_key)`: Read the content of a Zotero item by its Key (e.g. `ABCD1234`).
- `search_local_library(query)`: Search your Zotero library.
- `export_knowledge_base(output_path)`: Export Zotero items to Markdown.
## Example Prompts
- "Search for the latest papers on LLM Agents and download two of them."
- "Download the paper 'Attention is All You Need' and summarize its key contributions."
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.