> ## Documentation Index
> Fetch the complete documentation index at: https://linkly.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 让 Claude 等 Agent 搜索 Zotero 文献库

> 通过 MCP 让 AI Agent 搜索 Zotero 文献库里论文的全文。

Zotero 把保存的 PDF 放在电脑的一个文件夹里。把这个文件夹加进 Linkly AI，Agent 就能搜索每篇论文的全文，扫描件也可以。

## 设置步骤

**1. 找到 storage 文件夹**

在 Zotero 里打开“设置 → 高级”，点击“打开数据文件夹”，论文在 `storage` 里。[默认位置](https://www.zotero.org/support/zotero_data)：

* macOS：`/Users/<用户名>/Zotero/storage`
* Windows：`C:\Users\<用户名>\Zotero\storage`
* Linux：`~/Zotero/storage`

**2. 加进 Linkly AI**

在索引文件夹里添加 `storage`。Linkly AI 只读取，不会改动文件。

**3. 接入你的 Agent**

按[集成概览](https://linkly.ai/docs/zh/integration.md)里对应客户端的步骤操作。

**4. 试一下**

```
在我的文献库里找讨论用少样本提示做代码生成的论文，引用相关段落
```

> [!NOTE]
>
> 链接的文件[不会复制到 `storage`](https://www.zotero.org/support/zotero_data)。如果用了链接附件，要把它们所在的文件夹也加进来。

## 和 zotero-mcp 比较

| | Linkly AI | [zotero-mcp](https://github.com/54yyyu/zotero-mcp) |
| - | - | - |
| 论文全文 | 可以 | 可以 |
| 扫描件文字识别 | 可以 | 说明里没有 |
| 分类、标签、BibTeX | 不可以 | 可以 |
| 批注 | 不可以 | 可以 |
| 添加和修改条目 | 不可以 | 可以 |
| Zotero 以外的文件 | 可以 | 不可以 |
| 安装 | 桌面应用 | Python 3.10 及以上 |

要引用、批注、管理条目，用 zotero-mcp。要把论文和笔记、草稿等文件一起搜，用 Linkly AI。两个可以同时接入。

## 建议

* `storage` 里的文件夹名是随机代码，按内容搜，不要按路径搜。
* 让 Agent 给出文献标题和原文段落，再到 Zotero 核对引用。

另见 [AI 研究助手](https://linkly.ai/docs/zh/use-cases/ai-research-assistant.md)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.