Douban MCP Server
Provides tools for searching and browsing Douban content including books, movies, TV shows, and group discussions. Enables retrieving reviews, searching by ISBN or keywords, and accessing group topic details.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Douban MCP Server search for the book 'The Three-Body Problem'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
豆瓣 MCP 服务器
这个 MCP 服务器提供了与豆瓣内容交互的功能,包括图书、电影、电视剧和小组讨论等。
功能特性
书籍:搜索、查看图书评论
电影、电视剧:搜索、查看评论
小组讨论:列出话题、查看话题详情
Related MCP server: douban-mcp
组件
工具
search-book
从豆瓣搜索图书信息
输入参数:
isbn(字符串, 可选): 图书的 ISBN 编号q(字符串, 可选): 图书标题的搜索关键词
list-book-reviews
获取豆瓣图书评论
输入参数:
id(字符串): 豆瓣图书 ID
search-movie
从豆瓣搜索电影、电视剧信息
输入参数:
q(字符串): 电影、电视剧标题的搜索关键词
list-movie-reviews
获取豆瓣电影评论
输入参数:
id(字符串): 豆瓣电影 ID
list-tv-reviews
获取豆瓣电视剧评论
输入参数:
id(字符串): 豆瓣电视剧 ID
browse
在默认浏览器中打开图书详情页
输入参数:
id(字符串): 豆瓣图书 ID
list-group-topics
列出豆瓣小组话题
输入参数:
id(字符串, 可选): 豆瓣小组 ID (默认为 '732764')tags(字符串数组, 可选): 按标签筛选话题from_date(字符串, 可选): 按日期筛选话题 (格式: "YYYY-MM-DD")
get-group-topic-detail
获取特定话题的详情
输入参数:
id(字符串): 豆瓣话题 ID
开始使用
克隆仓库
安装依赖:
npm install构建服务器:
npm run build启动服务器:
npm start
与桌面应用集成
要将此服务器与桌面应用集成,请将以下内容添加到应用的服务器配置中,部分API需要用到COOKIE,请自行获取。:
{
"mcpServers": {
"douban-mcp": {
"command": "node",
"args": [
"{文件的绝对路径}/dist/index.js"
],
"env": {
"COOKIE": "bid=;ck=;dbcl2=;frodotk_db=;" // 从网站获取 cookie 值
}
}
}
}开发
构建:
npm run build监视模式:
npm run dev启动:
npm start测试:
npm test
依赖项
@modelcontextprotocol/sdk: MCP SDK
dayjs: 日期库
json2md: JSON 转 Markdown 转换器
turndown: HTML 转 Markdown 转换器
zod: TypeScript 优先的模式验证
资源
许可证
本项目采用 MIT 许可证。
Available Tools
8 toolsbrowseB
open default browser and browse douban book detail
Inputs: id (required).
get-group-topic-detailD
get group topic detail
Inputs: id (required).
list-book-reviewsD
list book reviews
Inputs: id (required).
list-group-topicsC
list group topics
Inputs: id, tags, from_date.
list-movie-reviewsC
list movie reviews
Inputs: id (required).
list-tv-reviewsC
list tv reviews
Inputs: id (required).
search-bookA
search books from douban, either by ISBN or by query
Inputs: q, isbn.
search-movieB
search movies or tvs from douban by query
Inputs: q (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes targeting different Douban resources (books, movies/TVs, groups), but 'search-book' and 'search-movie' could be confused as both handle search operations across media types. The descriptions clarify that 'search-book' is for books only (by ISBN or query) while 'search-movie' covers movies and TVs, but the naming overlap might cause initial ambiguity.
The naming follows a consistent verb_noun pattern (e.g., 'list-book-reviews', 'search-book') with clear, descriptive names. The only minor deviation is 'browse', which uses a single verb without a noun, but this is acceptable as it describes a distinct browser action. Overall, the pattern is highly readable and predictable.
With 8 tools, the server is well-scoped for interacting with Douban's key features (books, movies/TVs, groups). Each tool earns its place by covering essential operations like searching, listing reviews, and browsing details, without being overly broad or too limited for the domain.
The server covers basic search and listing operations for books, movies/TVs, and groups, but has notable gaps in CRUD/lifecycle coverage. For example, there are no tools for creating, updating, or deleting reviews or topics, which limits agent workflows. However, the provided tools allow for core browsing and information retrieval tasks.
Maintenance
Related MCP Connectors
Search Chinese books with Douban ratings, AI book guides and curated toplists. Free, no API key.
hot search、suggestions、video/user/product search、comments/replies、users/works/series、transcript
Douyin (抖音, Chinese TikTok) video search, video details, comments, creators and shop products.
Search books and authors, fetch editions, browse subjects, and resolve cover images.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides access to The Movie Database (TMDB) API, enabling users to search and retrieve comprehensive information about movies, TV shows, and people. It supports trending lists, recommendations, and media details, returning results in Chinese by default.329 npmMIT
- AlicenseAqualityBmaintenanceMCP server and CLI for accessing Douban movie and book data, including search, details, reviews, charts, and user collections. Supports read-only and write operations (mark movies/books) when authenticated.11275 npm20MIT
- AlicenseCqualityDmaintenanceMCP server for querying Douban books, movies, TV shows, and group topics, with tools for searching, retrieving details, and listing reviews.10MIT
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server that accesses Douban data through your local Chrome session, enabling search, movie/book details, marks, reviews, and more.15Apache 2.0