@xbghc/zotero-mcp
Enables querying, creating, and managing Zotero references via the MCP protocol.
README
@xbghc/zotero-mcp
Zotero MCP Server - 通过 MCP 协议管理 Zotero 文献库。
功能
- 查询文献: 搜索、获取详情、获取全文、按分组/标签过滤
- 创建文献: 手动创建或通过 DOI/ISBN/PMID 自动获取元数据
- 管理文献: 更新、删除、添加标签、添加到分组、下载附件
- 导出引用: 支持 BibTeX、RIS、CSL JSON 等格式
快速开始
1. 获取 Zotero API Key
- 登录 zotero.org
- 进入 Settings → Security
- 记下你的 User ID
- 点击 "Create new private key" 生成 API Key
2. 配置 Claude Code
在 ~/.claude/settings.json 中添加:
{
"mcpServers": {
"zotero": {
"command": "npx",
"args": ["@xbghc/zotero-mcp"],
"env": {
"ZOTERO_API_KEY": "your-api-key",
"ZOTERO_USER_ID": "your-user-id"
}
}
}
}
配置完成后重启 Claude Code 即可使用。
可选配置
Translation Server(DOI 自动获取)
create_item_by_identifier 工具需要 Translation Server 支持。
git clone --recurse-submodules https://github.com/zotero/translation-server.git
cd translation-server
npm install
npm start
服务运行在 http://localhost:1969,然后在 env 中添加:
"TRANSLATION_SERVER_URL": "http://localhost:1969"
环境变量
| 变量 | 必需 | 说明 |
|---|---|---|
ZOTERO_API_KEY |
是 | Zotero API 密钥 |
ZOTERO_USER_ID |
是 | 用户 ID |
ZOTERO_GROUP_ID |
否 | 群组 ID(访问群组库时使用) |
TRANSLATION_SERVER_URL |
否 | Translation Server 地址 |
ZOTERO_MCP_CACHE_DIR |
否 | 附件缓存目录 |
开发
npm install
npm run build
npm test
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.