bilibili MCP Server

by wangshunnn

Integrations

  • Enables querying user information by ID, searching for video information by ID, and searching videos by keywords from bilibili.com.

bilibili MCP 服务器

英语 |简体中文

bilibili.com API 的模型上下文协议 ( MCP ) 服务器。

特征

用户信息

  • [x] 通过mid获取用户信息
  • [x] 通过bvid搜索视频信息
  • [x] 通过关键词搜索视频

用法

克劳德桌面

参考官方文档

npm 配置(推荐)

{ "mcpServers": { "bilibili": { "command": "npx", "args": ["-y", "@wangshunnn/bilibili-mcp-server"] } } }

或者

本地克隆仓库的配置

{ "mcpServers": { "bilibili": { "command": "node", "args": [ "/ABSOLUTE/PATH/TO/PARENT/FOLDER/bilibili-mcp-server/dist/index.js" ] } } }

保存配置并重启,您将看到新的bilibili MCP选项,如下所示:

演示视频

https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76

本地开发

  1. 安装依赖项
pnpm i
  1. 建造
pnpm build # or pnpm dev
  1. 针对本地 repo 进行调试,请参阅上文

出版

要将新版本发布到 npm:

# For patch version update (0.0.x) pnpm publish:patch # For minor version update (0.x.0) pnpm publish:minor # For major version update (x.0.0) pnpm publish:major

这些命令将自动:

  1. 修改 package.json 中的版本
  2. 构建项目
  3. 发布到 npm 注册表

致谢

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

一个模型上下文协议服务器,允许AI助手检索用户信息,通过ID搜索视频,并通过关键字在bilibili.com上查找内容。

  1. 特征
    1. 用户信息
  2. 用法
    1. 克劳德桌面
  3. 本地开发
    1. 出版
      1. 致谢

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.
          Last updated -
          1
          Python
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables AI assistants to search and access information stored in Kibela, supporting note search, retrieval, creation and updating.
          Last updated -
          6
          107
          9
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.
          Last updated -
          1
          44
          8
          JavaScript
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.
          Last updated -
          1
          75
          3
          TypeScript
          MIT License

        View all related MCP servers

        ID: yqus9xc2k4