Bilibili

Go-based MCP server for querying Bilibili personal info, latest follows, and video search via stdio/sse modes.
  • go

4

GitHub Stars

go

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "dnullp-bilibili-mcp-server": {
      "command": "D:\\bili\\Bilimcp.exe",
      "args": [
        "D:\\bili\\config.yml"
      ],
      "env": {
        "COOKIE": "cookie_value_here"
      }
    }
  }
}

This MCP Server is a Go-based service that runs either via SSE or stdio and provides access to Bilibili-related tools, including querying personal information, retrieving your latest followings, and searching videos. It enables AI-powered, personalized content interactions by exposing these data endpoints through a lightweight MCP interface.

How to use

To use this MCP server with an MCP client, run the server in stdio mode by supplying a path to a YAML configuration file that contains your login cookie. The server will read the cookie from the config and allow access to private information that requires login.

Typical use pattern:

  • Create a YAML config file that stores your Bilibili Cookie under the key Cookie.
  • Start the MCP server by passing the path to this config file as the first argument.
  • Connect your MCP client to the running server to perform the available actions.

How to install

Prerequisites:

  • A working Go environment if you are building from source (not required if you use a prebuilt binary).
  • A Windows host if you follow the example run command, or adapt to your OS if a compatible binary is provided for your platform.
D:\bili\Bilimcp.exe D:\bili\config.yml

Prepare a configuration YAML file that includes your Bilibili Cookie. Create a file named config.yml with the following content: Cookie: xxxxx

Additional notes

The server supports running in stdio mode, which uses a local executable to read a path to a configuration file. Ensure that the path to the YAML configuration is correct and that the Cookie value is kept confidential.

Available tools

query_user_info

Fetches your Bilibili personal information, potentially requiring login through the provided cookie.

query_following_latest

Retrieves your most recently followed users to help analyze your current activity, requiring authentication.

search_video

Searches Bilibili videos based on keywords to discover new content.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational