# Local Deep Research 接入 Server酱：AI 深度研究完成自动推送微信（2026 教程）

> Local Deep Research 内置 Apprise 通知库，设置中填入 schan://SendKey 即可在研究完成时把结论推送到微信。

- 网页版：https://sct.ftqq.com/docs/integrations/local-deep-research/
- 更新日期：2026-07-17

# Local Deep Research + Server酱：研究完成自动推送结论到微信

> 效果：Local Deep Research 每完成一轮 AI 深度研究，自动推送通知到你的微信。

## 前置条件

- **Server酱 SendKey**：登录 sct.ftqq.com，在「SendKey」页面复制。首次使用可参考 [30 秒获取教程](https://sct.ftqq.com/docs/getting-started/sendkey/)。SendKey 须以 `SCT` 开头（Server酱Turbo）；`sctp` 开头的 Server酱³ SendKey 见下方常见问题。
- **Local Deep Research**：已安装并正常运行（LearningCircuit/local-deep-research）。该工具内置 apprise 通知库，无需额外安装通知依赖。

## 配置步骤

### 1. 拼接通知 URL

将你的 SendKey 按 `schan://` 协议格式拼接：

```
schan://你的SENDKEY
```

`schan://` 是 Apprise 中 Server酱的专用协议，底层调用 `https://sctapi.ftqq.com/你的SENDKEY.send`，SCT 开头的 SendKey 直接可用。

### 2. 填入 Local Deep Research 通知设置

在 Local Deep Research 的设置中，找到通知 URL 配置项，将 `schan://你的SENDKEY` 填入并保存。配置完成后，每轮研究结束时自动触发推送，消息将发送到微信。

> 如需同时推送到企业微信、钉钉或飞书群，参见 [通道配置说明](https://sct.ftqq.com/docs/getting-started/channels/)。

### 3. 命令行自测（可选）

接入前可先用命令行验证 SendKey 与推送链路是否正常：

```bash
pip install apprise && apprise -t "测试标题" -b "这是一条测试正文" "schan://你的SENDKEY"
```

微信收到消息即表示链路通畅。

## 完整示例

以下命令可直接复制运行，验证从 Apprise 到 Server酱到微信的完整推送链路：

```bash
pip install apprise && apprise -t "【成功】研究完成通知" -b "Local Deep Research 已完成本轮深度研究，请查看结论。" "schan://你的SENDKEY"
```

## 常见问题

**每天能发多少条消息？**

免费额度为每天 5 条，每分钟上限 50 条。订阅会员目前特价最低 3 元/月，一天最多可发 1000 条（[价格详情](https://sct.ftqq.com/subscribe)）。

**研究完成后没有收到微信消息怎么办？**

先确认 SendKey 以 `SCT` 开头且填写正确，再用上方命令行自测验证链路。如自测能收到但 Local Deep Research 不推送，检查应用内通知设置是否已保存生效。更多排查步骤见 [常见问题与排查](https://sct.ftqq.com/docs/getting-started/faq/)。

**短时间多次研究会触发频率限制吗？**

Server酱 每分钟推送上限为 50 条。如研究任务密集，建议在 Local Deep Research 侧合并通知或适当间隔。

**Server酱³（sctp 开头 SendKey）怎么用？**

`schan://` 协议目前仅支持 SCT 开头的 SendKey。sctp 开头的 Server酱³ SendKey 暂无专用 Apprise 插件，可使用通用 `json://` 插件直连 push.ft07.com API，详见 [Apprise 通用接入](https://sct.ftqq.com/docs/integrations/apprise/)。

## 相关集成

- [/integrations/python/ —— Python 脚本推送](https://sct.ftqq.com/docs/integrations/python/)
- [/integrations/claude-code/ —— Claude Code 任务完成通知](https://sct.ftqq.com/docs/integrations/claude-code/)
- [/integrations/qinglong/ —— 青龙面板任务通知](https://sct.ftqq.com/docs/integrations/qinglong/)


## 懒人方案：把这段话复制给你的 AI 助手

把下面这段文字原样粘贴给 Claude Code、Cursor 或任何 AI 编程助手，它就会替你完成 Server酱 的接入：

```text
请帮我把 Server酱 微信通知接入到我当前的项目/工具中：
1. API：POST https://sctapi.ftqq.com/{SendKey}.send，参数 title（必填，不能含换行）、desp（正文，支持 Markdown，可选）；成功时返回 JSON 的 code 为 0。
2. 如果我的 SendKey 以 sctp 开头，则改用 https://{uid}.push.ft07.com/send/{SendKey}.send，uid 是 SendKey 中 sctp 与 t 之间的数字。
3. SendKey 从环境变量 SERVERCHAN_SENDKEY 读取；如果没有，提醒我到 https://sct.ftqq.com 免费获取（每天 5 条额度）。
4. 安全要求：不要把 SendKey 硬编码进代码、不要打印到日志、不要提交到 git。
5. 频率约定：任务结束发 1 条结果摘要即可，批量任务合并成一条，不要每步都推。
请根据我当前的项目和场景直接写好代码/配置并验证。
```

