zotero-mcp
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.
README
zotero-mcp
A small, read-only MCP server that exposes your Zotero library to Claude (or any MCP client) through Zotero's built-in local HTTP API. No API keys, no cloud — it talks to the Zotero desktop app running on your machine.
What it can do
All tools are read-only:
| Tool | Purpose |
|---|---|
zotero_search |
Search the library (title/creator/year, or everything) |
zotero_get_item |
Full metadata for one item |
zotero_get_children |
Notes, attachments, and annotations of an item |
zotero_get_item_fulltext |
Extracted full text of a PDF/attachment |
zotero_list_collections |
Browse the collection tree |
zotero_collection_items |
Items in a collection |
zotero_list_tags |
List/filter tags |
zotero_saved_searches |
List saved searches |
zotero_export_bibtex |
Export items as BibTeX |
zotero_export_citation |
Formatted citation + bibliography in any CSL style |
zotero_health |
Check connectivity |
Prerequisites
- Zotero 7 or newer, running.
- Enable the local API: Zotero → Settings → Advanced → "Allow other applications on this computer to communicate with Zotero".
uvinstalled.
Verify the API is up:
curl 'http://localhost:23119/api/users/0/items?limit=1'
Install & test
cd ~/zotero-mcp
uv sync
uv run pytest # unit tests (no running Zotero needed)
Smoke-test against your live library (Zotero must be open):
uv run python -c "from zotero_mcp.client import ZoteroLocalClient as C; import json; print(json.dumps(C().search_items(q='', limit=3), default=str)[:600])"
Inspect the tools interactively:
uv run mcp dev src/zotero_mcp/server.py
Register with Claude Code
claude mcp add zotero -- uv --directory ~/zotero-mcp run zotero-mcp
Then ask Claude things like "search my Zotero for papers on diffusion models" or "give me the BibTeX for item ABCD1234".
Configuration
Environment variables (optional):
ZOTERO_BASE_URL— override the API base (defaulthttp://localhost:23119/api). Useful from WSL where Zotero runs on the Windows host, e.g.http://<windows-host-ip>:23119/api.ZOTERO_USER_ID— override the local user id (default0; almost always correct).
Notes
- Read-only by design. Zotero's local API does not support writes; this server intentionally mirrors that. Citation/BibTeX formatting is delegated to Zotero itself.
- If a tool returns
{"error": "Could not reach the Zotero local API..."}, Zotero is closed or the local-API setting is off.
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.