The top-level comments are the easy part; the argument usually happens in the replies, and those load separately. Fetching both in one pass is what makes the result readable as a conversation instead of a list of openers. The cookie requirement is the thing to weigh: you are handing a session token to a local process, so use an account you would not mind losing rather than your main one.
A reader for the comment threads under Bilibili videos and dynamic posts, built to fetch them in bulk rather than a page at a time.
- get_video_comments — a video's comments, including the replies nested under each one
- get_dynamic_comments — the same for a dynamic post
Npx, and a Bilibili session cookie supplied through an environment variable — the comment endpoints require a logged-in session. MIT licensed. Documentation is in Chinese.
One command — npx -y bilibili-comments-mcp
