Bilibili MCP
MCP server by nuko777 Verified · npm:@lobo777
Connects AI assistants to Bilibili through a stdio MCP server with 44 tools for reading and acting on videos, comments, favorites and messages. It is aimed at DeepSeek Harness users and other stdio MCP clients. Write actions are dry-run until confirmed.
Install Bilibili MCP
Built from the published package, never by AI.
claude mcp add bilibili-mcp -- npx -y @lobo777/bilibili-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"bilibili-mcp": {
"args": [
"-y",
"@lobo777/bilibili-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"bilibili-mcp": {
"args": [
"-y",
"@lobo777/bilibili-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"bilibili-mcp": {
"args": [
"-y",
"@lobo777/bilibili-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add bilibili-mcp -- npx -y @lobo777/bilibili-mcp{
"mcpServers": {
"bilibili-mcp": {
"args": [
"-y",
"@lobo777/bilibili-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add bilibili-mcp npx -y @lobo777/bilibili-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the bilibili-mcp block.
About
Bilibili MCP is a stdio MCP server that gives AI assistants access to Bilibili data and actions. It provides 25 read-only tools and 19 write tools covering rankings, popular videos, video details, subtitles, keyframes, comments, danmaku, search, users, favorites, notifications, private messages and dynamic feeds. The server is written for Node.js and has zero runtime dependencies.
Write operations run as dry-run by default and only execute when confirm is set to true. The server does not read browsers or decrypt cookies. Login state is supplied by an external skill or script. The project is a personal tool, not an official Bilibili SDK, and it is aimed at users of DeepSeek Harness and other stdio MCP clients.
Written from the project's README and checked against it.
Tools it gives your assistant
auth_statusChecks the Bilibili login state.rank_listReads Bilibili ranking lists.video_infoReads video details from a BV number, av number, full link or short link.video_transcriptReads subtitles for a video.video_framesExtracts keyframes from a video, including nine-grid images.commentsReads video and dynamic comments, including replies and top comments.searchSearches Bilibili, with an optional minimum play count filter.favorite_videoFavorites or unfavorites a video, in one or several folders.post_commentPosts plain text comments and replies. Image comments are rejected.send_danmakuSends a danmaku comment to a video. Dry-run unless confirmed.
What you need
- Node.js 20.10 or later (24 recommended)
- A logged-in Bilibili session supplied through cookies
- ffmpeg, optional, for keyframe cropping
Try asking
- Show the top 10 videos on the Bilibili ranking list with tags.
- Get the transcript of this Bilibili video: BV1xx411c7mD
- Search Bilibili for DeepSeek R1 and show the top 5 results.
Good to know
- Beta release (0.1.0-beta.6).
- post_comment does not support images and rejects image_paths.
- Danmaku reads may be truncated for very long videos.
- Bilibili interfaces may change at any time.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Bilibili MCP
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
Bilibili MCP: common questions
Does Bilibili MCP need a Bilibili login?
Login state is supplied from outside the server through the bilibili-login skill, a script or environment variables. The server does not read browsers or decrypt cookie databases.
Will it post to Bilibili without asking?
No. Write tools return dry_run by default and only run when confirm is set to true.
Can it post comments with images?
No. post_comment accepts text only, and image comments are handled by the bilibili-browser-comment skill.
How do I install Bilibili MCP?
In Claude Code run claude mcp add bilibili-mcp -- npx -y @lobo777/bilibili-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Bilibili MCP the official server?
Bilibili MCP is published by npm:@lobo777 from its verified domain in the official MCP Registry.
Is Bilibili MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Bilibili MCP safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Bilibili MCP?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does Bilibili MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
