zotero-mcp
Provides natural-language search over a local Zotero library, including metadata, abstracts, notes, and PDF full text, with tools for retrieving paper details and refreshing the search index.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@zotero-mcpfind papers about transformer models from the last two years"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
zotero-mcp
MCP server for natural-language search over a local Zotero library (metadata, abstracts, notes, and PDF full text) via Claude.
Setup on a new machine
Requires Zotero installed and synced locally (library sync + file sync for PDFs), and Python 3.
git clone <this-repo-url>
cd zotero-mcp
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python extract.py # pulls papers.json from ~/Zotero/zotero.sqlite
python build_index.py # embeds papers.json -> data/embeddings.npy
claude mcp add -s user zotero-search -- "$(pwd)/venv/bin/python" "$(pwd)/server.py"Start a new Claude Code session and the tools search_zotero_library,
get_zotero_paper, get_zotero_paper_fulltext, and refresh_zotero_index
will be available in every project on that machine.
Related MCP server: zotero-mcp
Files
extract.py— reads~/Zotero/zotero.sqlite(via a copy, since Zotero locks the file while running) and writesdata/papers.json: title, creators, year, venue, DOI, tags, collections, abstract, notes, and resolved PDF path for every paper-type item.build_index.py— embeds each paper (title + authors + venue + tags + abstract + notes) locally withBAAI/bge-small-en-v1.5(fastembed, CPU, no API calls) intodata/embeddings.npy.server.py— the MCP server exposing the four tools above.
data/ is gitignored — it's derived from your local Zotero library and
should be rebuilt on each machine (extract.py + build_index.py), not
copied between machines.
This server cannot be deployed
Maintenance
Related MCP Connectors
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Remote MCP server for full read/write access to a Zotero library
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
Related MCP Servers
- AlicenseAqualityDmaintenanceA server that enables MCP clients like Anthropic Claude App to interact with local Zotero libraries, allowing users to search papers, manage notes, and access research materials through natural language.1029Apache 2.0
- AlicenseAqualityDmaintenanceRead-only MCP server that lets Claude or any MCP client search and retrieve metadata, notes, full text, citations, and BibTeX from your local Zotero library via its built-in API.11MIT
- AlicenseAqualityCmaintenanceMCP server that grants AI tools read-only access to a Zotero library via search, citekey lookup, and on-demand fulltext retrieval, with low token usage and support for Claude Code, Claude Desktop, and Codex.5MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that connects AI assistants to your Zotero library, enabling full-text PDF extraction and metadata search.MIT