Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
| Date | Stars |
|---|---|
| 2026-07-31 | 566 |
| 2026-08-04 | 568 |
| 2026-08-06 | 568 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<p align="center"><img src= "https://cdn.canghecode.com/blog/%E5%BE%AE%E4%BF%A1%E8%AF%BB%E4%B9%A6MCP%20bac.png" alt="MaxKB" width="300" /></p>
<h3 align="center">一个为微信读书提供 MCP 服务的工具</h3>
<p align="center">
<a href="https://opensource.org/license/MIT"><img src="https://img.shields.io/github/license/freestylefly/mcp-server-weread?color=rgb(25%2C%20121%2C%20255)" alt="The MIT License"></a>
<a href=""><img src="https://img.shields.io/github/forks/freestylefly/mcp-server-weread?color=green" alt="Forks"></a>
<a href="https://canghecode.com/"><img src="https://img.shields.io/badge/介绍-%E5%AE%98%E7%BD%91-green" alt="Official"></a>
<a href="https://github.com/laigeoffer/pmhub"><img src="https://img.shields.io/github/stars/freestylefly/mcp-server-weread?style=flat-square&color=rgb(25%2C%20121%2C%20255)" alt="Stars"></a>
<a href="https://mp.weixin.qq.com/s/NQslbUBgWIBMyvTIa3PfYQ"><img src="https://img.shields.io/badge/WeReadMCP-教程-blue" alt="Experience"></a>
</p>
<hr/>
微信读书 MCP Server 是一个为微信读书提供 MCP(Model Context Protocol)服务的工具,支持将微信读书的书籍、笔记和划线数据提供给支持MCP的大语言模型客户端,如Cursor、Claude Desktop。
## 功能特点
- 从微信读书获取书架信息
- 搜索书架中的图书
- 获取图书的笔记和划线
- 获取图书的热门书评
- 支持按章节组织笔记和划线
- 与支持MCP协议的LLM客户端无缝集成
## 主要工具
1. **get_bookshelf** - 获取用户书架上所有书籍
- 返回书籍基本信息,包括书名、作者、译者和分类等
2. **search_books** - 通过关键词检索用户书架上的书籍
- 支持模糊匹配和精确匹配
- 可选是否包含详细信息
- 可设置最大结果数量
3. **get_book_notes_and_highlights** - 获取指定书籍的所有划线和笔记
- 支持按章节组织结果
- 支持筛选划线样式
- 返回结构化的数据以便于LLM理解
4. **get_book_best_reviews** - 获取指定书籍的热门书评
- 支持设置返回数量
- 支持分页浏览
- 包含评分、点赞数和评论者信息
## 安装与使用
### 先决条件
- Node.js 16.x 或更高版本
- 微信读书账号和有效的Cookie
### 安装教程
详见:
- [用微信读书MCP在Cursor中构建私人图书馆,太哇塞了!](https://mp.weixin.qq.com/s/NQslbUBgWIBMyvTIa3PfYQ)
- [Weread MCP Server 使用指南](https://chenge.ink/article/post20250505)
### 与Claude Desktop集成
有多种方式可以与Claude Desktop集成:
#### 方式一:通过 npx 使用(最简单,推荐)
1. 打开Claude Desktop
2. 进入设置 -> MCP配置
3. 添加工具,使用以下JSON配置:
```json
{
"mcpServers": {
"mcp-server-weread": {
"command": "npx",
"args": ["-y", "mcp-server-weread"],
"env": {
// 方式1:使用Cookie Cloud(推荐)
"CC_URL": "https://cc.chenge.ink", // Cookie Cloud的URL
"CC_ID": "您的ID", // Cookie Cloud的ID
"CC_PASSWORD": "您的密码" // Cookie Cloud的密码
// 或方式2:直接提供Cookie
// "WEREAD_COOKIE": "您的微信读书Cookie"
}
}
}
}
```
#### 方式二:全局安装后使用
1. 全局安装包:
```bash
npm install -g mcp-server-weread
```
2. 在Claude配置中使用:
```json
{
"mcpServers": {
"mcp-server-weread": {
"command": "mcp-server-weread",
"env": {
// 同上方式配置环境变量
}
}
}
}
```
> 提示:直接在Claude配置中提供环境变量的方式更加方便,无需设置.env文件,推荐使用。
## CookieCloud 配置说明
为了解决 Cookie 频繁过期,需要重新获取并更新环境变量的问题。本项目支持 [CookieCloud](https://github.com/easychen/CookieCloud) 服务来自动同步和更新 Cookie。CookieCloud 是一个开源的跨浏览器 Cookie 同步工具,支持自建服务器。
### 配置步骤:
安装浏览器插件
Edge商店:[CookieCloud for Edge](https://microsoftedge.microsoft.com/addons/detail/cookiecloud/bffenpfpjikaeocaihdonmgnjjdpjkeo)
Chrome商店:[CookieCloud for Chrome](https://chromewebstore.google.com/detail/cookiecloud/ffjiejobkoibkjlhjnlgmcnnigeelbdl)
### 配置 CookieCloud 插件
服务器地址:使用默认服务器 https://cc.chenge.ink 或填入自建服务器地址
点击 "自动生成密码"
同步域名关键词中填入 "weread"
点击"保存" ,然后点击 "手动同步"确保配置生效
[可选] 如果需要插件自动保活,可以在保活中填入 https://weread.qq.com,插件会自动刷新 Cookie
在MCP Json中配置CookieCloud变量:
CC_URL=你的CookieCloud服务器地址 (或使用我的默认服务器地址 https://cc.chenge.ink )
CC_ID=你的CookieCloud用户UUID
CC_PASSWORD=你的CookieCloud密码
注意:配置 CookieCloud 后,系统会优先使用 CookieCloud 获取 Cookie,获取失败才会使用 WEREAD_COOKIE 环境变量的值。
## Cookie获取方法
微信读书的Cookie可以通过以下步骤获取:
1. 使用Chrome浏览器登录[微信读书网页版](https://weread.qq.com/)
2. 按F12打开开发者工具,切换到Network标签页
3. 刷新页面,在请求列表中找到weread.qq.com的请求
4. 在Headers中找到Cookie字段,复制其完整内容
5. 将复制的内容添加到MCP Json 或 .env文件的WEREAD_COOKIE变量中
## 使用示例
以下是一些与LLM对话的示例:
**获取书架信息**
```
用户: 帮我查看我的微信读书书架
LLM: 我将获取您的微信读书书架信息。
[LLM调用get_bookshelf工具]
我从您的微信读书书架获取到了208本书籍。以下是Excerpt of 6,355 characters
Read on GitHub苍何 · Keep climbing
3
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:d7d5cf4abcef1651, name:mcp server