Zotero MCP server for AI agents and assistants

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.

Zotero logoZotero
Api Key

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.

31 Tools

Try Zotero now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Zotero
Try asking
TOOLS

Supported Tools

Every Zotero action and event your agent gets out of the box.

Create or Update Collections

Create new Zotero collections or patch existing collections in one batch of up to 50 entries.

Create or Update Items

Create new Zotero items or patch existing items in one batch of up to 50 entries.

Create or Update Saved Searches

Create new Zotero saved-search definitions or patch existing definitions in one batch of up to 50 entries.

Delete Collections

Delete one Zotero collection using its current object version, or delete up to 50 collections using the current library version.

Delete Items

Delete one Zotero item using its current object version, or delete up to 50 items using the current library version.

Delete Saved Searches

Delete one to 50 Zotero saved-search definitions in a batch using the current library version.

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.

Download Attachment File

Download a Zotero attachment file, stream it to file storage, and return its filename, media type, byte size, and ETag metadata.

Get Collection

Get one collection from a user or group library by key.

Get Complete Schema

Return Zotero's complete item schema, including item types, fields, creator types, metadata, locales, and Citation Style Language mappings.

Get Current Key Permissions

Return the connected key's Zotero user identity and read/write permissions without exposing the credential.

Get Group

Get one Zotero group's metadata, members, roles, and library permission policy by numeric group ID.

Get Item

Get one Zotero item by key, as complete JSON data, formatted bibliography or citation output, Atom, or a supported export format.

Get Item Full Text

Get indexed text and character or page counts for one attachment item.

Get Item Template

Get Zotero's complete editable empty JSON template for a new item.

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.

Get Tag

Get exact tag records matching one tag name in a user or group library.

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.

List Deleted Objects

Return collection, saved-search, item, tag, and setting identifiers deleted after a Zotero library version.

List Full-Text Versions

Return attachment item keys whose indexed full text changed after a Zotero library version.

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.

List Item Metadata

List Zotero item types, fields, type-specific fields, creator roles, or creator-name fields.

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.

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.

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.

Patch Attachment File

Apply an xdelta, VCDIFF, or bsdiff binary patch to an existing Zotero attachment.

Replace Collection

Replace a Zotero collection's complete editable data using its current object version for optimistic concurrency.

Replace Item

Replace a Zotero item's complete editable JSON using its current object version.

Set Item Full Text

Set indexed full-text content for one Zotero attachment, using character counts for text or page counts for PDF content.

Update Item

Partially update selected editable fields on one Zotero item using its current object version.

Upload Attachment File

Upload or replace all bytes of an existing Zotero imported-file attachment.

SETUP GUIDE

Connect Zotero MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["zotero"],
  mcp: true,
});
Create a session scoped to Zotero and read its MCP URL and headers
3

Connect your agent to the MCP server

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();
Pass the session's MCP URL and headers to your agent and run a Zotero request
SETUP GUIDE

Connect Zotero API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

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();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Zotero
3

Run Zotero tools with your agent

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);
Send a request, execute the Zotero tool calls through the session, and print the final answer

Why Use Composio?

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

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

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

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
FRAMEWORKS

Use Zotero with any AI Agent Framework

Choose a Framework you want to connect Zotero with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Zotero.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Zotero tool your agent needs.Free to start.

Start building