douban-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOUBAN_COOKIE | No | 登录态cookie(可选,但详情页需要) | |
| DOUBAN_LOG_LEVEL | No | 日志级别:debug/info/warn/error | info |
| DOUBAN_USER_AGENT | No | 覆盖默认UA | 内置Chrome UA |
| DOUBAN_DATA_SOURCE | No | 数据源:html或frodo | html |
| DOUBAN_ENABLE_WRITE | No | 启用写操作 | false |
| DOUBAN_FRODO_APIKEY | No | 覆盖frodo apikey | 内置默认 |
| DOUBAN_DISABLE_CACHE | No | 关闭缓存(测试用) | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_movieA | 按关键词搜索豆瓣电影。返回标题/年份/评分/链接的 markdown 列表。 |
| get_movieA | 获取一部电影的详细信息(导演、演员、评分、简介等)。id 是豆瓣电影 subject id(数字)。 |
| get_movie_reviewsA | 获取一部电影的短评列表(不含长评)。 |
| get_movie_chartA | 获取电影榜单。kind: top250 (Top250)、weekly (一周口碑榜)、new (近期上映)。 |
| search_bookB | 按关键词搜索豆瓣图书。 |
| get_bookA | 获取图书详情(作者、出版、ISBN、简介等)。id 是豆瓣图书 subject id(数字)。 |
| get_book_reviewsC | 获取图书的短评列表。 |
| get_book_chartB | 获取图书榜单。kind: fiction (小说)、non_fiction (随笔)、new (新书速递)。 |
| get_user_collectionsB | 获取某用户的"想看/在看/看过"列表。无 cookie 时必须传 uid。 |
| get_user_doulistC | 获取某用户的豆列清单。无 cookie 时必须传 uid。 |
| get_user_profileA | 获取某用户的基本信息。无 cookie 时必须传 uid。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Each tool targets a distinct resource-action combination: book vs movie vs user, and get vs search vs chart. No two tools have overlapping purposes, and descriptions clearly differentiate them.
All tools follow a consistent verb_resource_subresource pattern in snake_case (e.g., get_book_reviews, search_movie). No mixing of conventions.
11 tools cover the main read operations for books, movies, and users. This is a reasonable number—neither too few nor too many for the domain.
The set includes search, detail, reviews, and charts for both books and movies, plus user info. It lacks write operations (e.g., rating, reviewing) but within the apparent read-only scope, it is fairly complete. Minor gaps like missing movie/book tags or celebrity info, but not essential.