zotero-mcp-server

tutss/zotero-mcp-server

3.2

If you are the rightful owner of zotero-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for interacting with Zotero research libraries.

Tools
  1. Search items

    Allows users to search for specific items within their Zotero library.

  2. Get collections

    Retrieves a list of collections from the user's Zotero library.

  3. Get item details

    Fetches detailed information about a specific item in the library.

  4. Test connection

    Verifies the connection to the Zotero library using the provided API key.

Zotero MCP Server

A Model Context Protocol (MCP) server for interacting with Zotero research libraries.

Setup

  1. Install dependencies:
pip install mcp httpx python-dotenv
  1. Set environment variables:
export ZOTERO_API_KEY=your_api_key_here
export ZOTERO_USER_ID=your_user_id_here
export ZOTERO_LIBRARY_TYPE=user  # optional, defaults to "user"

Get your API key and User ID from https://www.zotero.org/settings/keys

Usage

Test connection:

python zotero_server_test.py

Run server:

python zotero_mcp_server.py

Features

  • Resources: Collections, items, recent items
  • Tools: Search items, get collections, get item details, test connection
  • Authentication: Secure API key-based authentication
  • Error handling: Comprehensive error checking and logging

MCP Integration

Compatible with MCP 1.10.1 and can be integrated with Claude Desktop or other MCP clients.