Skip to main content
Glama
Zotero MCP Connector

Zotero MCP Connector

by gyger

Conector MCP de Zotero

Un conector de Protocolo de Control de Modelos (MCP) para integrar su Zotero local con Claude.
Esto permite el acceso directo de lectura a su biblioteca local de Zotero a través de la interfaz de escritorio de Claude. Depende de la capacidad de acceder a una API web local en Zotero 7.

Esto se inspiró en un repositorio que utiliza Node.js y la API web: mcp-zotero .
Esto se basa en la fantástica biblioteca Pyzotero .

Instalación

Puede encontrar información sobre la interacción de Claude Desktop con MCP aquí .

  1. Utilice uv . Las instrucciones de instalación se pueden encontrar aquí .

  2. Extraiga el proyecto git al espacio local y active el entorno virtual dentro:

git clone https://github.com/gyger/mcp-pyzotero.git
cd mcp-pyzotero
uv sync
  1. Habilitar la API local en Zotero 7: Configuración de la API local de Zotero

  2. Agregue el servidor a su instalación local de Claude:

uv run mcp install zotero.py

Related MCP server: zotero-mcp

Configuración

El conector está configurado para funcionar con instalaciones locales de Zotero y actualmente solo admite bibliotecas user . Por defecto, usa el ID de usuario 0 , pero también puede configurar la variable de entorno ZOTERO_USER_ID si es necesario:

uv run mcp install zotero.py -v ZOTERO_USER_ID=0

Funciones disponibles

El conector proporciona las siguientes funciones:

  • get_collections() : enumera todas las colecciones en tu biblioteca de Zotero

  • get_collection_items(collection_key) : Obtener todos los elementos de una colección específica

  • get_item_details(item_key) : Obtenga información detallada sobre un artículo específico, incluido el resumen

  • search_library(query) : Busca en toda tu biblioteca de Zotero

  • get_recent(limit=10) : Obtenga los artículos agregados recientemente a su biblioteca

Esta funcionalidad debería ampliarse en el futuro.

Requisitos

  • Python 3.10+

  • Instalación local de Zotero

  • Escritorio de Claude

Contribuyendo

¡Agradecemos sus contribuciones! Visite el repositorio de GitHub para:

  • Informar de problemas

  • Enviar solicitudes de extracción

  • Sugerir mejoras

Licencia

Instituto Tecnológico de Massachusetts (MIT)

Available Tools

4 tools
get_collection_itemsC

Gets all items in a specific Zotero collection.

Inputs: collection_key (required), limit. Returns: result

get_items_metadataC

Get detailed information on specific item(s) in the library

Inputs: item_key (required), include_fulltext, include_abstract, include_bibtex. Returns: result

get_zotero_informationC

Returns by default information on the Zotero library containing Research Papers collected by the User.Good to call if you dont have a clear understanding yet what to ask from this tool. The returned information can be finetuned by asking for summary, collections, recent items, tags.

Inputs: properties, limit, itemType. Returns: result

search_libraryB

Search the Zotero library for an item.

Inputs: query (required), qmode, itemType, tag, +2 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools have mostly distinct purposes: get_collection_items retrieves items from a collection, get_items_metadata fetches details for specific items, get_zotero_information provides library overview, and search_library searches across the library. However, get_collection_items and search_library could be slightly confused as both retrieve items, but their scopes (collection-specific vs. library-wide) help differentiate them.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern (get_collection_items, get_items_metadata, get_zotero_information, search_library) with all tools using snake_case. The only minor deviation is that get_zotero_information uses 'information' instead of a more specific noun like 'overview', but it still fits the pattern well.

    Tool Count3/5

    With 4 tools, the count is on the low side for a library management system like Zotero, which typically involves CRUD operations. While it covers basic retrieval and search, it feels thin for the domain, lacking tools for creating, updating, or deleting items or collections, which are common in such systems.

    Completeness2/5

    The tool set is severely incomplete for a Zotero connector, focusing only on read operations (get and search). There are significant gaps: no tools for creating, updating, or deleting items, collections, or tags, and no support for managing attachments or notes. This will cause agent failures when full library management is needed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables Claude to access and search a local Zotero library by querying metadata and providing direct paths to PDF files. This allows the model to browse research collections and natively read academic papers without requiring text extraction or manual exports.
      -
    • A
      license
      A
      quality
      D
      maintenance
      A local-only, read-only MCP server for Zotero that lets Claude search and retrieve library items, collections, tags, and attachment full text from your Zotero desktop client.
      9
      -