Bilibili Comments Mcp
@222wcnm
About Bilibili Comments Mcp
B 站视频评论获取工具.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"bilibili-comments": {
"command": "node",
"args": [
"/path/to/bilibili_mcp.js"
],
"env": {
"BILIBILI_COOKIE": "your_bilibili_cookie_here"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Bilibili Comments Mcp?
Bilibili Comments Mcp is a Model Context Protocol (MCP) server that retrieves comments from Bilibili videos. It is built with Node.js and provides a single tool to fetch paginated comments, including nested replies. This server is intended for developers who want to integrate Bilibili comment data into MCP-compatible applications.
How to use Bilibili Comments Mcp?
Clone the repository, install dependencies (@modelcontextprotocol/sdk and axios), then configure your MCP client to run the bilibili_mcp.js script, passing your Bilibili cookie via the environment variable BILIBILI_COOKIE. Invoke the tool get_video_comments with parameters such as bvid or aid, page, pageSize, sort, and includeReplies.
Key features of Bilibili Comments Mcp
- Retrieve Bilibili video comments with pagination support.
- Include nested (louzhonglou) replies when enabled.
- Sort comments by time or popularity.
- Specify page size from 1 to 49 comments.
- Requires a valid Bilibili cookie for authentication.
Use cases of Bilibili Comments Mcp
- Fetching and analyzing video comments for sentiment or engagement.
- Building a comment moderation or archiving tool.
- Integrating Bilibili community feedback into a dashboard.
- Automating comment data collection for research.
FAQ from Bilibili Comments Mcp
What is Bilibili Comments Mcp?
It is an MCP server that retrieves comments from Bilibili videos. It supports pagination and nested replies and requires a Bilibili cookie to access the API.
How do I get a Bilibili cookie?
Log in to Bilibili's web version, open developer tools (F12), go to the Network tab, refresh the page, find any request, and copy the Cookie value from the Request Headers.
What dependencies are needed?
Node.js, @modelcontextprotocol/sdk, and axios are required. Install them via npm.
What parameters does get_video_comments accept?
It accepts bvid or aid (video ID), page (default 1), pageSize (1–49, default 20), sort (0 for time, 1 for popularity), includeReplies (default true), and an optional cookie override.
Are there any transport or auth requirements?
The server communicates via standard input/output (stdio) transport. Authentication uses a Bilibili cookie set in the environment variable BILIBILI_COOKIE.
Frequently asked questions
What is Bilibili Comments Mcp?
It is an MCP server that retrieves comments from Bilibili videos. It supports pagination and nested replies and requires a Bilibili cookie to access the API.
How do I get a Bilibili cookie?
Log in to Bilibili's web version, open developer tools (F12), go to the Network tab, refresh the page, find any request, and copy the Cookie value from the Request Headers.
What dependencies are needed?
Node.js, `@modelcontextprotocol/sdk`, and `axios` are required. Install them via npm.
What parameters does `get_video_comments` accept?
It accepts `bvid` or `aid` (video ID), `page` (default 1), `pageSize` (1–49, default 20), `sort` (0 for time, 1 for popularity), `includeReplies` (default true), and an optional `cookie` override.
Are there any transport or auth requirements?
The server communicates via standard input/output (stdio) transport. Authentication uses a Bilibili cookie set in the environment variable `BILIBILI_COOKIE`.
Basic information
More Other MCP servers
Awesome Mlops
visengerA curated list of references for MLOps

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Comments