Skip to main content
Glama
awsl5714
by awsl5714

Zotero MCP Server

A Model Context Protocol (MCP) server for Zotero, enabling LLM-powered tools like Claude Desktop, Claude Code, and Cursor to interact with your academic library.

Features

Tools

  • search_papers - Search papers by keyword, title, or author

  • add_arxiv_paper - Add papers to Zotero by arXiv ID or URL

  • update_metadata - Update metadata fields of existing items

  • get_item - Get detailed information about a specific item

  • get_collection_items - List items in a collection

  • get_recent_items - Get recently added items

Resources

  • zotero://recent - Recently added items

  • zotero://collection/{key} - Items in a specific collection (dynamic)

Prompts

  • literature_review - Generate structured literature review template from collection papers

  • paper_summary - Summarize a specific paper with structured analysis

Related MCP server: Research MCP

Quick Start

Prerequisites

Installation

git clone https://github.com/awsl5714/zotero-mcp-server.git
cd zotero-mcp-server
pip install -e .

Configuration

cp .env.example .env
# Edit .env with your Zotero credentials
export ZOTERO_LIBRARY_ID=your-library-id
export ZOTERO_API_KEY=your-api-key
export ZOTERO_LIBRARY_TYPE=user  # or "group"

Claude Desktop Integration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "zotero": {
      "command": "zotero-mcp",
      "env": {
        "ZOTERO_LIBRARY_ID": "your-library-id",
        "ZOTERO_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code Integration

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "zotero": {
      "command": "zotero-mcp",
      "env": {
        "ZOTERO_LIBRARY_ID": "your-library-id",
        "ZOTERO_API_KEY": "your-api-key"
      }
    }
  }
}

Usage Examples

Once connected, you can use natural language in Claude:

  • "Search my Zotero library for papers about transformer architectures"

  • "Add this arXiv paper to my library: 2301.00234"

  • "Write a literature review based on my 'Deep Learning' collection"

  • "Update the tags for paper KEY123 to include 'NLP' and 'attention'"

Tech Stack

Component

Technology

Protocol

MCP SDK

Zotero API

pyzotero

Validation

Pydantic v2

HTTP

httpx

Project Structure

src/zotero_mcp/
├── server.py        # MCP server with Tools, Resources, Prompts
├── zotero_client.py # Zotero API wrapper
└── config.py        # Environment-based configuration

License

MIT

Install Server
A
license - permissive license
A
quality
B
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.

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/awsl5714/zotero-mcp-server'

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