About Bili CLI
Bili CLI is an MCP server published by kukemc in the Blockchain category: 为 AI Agent 设计的哔哩哔哩命令行工具:扫码登录、看视频、评论、私信、发动态、投稿,全部 JSON 输出.
The repository has 364 stars and 28 forks, with the last commit 3 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
uvx bili-agentpip install bili-agentgit clone https://github.com/kukemc/bili-cliThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (17)
inbox新消息收件箱:未读数 + 新的回复、@、赞、系统通知、未读私信。每条回复附带 reply_with。读取后 B 站会标为已读。
Parameters not published.
list_comments列出评论。target 是视频 BV 号,或配合 type(dynamic/draw/article)的评论区 ID。sort: hot / time。
Parameters not published.
list_dms私信会话列表。
Parameters not published.
login开始扫码登录:返回二维码图片路径 qr_image 和链接 qr_url,交给用户用 B 站 App 扫码,然后调用 wait_login。
Parameters not published.
post_comment以用户身份发表评论。at: 要 @ 的 UID / 完整昵称 /
Parameters not published.
post_dynamic发布文字 / 图文动态。images 为本地图片路径列表(最多 9 张);at: 要 @ 的 UID / 完整昵称 /
Parameters not published.
read_dm读取与某人的私信(uid 为数字 UID 或 owner)。
Parameters not published.
recommended_videos首页个性化推荐。page 每次加 1 换一批;unseen 跳过已看过的视频。
Parameters not published.
reply_comment回复一条评论:直接用 inbox / feed replies 里 reply_with 给出的 target、rpid、root。
Parameters not published.
run_bili运行任意 bili 子命令(不含开头的 bili),例如 [\
Parameters not published.
Show all 17 tools
search_videos搜索视频。order: default / views / new / danmaku / favorites / comments。
Parameters not published.
send_dm发私信(uid 为数字 UID 或 owner)。默认只能发给主人、给你发过私信的人或互关好友。被拒绝不要重发。
Parameters not published.
status登录状态与当前账号。未登录时返回 not_logged_in,此时调用 login。
Parameters not published.
trending热门内容。kind: popular(综合热门)/ hot_search(热搜词)/ weekly(每周必看)/ rank(排行榜,配合 zone:all/tech/knowledge/game/…)。
Parameters not published.
video_transcript视频字幕纯文本(没有字幕时可用 run_bili 调 video transcribe)。
Parameters not published.
wait_login等待用户扫码确认,最多等 seconds 秒。
Parameters not published.
watch_video看懂一个视频(BV 号 / av 号 / 链接):信息、AI 总结、字幕或转写全文、章节、热评、弹幕高能时刻、画面总览图路径(每帧下方附观众对这个画面的弹幕反应)。
Parameters not published.
Ask AI
Ask AI about Bili CLI
Powered by Claude
Security checks
6 checks have not been run yet.