Cover image
Try Now
2025-03-18

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Zotero MCP Server

A Model Context Protocol (MCP) server that integrates with Zotero, allowing AI applications to access and manipulate Zotero libraries.

Features

  • Search for items in Zotero libraries
  • Get citations and bibliographies
  • Add new items to Zotero libraries
  • Access collections and items
  • Support for both personal and group libraries

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/zotero-mcp-server.git
    cd zotero-mcp-server
    
  2. Create a virtual environment:

    python -m venv venv
    
  3. Activate the virtual environment:

    • On Linux/macOS:
      source venv/bin/activate
      
    • On Windows:
      venv\Scripts\activate
      
  4. Install dependencies:

    pip install -r requirements.txt
    

Configuration

  1. Copy the example environment file:

    cp .env.example .env
    
  2. Edit the .env file with your Zotero API credentials:

    ZOTERO_API_KEY=your_api_key_here
    ZOTERO_USER_ID=your_numeric_user_id_here
    # ZOTERO_GROUP_ID=your_group_id_here  # Uncomment to use a group library
    

    You need to set either ZOTERO_USER_ID (for personal libraries) or ZOTERO_GROUP_ID (for group libraries).

  3. If you're not sure how to find your Zotero user ID, run:

    ./find_zotero_id.py
    

Usage

Running the Server

python src/server.py

The server will start and listen for JSON-RPC requests on standard input/output.

Testing the Server

./simple_test.py

This will run a series of tests to verify that the server is working correctly.

Integration with AI Applications

The Zotero MCP server can be integrated with AI applications that support the Model Context Protocol. See the USAGE_GUIDE.md file for detailed examples.

Available Resources

  • zotero://collections: List of collections in the Zotero library
  • zotero://items/top: Top-level items in the Zotero library
  • zotero://items/recent: Recently added or modified items in the Zotero library
  • zotero://collections/{collection_key}/items: Items in a specific Zotero collection
  • zotero://items/{item_key}: Details of a specific Zotero item
  • zotero://items/{item_key}/citation/{style}: Citation for a specific Zotero item in a specific style

Available Tools

  • search_items: Search for items in the Zotero library
  • get_citation: Get citation for a specific item
  • add_item: Add a new item to the Zotero library
  • get_bibliography: Get bibliography for multiple items

Documentation

For more detailed information, see:

  • USAGE_GUIDE.md: Comprehensive usage guide
  • test_client.py: Interactive test client
  • simple_test.py: Simple test script
  • find_zotero_id.py: Helper script to find your Zotero IDs

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Message Connector Protocol )服务 , 提供了与钉钉企业应用交互的 api 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • Die Cursor & Windsurf -Community finden Regeln und MCPs

    Reviews

    1 (1)
    Avatar
    user_lLxE73Hq
    2025-04-16

    I've been using the Zotero-mcp-server from cr625 and it's been an absolute game changer for managing my research references. The setup was straightforward, and the integration with Zotero is seamless. The server runs smoothly and efficiently, making it easy to sync and organize my data. Kudos to cr625 for creating such a valuable tool! Highly recommended for anyone serious about their scholarly work. You can check it out here: https://github.com/cr625/zotero-mcp-server