zotero-mcp

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.

Category
Visit Server

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

  1. Zotero 7 or newer, running.
  2. Enable the local API: Zotero → Settings → Advanced → "Allow other applications on this computer to communicate with Zotero".
  3. uv installed.

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 (default http://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 (default 0; 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured