How to Use Bilibili video comments in Windsurf
Returns public viewer comments for a video, with pagination to continue reading. Use it to summarize reactions and recurring questions about a specific upload.
Prompts to try with Bilibili video comments in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use Bilibili video comments to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Bilibili video comments and tell me what changed since last week.
Check Bilibili video comments and summarize what you find in three bullet points.
Pull the newest data from Bilibili video comments and give me the result as a table.
Check Bilibili video comments every morning and tell me only when something changed.
How to set up Bilibili video comments in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Bilibili video comments
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "bilibili-com/videos/video_comments", "input": { "aid": 1 } }'
Then paste one of the prompts above: Windsurf finds Bilibili video comments on Spiral, shows the price and runs it.
Bilibili video comments providers and prices
Spiral runs Bilibili video comments through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Aid | a number from 1 | Numeric archive id (av number), e.g. 114746644830906 or the legacy short 7148628. | |
| Mode | 2 or 3 | 3 | 3 = hot (default), 2 = by time. |
Every API field of Bilibili · Video comments is on its tool page: open its card above.
What can you do with Bilibili video comments in Windsurf?
Build a research panel for Bilibili music releases or Chinese-language tutorials. Have the coding agent turn retrieved Bilibili results into searchable records and review screens in your project.
Prepare a music release brief
Expand a song's search wording, identify the public artist account, inspect its profile and uploads, and find related videos. Verify the selected video records and summarize recurring questions in their comments.
Curate a Chinese-language tutorial collection
Expand topic keywords, find public educational creators, and review their profiles and upload catalogs. Check selected videos for titles, duration and publication dates, then use viewer questions to identify prerequisites worth explaining.
Compare product announcements with public reviews
Expand a product's Chinese search terms, identify business and public reviewer accounts, and inspect their profiles and uploads. Verify announcement and review videos, compare their engagement counts, and summarize questions appearing in the comments.
Prepare a permitted screening shortlist
Review a creator's uploads and verify a shortlist of video records. Read viewer reactions to help frame the discussion, then obtain temporary playback URLs for an authorized preview.
More on Bilibili video comments and Windsurf
Overview
Bilibili video comments in other agents
Questions about Bilibili video comments in Windsurf
Can Windsurf use Bilibili video comments?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Bilibili video comments like any built-in tool.
How much does Bilibili video comments cost in Windsurf?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an Alexandria account to use Bilibili video comments in Windsurf?
No. Spiral runs Bilibili video comments on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Bilibili video comments in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Bilibili video comments runs?
Bilibili video comments runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.
What Bilibili content does this data cover?
The documented coverage is public bilibili.com video data: uploader profiles and archives, video metadata, comments and temporary DASH playback links.
Can Bilibili search return every matching video?
Bilibili serves at most 1,000 hits for a video query. A broad search cannot establish the full number of matching videos across the site.
Which languages can Bilibili autocomplete help with?
The web autocomplete documentation includes Chinese, English and Japanese, plus suggestions from full Chinese pinyin. It describes a maximum of 10 candidate keywords.
Do video records distinguish publication time from retrieval time?
The documented video detail response includes a publication timestamp and a separate observation timestamp. The publication date describes the upload, while the observation timestamp identifies when its data was observed.
Start using Bilibili video comments in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


