Описание
Zotero MCP server in Go using Zotero Go Client
README
A Model Context Protocol (MCP) server for Zotero, written in Go. It provides read-only access to your Zotero library through MCP tools, allowing LLM clients (Claude Desktop, Cursor, etc.) to search, browse, and retrieve your references.
Prerequisites
- Go 1.24 or later
- A Zotero account with a Web API key
Getting Credentials
1. Zotero API Key
- Go to https://www.zotero.org/settings/keys
- Click Create new private key
- Give it a name (e.g. "MCP Server")
- Under Personal Library, check Allow library access
- If you need group access, check the relevant groups under Group Permissions
- Click Save Key
- Copy the generated key — this is your
ZOTERO_API_KEY
2. User ID
Your user ID is displayed on the same API keys page at the top:
"Your userID for use in API calls is 1234567"
This is your ZOTERO_USER_ID.
3. Group ID (optional)
If you want to access a group library instead of your personal library:
- Go to https://www.zotero.org/groups
- Open the group you want to access
- The group ID is the number in the URL:
https://www.zotero.org/groups/1234567/...
This is your ZOTERO_GROUP_ID.
Environment Variables
| Variable | Required | Description |
|---|---|---|
ZOTERO_API_KEY |
Yes | Your Zotero Web API key |
ZOTERO_USER_ID |
Yes* | Your Zotero user ID |
ZOTERO_GROUP_ID |
Yes* | A Zotero group ID |
* One of ZOTERO_USER_ID or ZOTERO_GROUP_ID is required. If both are set, the group library is used.
Installation
Homebrew (macOS)
brew install abtris/tap/zotero-mcp-go-server
Docker
docker pull abtris/zotero-mcp-go-server:latest
Run with Docker:
docker run --rm \
-e ZOTERO_API_KEY="your-api-key" \
-e ZOTERO_USER_ID="your-user-id" \
abtris/zotero-mcp-go-server:latest
Go install
go install github.com/abtris/zotero-mcp-go-server@latest
Build from source
git clone https://github.com/abtris/zotero-mcp-go-server.git
cd zotero-mcp-go-server
go build -o zotero-mcp-go-server .
Usage
Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"zotero": {
"command": "zotero-mcp-go-server",
"env": {
"ZOTERO_API_KEY": "your-api-key",
"ZOTERO_USER_ID": "your-user-id"
}
}
}
}
Run directly (for development)
export ZOTERO_API_KEY="your-api-key"
export ZOTERO_USER_ID="your-user-id"
go run .
The server communicates over stdio using the MCP protocol.
Supported Tools
See TOOLS.md for the full list of 14 supported tools (7 read, 7 write).
Testing and Debugging
Unit Tests
go test -v ./...
MCP Inspector
The MCP Inspector is an interactive tool for testing and debugging MCP servers. You can use it to connect to this server, list available tools, and call them interactively.
npx @modelcontextprotocol/inspector go run .
This opens a web UI where you can:
- See all registered tools and their schemas
- Call tools with custom arguments and inspect responses
- View the raw JSON-RPC messages exchanged between client and server
Make sure the required environment variables are set before running the inspector:
export ZOTERO_API_KEY="your-api-key"
export ZOTERO_USER_ID="your-user-id"
npx @modelcontextprotocol/inspector go run .
License
MIT
Установка Zotero Mcp Go Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/abtris/zotero-mcp-go-serverFAQ
Zotero Mcp Go Server MCP бесплатный?
Да, Zotero Mcp Go Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Zotero Mcp Go Server?
Нет, Zotero Mcp Go Server работает без API-ключей и переменных окружения.
Zotero Mcp Go Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Zotero Mcp Go Server в Claude Desktop, Claude Code или Cursor?
Открой Zotero Mcp Go Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Zotero Mcp Go Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
