
Bilibili MCP
MCP server to search Bilibili videos and fetch trending lists, video details, UP-host info, and anime schedules.
Add to your client
Copy the config for your MCP client and paste it into its config file.
npx bilibili-mcp-jsPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"bilibili-mcp": {
"command": "npx",
"args": [
"bilibili-mcp-js"
]
}
}
}Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf
Before you start
- Node.js >= 20.12.0
About Bilibili MCP
A Model Context Protocol server that gives AI applications access to Bilibili video content. It provides tools for searching videos, retrieving trending and ranking lists (overall hot, must-watch, leaderboards, full-site music chart), getting video details by BV or AV number, fetching UP-host (creator) information including follower/following counts, and querying the anime broadcast schedule within a time range. The server supports stdio transport by default and a streamable HTTP mode via TRANSPORT=remote. A published npm package allows running it via npx, and the repo includes a LangChain example, test scripts, and MCP Inspector support.
Tools & capabilities (5)
search-videoSearch Bilibili video content and return a list of video summaries.
get-trendingGet Bilibili trending content: overall hot, must-watch (入站必刷), rankings, and full-site music chart.
get-video-detailGet detailed information for a Bilibili video (supports BV number or AV number).
get-up-infoGet UP-host (creator) information such as basic profile, follower count, and following count.
get-anime-scheduleGet the anime broadcast schedule (timetable of airing anime within a time range).
What this server can do
Bilibili MCP provides tools for these capabilities — tap one to see every MCP server that does the same:
When to use it
- Let an AI assistant search Bilibili for videos on a given topic and summarize results.
- Surface trending or ranking Bilibili content (hot videos, must-watch, music charts) inside an AI workflow.
- Look up details for a specific video by BV/AV number, or profile a Bilibili UP-host.
- Check the anime broadcast schedule for upcoming episodes within a time range.
Bilibili MCP FAQ
How do I run it without installing?
Use the npm package via npx: configure an mcpServers entry with command "npx" and args ["bilibili-mcp-js"]. The package was published by the community contributor HQHC.
Can I run it locally from source?
Yes. Run npm run build, then point the config args at your built file, e.g. command "node" and args ["d:\\your-path\\bilibili-mcp-js\\dist\\index.js"].
Does it support a remote/HTTP transport?
Yes. The server defaults to stdio, but you can start it in streamable HTTP mode with TRANSPORT=remote (optionally setting PORT), e.g. TRANSPORT=remote npm run start.
Alternatives to Bilibili MCP
Compare all alternatives →Official MCP reference server that fetches a URL and returns its content as clean Markdown, with chunking.
Official Firecrawl MCP server — scrape, crawl, map, search, and structured extraction for any LLM client.
Exa's neural web search and crawling MCP server — runs locally via npx or as a hosted remote endpoint.
Compare Bilibili MCP with: