For AI

MCP

Bilibili MCP server for AI agents

Give Claude, Cursor or any MCP client Bilibili data: 9 endpoints from $0.002 a call, no Bilibili login. Your AI finds the endpoint, says the price and fetches.

Connect your AI in one sentence

Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.

Paste it into Claude Code, Cursor, Codex or any agent that can open a web page. It connects itself, checks the connection without spending anything, and tells you the balance.

What it can answer about Bilibili

Ask forEndpoint it callsPrice
Bilibili video search
Videos matching keywords, with views, danmaku, likes and coins.
bilibili.videos.search$0.002 per call · about 20 videos per page
Bilibili video detail
One video by BV ID or link.
bilibili.videos.get$0.002 per call
Bilibili video comments
Comments on a video, hottest or newest first.
bilibili.videos.comments.list$0.002 per call · about 20 comments per page
Bilibili hot searches
Bilibili's hot search terms right now, up to 50, with rank and heat.
bilibili.trends.list$0.002 per call · about 50 board entries per page
Bilibili account profile
An account by user ID: name, bio, avatar, verification and what it says, followers, following, number of videos, total likes, level and live room link.
bilibili.users.get$0.002 per call
Bilibili account videos
An account's uploads, newest first, 30 a page: title, description, views, comments, danmaku, length and time published.
bilibili.users.videos.list$0.002 per call · about 30 videos per page
Bilibili comment replies
The replies to a comment, by the comment's ID and its video's BV ID: text, replier, likes, which reply each answers (parent_id), time posted and IP location.
bilibili.comments.replies.list$0.002 per call · about 20 comments per page
Bilibili popular videos
Bilibili's popular videos, 20 a page: title, description, uploader, views, likes, coins, saves, danmaku, length, section, IP location and why it is recommended.
bilibili.videos.trending$0.002 per call · about 20 videos per page
Bilibili account videos (backup)
The backup of bilibili.users.videos.list, for when it cannot serve: an account's uploads, newest first, 20 a page (its data path pages by 20), at a little more. Title, cover, views, danmaku, length and time published; no description, likes or comment count. A user that does not exist reads like one without uploads: an empty page, not a 404.
bilibili.backup.users.videos.list$0.0025 per call · about 20 videos per page

Two tool calls, one charge

  1. find {"query":"Bilibili video search"}Finds bilibili.videos.search and its price. Free, no key.
  2. call {"capability":"bilibili.videos.search","query":"Claude Code 教程"}One page of data: $0.002 per call · about 20 videos per page.

Skill package

okdata-bilibili gives an agent every Bilibili endpoint with its price and the question it answers.

Task skills that run here: Comments and word of mouth, Competitor account monitoring, Brand and keyword mentions, Trends and topic ideas, Account check-up, Breaking down a hit

Set it up in

More

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp