bilitrack MCP Server
Track Bilibili users, videos, dynamics, articles, and comments via the public web API.
bilitrack scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 61 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-bilitrack": { "command": "npx", "args": [ "-y", "@reneturcios/bilitrack@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
bilitrack
bilitrack follows people and content on Bilibili: look a user up, see what they have posted lately — videos, dynamics, and articles — check who they follow, and read the comment threads under a video, dynamic, or article, including subtitle text for a video when you ask for it. Everything is read from Bilibili's public web API.
This package is a clean-room rebuild of the 12-tool BiliStalkerMCP tool list, written fresh from its public README spec.
How it talks to the service
Each tool maps onto a public endpoint under
https://api.bilibili.com/x/... and returns that endpoint's data
payload:
# Optional: a logged-in session raises limits and unlocks gated reads.
export SESSDATA="your SESSDATA cookie value"
export BILI_JCT="your bili_jct cookie value (optional)"
export BUVID3="your buvid3 cookie value (optional)"
# Optional override (default: https://api.bilibili.com)
export BILIBILI_API_URL="https://api.bilibili.com"
The cookies are genuinely optional. With none set, requests go out
cookieless, which Bilibili accepts for most public reads — nothing
fails just because SESSDATA is missing. When the API answers with a
non-zero code, the call fails with that code and message; an
upstream HTTP error is reported with its status and a body excerpt.
Username resolution: tools take user_id_or_username. A numeric
value is used as the user's mid directly; anything else is resolved
through user search and only an exact username match is accepted —
a near match is an error, not a guess.
Subtitle simplification: with fetch_subtitles set,
get_video_detail uses the player API to list subtitle tracks and
returns either the track metadata (subtitle_scope: "metadata") or
the joined text of the selected track (by subtitle_lang, or the
first track), truncated to subtitle_max_chars when given. It does
not stitch multi-part or AI-generated tracks the way a full player
client would.
Install
npx @reneturcios/bilitrack search_users '{"keyword":"example"}'
Or run the container image:
docker run -i ghcr.io/cloudcorprecords/bilitrack
The container defaults to the MCP server. Pass CLI arguments to use it as a CLI instead.
CLI
The CLI mirrors the tools: one subcommand per tool, taking its arguments as a single JSON object.
bilitrack search_users '{"keyword":"example","limit":5}'
bilitrack get_user_info '{"user_id_or_username":"12345"}'
bilitrack get_user_snapshot '{"user_id_or_username":"example"}'
bilitrack get_user_videos '{"user_id_or_username":"12345","page":2}'
bilitrack get_video_detail '{"bvid":"BV1xx411c7mD","fetch_subtitles":true,"subtitle_lang":"zh-CN"}'
bilitrack get_content_comments '{"content_type":"video","content_id":"12345","sort":"hot"}'
bilitrack --version
Exit codes: 0 on success, 1 on an API or validation error (the
error names the problem), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/bilitrack mcp
MCP client configuration:
{
"mcpServers": {
"bilitrack": {
"command": "npx",
"args": ["-y", "@reneturcios/bilitrack", "mcp"],
"env": { "SESSDATA": "your cookie value (optional)" }
}
}
}
Tools
All ID parameters are strings in these schemas.
| Tool | Input | What it does |
|---|---|---|
search_users | keyword (required), limit | Search Bilibili users by keyword. |
get_user_snapshot | user_id_or_username (required), video_limit, dynamic_limit, article_limit | Get a combined snapshot of a Bilibili user: profile, videos, dynamics, and articles. |
get_user_info | user_id_or_username (required) | Get profile information for a Bilibili user. |
get_user_videos | user_id_or_username (required), page, limit | List a Bilibili user's videos, paged. |
search_user_videos | user_id_or_username (required), keyword (required), page, limit | Search within a Bilibili user's videos by keyword. |
get_video_detail | bvid (required), fetch_subtitles, subtitle_scope, subtitle_page, subtitle_cid, subtitle_mode, subtitle_lang, subtitle_max_chars | Get detail for a Bilibili video by BVID, optionally fetching subtitles. |
get_user_dynamics | user_id_or_username (required), cursor, limit, dynamic_type | List a Bilibili user's dynamics (feed posts), paged by cursor. |
get_user_articles | user_id_or_username (required), page, limit | List a Bilibili user's articles, paged. |
get_article_content | article_id (required; numeric or cv-prefixed) | Get the full content of a Bilibili article. |
get_user_followings | user_id_or_username (required), page, limit | List accounts a Bilibili user follows, paged. |
get_content_comments | content_type (required), content_id (required), cursor, limit, sort | List comments on a Bilibili video, dynamic, or article. |
get_content_comment_replies | content_type (required), content_id (required), root_rpid (required), page, limit | List replies under one root comment on Bilibili content. |
content_type accepts video, article, dynamic, audio,
album, course, or a numeric Bilibili reply type as a string.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, fake fetch only, no network
npm run dev # run the CLI from source via tsx
License
MIT — see LICENSE.
Frequently asked questions
What is bilitrack MCP Server?
Track Bilibili users, videos, dynamics, articles, and comments via the public web API.
How do I install bilitrack MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. bilitrack MCP Server runs locally from the npm package @reneturcios/bilitrack with the command npx -y @reneturcios/bilitrack@0.1.0.
Is bilitrack MCP Server free and open source?
Yes. bilitrack MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does bilitrack MCP Server support remote (HTTP) connections?
No remote endpoint is listed for bilitrack MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is bilitrack MCP Server's trust score calculated?
bilitrack MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.