Bilibili MCP Server

Bilibili MCP 是一个本地 MCP server,让 AI Agent 读取 Bilibili 内容。你可以读取字幕与评论、按主题搜索视频、按名称或关键词查找并了解 UP 主,也可以遍历自己账号的收藏夹。即使视频没有字幕,通过 setup 安装本地 ASR 模型后也能读到它的文字内容。. It runs locally over stdio via the published package.

People connecting media tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-12 · ★ 20 · #19 OF 173 MAINTAINED MEDIA · VERIFIED 2026-09-18

Apache-2.0 · Python servers · how we verify → /methodology

01 · Install Bilibili MCP Server

Claude Code

claude mcp add xzxzzx-ai-bilibili-mcp -- npx -y @xzxzzx/bilibili-mcp

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license Apache-2.0 - declared in the repository

npm package @xzxzzx/bilibili-mcp - the @xzxzzx scope differs from the repo owner (xzxzzx-ai); confirm it's the project's official package

registry namespace io.github.XZXZZX-Ai is GitHub-verified and matches the repo owner

03 · What Bilibili MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v1.14.1 · 2026-09-12

中文 · 修复已安装 ASR 后再次运行 setup 仍询问“是否安装”的问题。 · 已安装且就绪:显示当前模型、设备和计算类型,默认继续使用,不重建环境、不下载模型。 · 主动选择重新配置:保留模型和设备选择,并说明运行环境重建、相同模型复用及更换模型下载的行为。 · 未安装时提示安装;安装不完整或设备尚未验证时提示修复/验证。 · 非交互安装参数保持原有行为。 · 更新:npx -y…

v1.14.0 · 2026-09-12

中文 · 扫码登录(推荐):运行 npx -y @xzxzzx/bilibili-mcp@latest setup,按回车选择扫码,用手机 B站 App 扫描终端二维码并确认。无需复制 Cookie;无法扫码时仍可选择手动 Cookie。 · 已有凭证先验证,可继续使用或重新登录。新凭证验证并保存成功后才生效,取消或失败保留旧凭证;随后仍可选择安装 ASR。 · 修复评论时间排序,保留 B站返回的主评论顺序。感谢 @XeAuCs 在…

v1.13.1 · 2026-08-24

v1.13.1 - ASR GPU 加速与 Fake-IP 诊断 / ASR GPU Acceleration and Fake-IP Diagnostics · 中文 · ASR 模型选择新增“速度优先 / 均衡 / 质量优先”说明,small 继续作为默认推荐。 · 新安装默认使用 auto:真实验证 cuda/float16 成功就使用 NVIDIA GPU,否则以脱敏类别说明原因并继续使用已验证的 cpu/int8。显式…

04 · Who maintains Bilibili MCP Server

Bilibili MCP Server is maintained by xzxzzx-ai. It's the only MCP server we track from this author; the repo dates to Feb 2026.

05 · Facts

category
media - ranked #19 of 173 actively-maintained media servers as of 2026-09-18.
release cadence
10+ releases in the last 90 days (latest 2026-09-12)
registry
io.github.XZXZZX-Ai/bilibili-mcp (active, first published 2026-08-06 · 5 versions)
packages
npm:@xzxzzx/bilibili-mcp

06 · Bilibili MCP Server FAQ

What is Bilibili MCP Server?

Bilibili MCP 是一个本地 MCP server,让 AI Agent 读取 Bilibili 内容。你可以读取字幕与评论、按主题搜索视频、按名称或关键词查找并了解 UP 主,也可以遍历自己账号的收藏夹。即使视频没有字幕,通过 setup 安装本地 ASR 模型后也能读到它的文字内容。. It runs locally over stdio via the published package.

Is Bilibili MCP Server still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-12 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Bilibili MCP Server?

Run `npx -y @xzxzzx/bilibili-mcp`. You can also paste the ready-made client config above.

Does Bilibili MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Bilibili MCP Server