Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

An MCP server powered by public Bilibili APIs so AI agents can search videos and read public video and creator metadata.

README.md

🎬 Bilibili MCP Server

![Python](https://www.python.org/) ![License](./LICENSE) ![Stars](https://github.com/your-github-username/bilibili-mcp-server)

一个基于 Bilibili 公开 API 的 MCP Server,让 AI Agent 能搜索视频并读取公开视频与 UP 主信息。 An MCP server powered by public Bilibili APIs so AI agents can search videos and read public video and creator metadata.

<!-- demo gif here -->

Features

  • No login, no cookie, public APIs only
  • Built with Python and FastMCP
  • Ready for Claude Desktop and Cursor
  • Includes basic error handling for timeout, HTTP failures, and Bilibili API errors

Installation

Option 1: pip

git clone https://github.com/12qw3er4ty5u-collab/bilibili-mcp-server.git
cd bilibili-mcp-server
python -m venv .venv

Windows:

.venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .env

macOS / Linux:

source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env

Run:

python server.py

Option 2: uv

git clone https://github.com/12qw3er4ty5u-collab/bilibili-mcp-server.git
cd bilibili-mcp-server
uv venv

Windows:

.venv\Scripts\activate
uv pip install -r requirements.txt
copy .env.example .env

macOS / Linux:

source .venv/bin/activate
uv pip install -r requirements.txt
cp .env.example .env

Run:

uv run server.py

Configuration

Claude Desktop

Add the following snippet to your Claude Desktop MCP config:

{
  "mcpServers": {
    "bilibili-mcp-server": {
      "command": "python",
      "args": ["server.py"],
      "cwd": "./bilibili-mcp-server"
    }
  }
}

If you prefer uv:

{
  "mcpServers": {
    "bilibili-mcp-server": {
      "command": "uv",
      "args": ["run", "server.py"],
      "cwd": "./bilibili-mcp-server"
    }
  }
}

Cursor

Add the following snippet to your Cursor MCP config:

{
  "mcpServers": {
    "bilibili-mcp-server": {
      "command": "python",
      "args": ["server.py"],
      "cwd": "./bilibili-mcp-server"
    }
  }
}

If you prefer uv:

{
  "mcpServers": {
    "bilibili-mcp-server": {
      "command": "uv",
      "args": ["run", "server.py"],
      "cwd": "./bilibili-mcp-server"
    }
  }
}

Tools

| Tool | Description | Parameters | Returns | | --- | --- | --- | --- | | search_videos | Search public Bilibili videos by keyword. / 按关键词搜索公开视频。 | keyword: str, limit: int = 10 | Video list with title, link, play count, and bvid | | get_video_info | Get one video's public details by bvid. / 按 bvid 获取视频详情。 | bvid: str | Title, description, uploader, play count, and link | | get_user_info | Get a creator's public profile by uid. / 按 uid 获取 UP 主信息。 | uid: int | Name, follower count, bio, and profile URL |

Public APIs Used

  • Search: https://api.bilibili.com/x/web-interface/search/type?search_type=video&keyword=...
  • Video info: https://api.bilibili.com/x/web-interface/view?bvid=...
  • User info: https://api.bilibili.com/x/web-interface/card?mid=...

This project does not use login, cookies, or private endpoints. 本项目不使用登录、Cookie 或任何私有接口。

Contributing

Issues and pull requests are welcome. 欢迎提交 Issue 和 Pull Request。

License

MIT License. See LICENSE for details.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.