Skip to main content
Glama
Douban MCP Server
by moria97

豆瓣 MCP 服务器

English | 中文

这个 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

开始使用

  1. 克隆仓库

  2. 安装依赖: npm install

  3. 构建服务器: npm run build

  4. 启动服务器: 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

依赖项

资源

许可证

本项目采用 MIT 许可证。

Available Tools

8 tools
browseB

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

    C2.7/5.0

    Scored across 8 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides 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.
      32
      9 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP 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.
      11
      275 npm
      20
      MIT