Skip to main content
Glama
rdesc
by rdesc

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: zoty

Files

  • extract.py — reads ~/Zotero/zotero.sqlite (via a copy, since Zotero locks the file while running) and writes data/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 with BAAI/bge-small-en-v1.5 (fastembed, CPU, no API calls) into data/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.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    A lightweight MCP server that connects AI agents to a local Zotero library for paper management and metadata retrieval. It enables users to search titles and abstracts, browse collections, and automatically ingest papers via arXiv ID or DOI with PDF attachments.
    8
    15
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-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.
    11
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP 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.
    5
    MIT

View all related MCP servers

Related MCP Connectors

  • The everything Zotero MCP server — Web API v3 + local API, safe writes, citations, search.

  • Remote MCP server for full read/write access to a Zotero library

  • Agentic search over your Dewey document collections from any MCP-compatible client.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rdesc/zotero-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server