Zotero MCP

v0.3.2
io.github.kujenga/zotero-mcp Checked 2 hours ago Published 1 day ago

Search your Zotero library, retrieve item metadata, and read full text from AI assistants.

Values you need

VariableWhat it is
ZOTERO_LOCALoptional Use the local API from the Zotero desktop app instead of the Web API. Requires Zotero to be running with 'Allow other applications on this computer to communicate with Zotero' enabled under Settings > Advanced. Default: false
ZOTERO_API_KEYoptional secret Zotero Web API key from https://www.zotero.org/settings/keys. Not required when ZOTERO_LOCAL is true.
ZOTERO_LIBRARY_IDoptional Zotero library ID (your user ID for user libraries). Not required when ZOTERO_LOCAL is true.
ZOTERO_LIBRARY_TYPEoptional Whether ZOTERO_LIBRARY_ID refers to a user or group library. Default: user

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add zotero-mcp -- uvx zotero-mcp==0.3.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "zotero-mcp": {
      "args": [
        "zotero-mcp==0.3.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "zotero-mcp": {
      "args": [
        "zotero-mcp==0.3.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "zotero-mcp": {
      "args": [
        "zotero-mcp==0.3.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.zotero-mcp]
command = "uvx"
args = ["zotero-mcp==0.3.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: zotero_item_metadata, zotero_item_fulltext, zotero_search_items.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json