# Zotero

```json
{
  "name": "Zotero",
  "slug": "zotero",
  "url": "https://composio.dev/toolkits/zotero",
  "markdown_url": "https://composio.dev/toolkits/zotero.md",
  "logo_url": "https://logos.composio.dev/api/zotero",
  "categories": [
    "education & lms"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-12-04T05:45:57.723Z"
}
```

![Zotero logo](https://logos.composio.dev/api/zotero)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Zotero MCP or direct API to search research libraries, retrieve source details, organize collections, and manage notes through natural language.

## Summary

Zotero is a research and reference-management platform for collecting, organizing, citing, and sharing sources.
It helps researchers keep papers, notes, and citations organized in one library.

## Categories

- education & lms

## Toolkit Details

- Tools: 31

## Images

- Logo: https://logos.composio.dev/api/zotero

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Zotero.
  - Setup:
    - Configure Api Key credentials for Zotero.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Find papers tagged machine learning
- Add notes to recent journal articles
- Create a collection for thesis sources

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ZOTERO_CREATE_OR_UPDATE_COLLECTIONS` | Create or Update Collections | Create new Zotero collections or patch existing collections in one batch of up to 50 entries. Existing entries require their key and either an object version or request-level library version. Use a write token for idempotent retries or a library version for optimistic concurrency, but not both. |
| `ZOTERO_CREATE_OR_UPDATE_ITEMS` | Create or Update Items | Create new Zotero items or patch existing items in one batch of up to 50 entries. New entries require itemType; existing entries require their key and either an object version or request-level library version. A parent and child created in the same request need a local eight-character parent key with version 0. Use a write token for idempotent retries or a library version for optimistic concurrency, but not both. |
| `ZOTERO_CREATE_OR_UPDATE_SAVED_SEARCHES` | Create or Update Saved Searches | Create new Zotero saved-search definitions or patch existing definitions in one batch of up to 50 entries. Existing entries require their key and either an object version or request-level library version. Use a write token for idempotent retries or a library version for optimistic concurrency, but not both. This stores definitions; it does not execute searches. |
| `ZOTERO_DELETE_COLLECTIONS` | Delete Collections | Delete one Zotero collection using its current object version, or delete up to 50 collections using the current library version. The two modes require different, mutually exclusive key and version parameters. |
| `ZOTERO_DELETE_ITEMS` | Delete Items | Delete one Zotero item using its current object version, or delete up to 50 items using the current library version. Single and batch key/version parameters are mutually exclusive. |
| `ZOTERO_DELETE_SAVED_SEARCHES` | Delete Saved Searches | Delete one to 50 Zotero saved-search definitions in a batch using the current library version. |
| `ZOTERO_DELETE_TAGS` | Delete Tags | Delete one to 50 exact tag names from every item in a Zotero user or group library, using the current library version as a concurrency precondition. |
| `ZOTERO_DOWNLOAD_ATTACHMENT_FILE` | Download Attachment File | Download a Zotero attachment file, stream it to file storage, and return its filename, media type, byte size, and ETag metadata. |
| `ZOTERO_GET_COLLECTION` | Get Collection | Get one collection from a user or group library by key. |
| `ZOTERO_GET_COMPLETE_SCHEMA` | Get Complete Schema | Return Zotero's complete item schema, including item types, fields, creator types, metadata, locales, and Citation Style Language mappings. The response is large (approximately 394 KB). |
| `ZOTERO_GET_CURRENT_KEY_PERMISSIONS` | Get Current Key Permissions | Return the connected key's Zotero user identity and read/write permissions without exposing the credential. |
| `ZOTERO_GET_GROUP` | Get Group | Get one Zotero group's metadata, members, roles, and library permission policy by numeric group ID. |
| `ZOTERO_GET_ITEM` | Get Item | Get one Zotero item by key, as complete JSON data, formatted bibliography or citation output, Atom, or a supported export format. |
| `ZOTERO_GET_ITEM_FULLTEXT` | Get Item Full Text | Get indexed text and character or page counts for one attachment item. |
| `ZOTERO_GET_ITEM_TEMPLATE` | Get Item Template | Get Zotero's complete editable empty JSON template for a new item. For attachments, supply the required link mode to receive the matching attachment fields. |
| `ZOTERO_GET_SAVED_SEARCH` | Get Saved Search | Get one saved-search definition from a user or group library by key; this does not return the items matching the search. |
| `ZOTERO_GET_TAG` | Get Tag | Get exact tag records matching one tag name in a user or group library. |
| `ZOTERO_LIST_COLLECTIONS` | List Collections | List one page of all, top-level, or direct child collections in a user or group library, returning a cursor when more results exist. |
| `ZOTERO_LIST_DELETED_OBJECTS` | List Deleted Objects | Return collection, saved-search, item, tag, and setting identifiers deleted after a Zotero library version. |
| `ZOTERO_LIST_FULLTEXT_VERSIONS` | List Full-Text Versions | Return attachment item keys whose indexed full text changed after a Zotero library version. |
| `ZOTERO_LIST_ITEMS` | List Items | List one page of library, top-level, trash, child, publication, or collection items with Zotero search and format filters, returning a cursor when more results exist. |
| `ZOTERO_LIST_ITEM_METADATA` | List Item Metadata | List Zotero item types, fields, type-specific fields, creator roles, or creator-name fields. |
| `ZOTERO_LIST_SAVED_SEARCHES` | List Saved Searches | List one page of saved-search definitions in a user or group library, returning a cursor when more results exist; this does not execute the searches. |
| `ZOTERO_LIST_TAGS` | List Tags | List one page of tags for a library, item, collection, filtered item set, trash, top-level items, or My Publications, returning a cursor when more results exist. |
| `ZOTERO_LIST_USER_GROUPS` | List User Groups | List one page of Zotero groups accessible to a user and return a cursor when more JSON results exist, or return group-version mappings for synchronization. |
| `ZOTERO_PATCH_ATTACHMENT_FILE` | Patch Attachment File | Apply an xdelta, VCDIFF, or bsdiff binary patch to an existing Zotero attachment. Provide the target file's MD5, filename, byte size, and millisecond modification time along with the previous MD5 and matching diff. The action obtains and consumes Zotero's short-lived authorization internally. |
| `ZOTERO_REPLACE_COLLECTION` | Replace Collection | Replace a Zotero collection's complete editable data using its current object version for optimistic concurrency. |
| `ZOTERO_REPLACE_ITEM` | Replace Item | Replace a Zotero item's complete editable JSON using its current object version. Omitted editable fields are removed, so use this only when the full desired item representation is available. |
| `ZOTERO_SET_ITEM_FULLTEXT` | Set Item Full Text | Set indexed full-text content for one Zotero attachment, using character counts for text or page counts for PDF content. |
| `ZOTERO_UPDATE_ITEM` | Update Item | Partially update selected editable fields on one Zotero item using its current object version. Omitted fields remain unchanged; arrays replace the complete existing arrays. |
| `ZOTERO_UPLOAD_ATTACHMENT_FILE` | Upload Attachment File | Upload or replace all bytes of an existing Zotero imported-file attachment. The action computes the MD5 and file size, authorizes the upload, sends the file to Zotero's temporary storage destination, and registers it atomically. Create the attachment item first: call GET_ITEM_TEMPLATE with itemType='attachment' and linkMode='imported_file', then pass that template to CREATE_OR_UPDATE_ITEMS. Provide previous_md5 from data.md5 or the download ETag only when replacing existing file content. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Zotero
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["zotero"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["zotero"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Zotero tools with your agent

Send a request, execute the Zotero tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Search my Zotero library for items tagged machine learning and summarize their titles and authors."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Search my Zotero library for items tagged machine learning and summarize their titles and authors." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Zotero and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["zotero"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["zotero"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Zotero request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Zotero tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Search my Zotero library for items tagged machine learning and summarize their titles and authors.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Search my Zotero library for items tagged machine learning and summarize their titles and authors.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Zotero Integration

- Supports both Zotero MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your Zotero data

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke Zotero access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Zotero
- Scoped, least privilege access to Zotero resources
- Full audit trail of agent actions to support review and compliance

## Use Zotero with any AI Agent Framework

Choose a framework you want to connect Zotero with:

- [ChatGPT](https://composio.dev/toolkits/zotero/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/zotero/framework/claude-cowork)

## Related Toolkits

- [Canvas](https://composio.dev/toolkits/canvas) - Canvas is a learning management system for online courses, assignments, grading, and collaboration. It's trusted by educators and students to streamline virtual classrooms and enhance digital learning.
- [Api bible](https://composio.dev/toolkits/api_bible) - API.Bible is a developer platform for Scripture content and passage search. Easily integrate Bible verses and translations into your apps or chatbots.
- [Blackboard](https://composio.dev/toolkits/blackboard) - Blackboard is a digital learning platform for higher education and schools, offering tools to manage courses, track engagement, and deliver interactive content. It helps institutions improve student outcomes through actionable analytics and in-app guidance.
- [Certifier](https://composio.dev/toolkits/certifier) - Certifier is a platform for creating, managing, and issuing digital certificates and credentials. Organizations use it to automate and secure the entire credentialing process.
- [Classmarker](https://composio.dev/toolkits/classmarker) - ClassMarker is a professional online quiz maker for business and education. It provides instant grading, flexible test design, and in-depth reporting.
- [Coassemble](https://composio.dev/toolkits/coassemble) - Coassemble is a flexible platform for building, managing, and delivering online training courses. It helps teams streamline onboarding, upskilling, and ongoing learning for employees or partners.
- [Consensus](https://composio.dev/toolkits/consensus) - Consensus is an evidence-based search engine for scientific research papers. It helps you find clear, research-backed answers without digging through papers manually.
- [Consensus MCP](https://composio.dev/toolkits/consensus_mcp) - Consensus MCP is a research search service that finds peer-reviewed papers, study metadata, and citations. Use it to surface evidence-backed studies and structured citations quickly.
- [D2lbrightspace](https://composio.dev/toolkits/d2lbrightspace) - D2L Brightspace is a learning management system for delivering and managing online courses and assessments. It helps educators streamline digital teaching, assignments, and communication with students.
- [Dictionary api](https://composio.dev/toolkits/dictionary_api) - Dictionary api is the Merriam-Webster API providing rich dictionary and thesaurus data for developers. Instantly access definitions, synonyms, etymologies, and audio pronunciations in your apps.
- [Educaplay MCP](https://composio.dev/toolkits/educaplay_mcp) - Educaplay is an interactive learning platform for creating educational games and activities. Its MCP server helps educators build, manage, publish, and share engaging classroom content.
- [Google Classroom](https://composio.dev/toolkits/google_classroom) - Google Classroom is a free web service for educators and students to manage assignments and communication. It streamlines classroom collaboration and grading, making teaching simpler and more connected.
- [GoTo Training](https://composio.dev/toolkits/go_to_training) - GoTo Training is an online training platform for hosting live classes, managing registrations, and sharing recordings. It helps organizers run engaging sessions while tracking attendees, reports, and course feedback in one place.
- [Heights Platform](https://composio.dev/toolkits/heights_platform) - Heights Platform is an online course, digital product, and community platform for creators. It helps you sell learning products, manage students, track orders, and control access in one place.
- [Kahoot MCP](https://composio.dev/toolkits/kahoot_mcp) - Kahoot! is an interactive learning platform for creating and playing quizzes. Kahoot MCP provides a hosted connection for managing quizzes and workspace content.
- [Kajabi](https://composio.dev/toolkits/kajabi) - Kajabi is an online business platform for sites, courses, contacts, offers, and payments. It brings digital products, customer data, and sales operations into one place.
- [Kuliko AI MCP](https://composio.dev/toolkits/kuliko_mcp) - Kuliko AI MCP is a hosted study workspace for organizing documents and creating learning materials. It keeps flashcards, quizzes, notes, and study guides in one place.
- [Lessonspace](https://composio.dev/toolkits/lessonspace) - Lessonspace is an online collaborative classroom platform offering video, whiteboards, and real-time interaction for educators and students. It streamlines remote teaching with integrated tools for engagement and communication.
- [Linguapop](https://composio.dev/toolkits/linguapop) - Linguapop is a web platform for administering language placement tests in English, German, Spanish, Italian, and French. It helps schools and organizations efficiently manage multilingual assessments and analyze results.
- [Membervault](https://composio.dev/toolkits/membervault) - Membervault is a platform for hosting courses, memberships, and digital products in one place. It helps you build stronger relationships with your audience by centralizing digital offers and customer engagement.

## Frequently Asked Questions

### Do I need my own developer credentials to use Zotero with Composio?

Yes, Zotero requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
