---
title: "Bilibili MCP Server: Hosted, No Login or Cookie · SocialToAI"
canonical: https://socialtoai.com/mcp/bilibili/
updated: 2026-11-05
---

# Bilibili MCP Server

SocialToAI is a hosted MCP server that lets your AI read Bilibili: search videos and read video details, comments, account profiles, an account's videos and the trending list. You add one address to Claude, ChatGPT or Cursor; there is no Bilibili account, login or cookie to provide and nothing to install. Each call costs 2 credits (from $0.004); failed calls are free. Last tested 2026-11-05.

- Page: https://socialtoai.com/mcp/bilibili/
- Last updated: 2026-11-05
- Last tested: 2026-11-05

## Connect SocialToAI

Address: `https://mcp.socialtoai.com/mcp`

Add an MCP server in your AI and enter this address. If a sign-in page opens, sign in with your email and press Allow. If your tool asks for a key instead, copy one from the console and put it in a header: `Authorization: Bearer <YOUR_API_KEY>`. [Get a key](https://socialtoai.com/console/keys/)

In a terminal: run a command, then sign in: 

Claude Code: 

```
claude mcp add --transport http socialtoai https://mcp.socialtoai.com/mcp
```

Then in Claude Code type /mcp, pick socialtoai and sign in.

Codex: 

```
codex mcp add socialtoai --url https://mcp.socialtoai.com/mcp
```

Then sign in in the browser that opens.

Writing code? Call the API with a key: see [the API docs](https://socialtoai.com/docs.md).

## Step-by-step for your client

The same address everywhere. Each client has a page: where to enter it, how it signs in, and what to ask first.

- [Claude Code](https://socialtoai.com/connect/claude-code.md): Run a command, then sign in
- [Claude app](https://socialtoai.com/connect/claude.md): Paste the address, then sign in
- [ChatGPT](https://socialtoai.com/connect/chatgpt.md): Paste the address, then sign in
- [Cursor](https://socialtoai.com/connect/cursor.md): Add the address, then sign in
- [Codex](https://socialtoai.com/connect/codex.md): Run a command, then sign in
- [Trae](https://socialtoai.com/connect/trae.md): A few lines of settings and a key
- [Cherry Studio](https://socialtoai.com/connect/cherry-studio.md): The address and a key in a form
- [Dify](https://socialtoai.com/connect/dify.md): The address and a key in a form
- [n8n](https://socialtoai.com/connect/n8n.md): The address and a key in a form

The MCP page: https://socialtoai.com/mcp.md

## What your AI can call on Bilibili

| Tool | What it returns | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| `search` | Find videos by keyword: text, author, likes, comment count, views and publish time. | `bilibili.search` | 2 | https://socialtoai.com/bilibili-search-api.md |
| `trending` | What is trending now: title, rank and heat. | `bilibili.trending` | 2 | https://socialtoai.com/bilibili-trending-api.md |
| `detail` | One video by ID or link: text, author, likes, comment count, views and publish time. | `bilibili.detail` | 2 | https://socialtoai.com/bilibili-detail-api.md |
| `comments` | The comments under one video: text, likes, reply count and time. | `bilibili.comments` | 2 | https://socialtoai.com/bilibili-comments-api.md |
| `user_profile` | One account: name, bio, followers, following and post count. | `bilibili.user_profile` | 2 | https://socialtoai.com/bilibili-user-profile-api.md |
| `user_posts` | The recent videos of one account. | `bilibili.user_posts` | 2 | https://socialtoai.com/bilibili-user-posts-api.md |

## A recorded conversation

> How do Bilibili videos talk about the iPhone 17 Pro this month?

| Platform | Tool | Sent | Requests | Returned | Credits |
| --- | --- | --- | --- | --- | --- |
| Bilibili | [`brand_buzz`](https://socialtoai.com/tools/brand-buzz.md) | `brand: "iPhone 17 Pro" · about: "苹果公司的手机" · platforms: ["bilibili"] · window: "30d" · scale: "small"` | 1 | 10 videos | 16 |
| **Total** |  |  | 1 | 10 items | **16** |

Recorded 2026-11-05

9 of the 10 videos found are about it: 11% positive, 89% neutral, 0% negative. What they mention most:

1. **Comparison with others** (56%, 5 videos): [“iPhone 17 Pro系列还值不值得买？”](https://www.bilibili.com/video/BV15xxb6uERq)
2. **Price** (33%, 3 videos): [“iPhone18Pro对比iPhone17Pro深度长测！差价一千到底升级在哪？”](https://www.bilibili.com/video/BV1aGxr6iE1j)
3. **Features** (22%, 2 videos): [“咖啡馆氛围感人像实战｜iPhone17Pro”](https://www.bilibili.com/video/BV1ry4h6oEq5)

Used 16 credits · $0.053. Every claim links to its source.

## Questions to ask

- Which is bigger on Bilibili this week: home coffee or matcha? → search, search: 4 credits ($0.013)
- Read the comments on this Bilibili video and tell me what people complain about. → detail, comments × 3: 8 credits ($0.027)
- What is trending on Bilibili right now? → trending: 2 credits ($0.0067)

## What it cannot do

- **Fields Bilibili does not give**: They come back as null and are listed in the answer's unavailable, so your AI reads them as “not given”, not as zero. `author.username`, `author.verified`, `author.followers`, `metrics.shares`, `metrics.reposts`, `images`, `is_pinned`, `id`, `url`, `hashtags`, `metrics.likes`, `metrics.collects`
- **It reads. It does not post.**: Your AI cannot post, comment, like, follow or send messages on Bilibili through SocialToAI.
- **Only what is publicly visible**: Content and account information anyone can see on Bilibili. Nothing behind a login: no private accounts, no direct messages, no feed of your own.

## FAQ

**Does Bilibili have an official API? Is this server official?**

Not for public content: Bilibili's open platform returns only the videos and stats of users who authorise your app. This MCP server is run by SocialToAI; it is not the platform's own and is not affiliated with it. Source: openhome.bilibili.com, checked 2026-10-17.

**Can Claude and ChatGPT use it?**

Yes. In Claude or ChatGPT, on the web or the desktop app, paste the address above as a custom connector, sign in with a code sent to your email and press Allow. Claude Code and Codex take one command and Cursor a short config, then the same sign-in; a tool that only takes headers uses a key.

**Do I need a Bilibili account?**

No. No account of yours needed, your accounts stay out of it: no Bilibili login, no cookie, nothing to install. It reads what is publicly visible on Bilibili, and it cannot post.

**How much does it cost?**

From 2 credits a call, about $0.0067 at the first pack. A failed call costs nothing, and each call states what it charged. 100 free credits on sign-up, no card.

## Related pages

- [Bilibili API](https://socialtoai.com/platforms/bilibili.md)
- [TikTok MCP Server](https://socialtoai.com/mcp/tiktok.md)
- [Instagram MCP Server](https://socialtoai.com/mcp/instagram.md)
- [X (Twitter) MCP Server](https://socialtoai.com/mcp/x.md)
- [Reddit MCP Server](https://socialtoai.com/mcp/reddit.md)
- [YouTube MCP Server](https://socialtoai.com/mcp/youtube.md)
- [Facebook MCP Server](https://socialtoai.com/mcp/facebook.md)
- [LinkedIn MCP Server](https://socialtoai.com/mcp/linkedin.md)
- [Threads MCP Server](https://socialtoai.com/mcp/threads.md)
- [Telegram MCP Server](https://socialtoai.com/mcp/telegram.md)
- [Pinterest MCP Server](https://socialtoai.com/mcp/pinterest.md)
- [Xiaohongshu (RedNote) MCP Server](https://socialtoai.com/mcp/xiaohongshu.md)
- [Douyin MCP Server](https://socialtoai.com/mcp/douyin.md)
- [Weibo MCP Server](https://socialtoai.com/mcp/weibo.md)
- [WeChat Articles MCP Server](https://socialtoai.com/mcp/wechat.md)
- [Zhihu MCP Server](https://socialtoai.com/mcp/zhihu.md)
- [Kuaishou MCP Server](https://socialtoai.com/mcp/kuaishou.md)
- [WeChat Channels MCP Server](https://socialtoai.com/mcp/wechat-channels.md)
