Zotero MCP
Read-only MCP server for your local Zotero library. Browse collections, inspect paper metadata, and extract full-text from PDFs via FastMCP tools.
README
Zotero MCP
Read-only MCP server for your local Zotero library. Browse collections, inspect paper metadata, and extract full-text from PDFs -- all via FastMCP tools.
Requirements
- Zotero desktop synced to
~/Zotero/zotero.sqlite - Python 3.13+
- uv
pdftotext(forpaper_text) -- usually frompoppler-utils
Setup
uv sync
Tools
list_library
List all collections and papers as a formatted tree.
uv run python src/main.py
| Argument | Type | Description |
|---|---|---|
query |
string (optional) |
Filter by collection name, paper title, or author (case-insensitive) |
Examples:
# Full library
await client.call_tool("list_library", {})
# └── Bachelorarbeit (42 papers)
# │ [book] Pro Spring Boot 3 (2024) - Felipe Gutierrez
# ├── GraalVM (4 papers)
# Filtered
await client.call_tool("list_library", {"query": "serverless"})
# └── Serverless (8 papers)
# [journalArticle] The rise of serverless computing (2019) - Unknown
paper_details
Get full metadata for a paper by its item key.
| Argument | Type | Description |
|---|---|---|
item_key |
string (required) |
Zotero item key (shown in list_library output) |
Example:
await client.call_tool("paper_details", {"item_key": "T3ZCDWC7"})
# Title: MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark
# Type: preprint
# Authors: Yubo Wang, Xueguang Ma, ...
# date: 2024-11-06
# DOI: 10.48550/arXiv.2406.01574
# url: http://arxiv.org/abs/2406.01574
# abstractNote: In the age of large-scale language models...
# Collections: Studienarbeit
# PDF: Wang et al. - 2024 - MMLU-Pro A More Robust ....pdf
Returns: title, type, key, dates, authors, all field metadata, collection memberships, and PDF attachment info.
paper_text
Extract the full text of a paper's PDF using pdftotext.
| Argument | Type | Description |
|---|---|---|
item_key |
string (required) |
Zotero item key |
Example:
await client.call_tool("paper_text", {"item_key": "T3ZCDWC7"})
# MMLU-Pro: A More Robust and Challenging
# Multi-Task Language Understanding Benchmark
#
# Yubo Wang*, Xueguang Ma*, Ge Zhang, ...
# ...
Usage
# stdio transport (default for MCP clients)
uv run python src/main.py
# fastmcp CLI
uv run fastmcp run src/main.py:mcp
File structure
src/
main.py # FastMCP server, tool definitions
zotero.py # SQLite queries, data models, formatting
The database is read directly from ~/Zotero/zotero.sqlite. PDFs are resolved from ~/Zotero/storage/. No API key needed.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.