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.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

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

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

    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