> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.beatapi.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.beatapi.io/_mcp/server.

# Douyin, WeChat, Bilibili, Weibo & Zhihu MCP servers for Claude Code, Cursor, and Codex

> Connect Claude Code, Cursor, and Codex to Douyin, Xiaohongshu, WeChat, Bilibili, Weibo, Zhihu, and Kuaishou through one cookie-free remote BeatAPI MCP server at https://beatapi.io/mcp.

BeatAPI connects Claude Code, Cursor, and Codex to nine Chinese social platforms through one remote Streamable HTTP MCP endpoint (`https://beatapi.io/mcp`). Authentication uses `BEATAPI_API_KEY` only, with no local Playwright browser processes, QR logins, or personal social cookies.

## Chinese platforms available on BeatAPI MCP

Action counts and starting USD rates were checked against `GET https://api.beatapi.io/v1/social-data/pricing` on 2026-11-24 (`price_version: sd_20cf7d377ad9`):

| Platform                     | BeatAPI actions | Starting rate  | Common read tasks                                                                                          |
| ---------------------------- | --------------: | :------------- | ---------------------------------------------------------------------------------------------------------- |
| **Douyin**                   |             317 | `$0.003` / req | Video details, comments and replies, creator videos, hot search, 73 Douyin Xingtu actions (`$0.003–$0.06`) |
| **Bilibili**                 |              87 | `$0.003` / req | Keyword search, BV/AV details, App and Web comments, popular feeds                                         |
| **Weibo**                    |              56 | `$0.003` / req | Hot search, keyword search, post comments, user feeds, video metrics                                       |
| **Xiaohongshu**              |              44 | `$0.03` / req  | Note search, image and video details, comments and sub-comments, 19 PGY actions (`$0.06`)                  |
| **Zhihu**                    |              41 | `$0.003` / req | Questions, answers, comments, column articles, search                                                      |
| **Kuaishou**                 |              38 | `$0.003` / req | Video details, comments, filtered search (`$0.03`), creator lookup                                         |
| **WeChat Channels**          |              12 | `$0.03` / req  | Account videos, video details, comments and replies, channel search                                        |
| **WeChat Official Accounts** |              11 | `$0.03` / req  | Account article lists, full article text, reads, likes, shares, featured comments                          |
| **WeChat Search**            |               2 | `$0.03` / req  | Public article, account, and video search                                                                  |

The same BeatAPI MCP endpoint (`https://beatapi.io/mcp`) also exposes global social platforms (X, TikTok, YouTube, Instagram, Reddit, LinkedIn, Threads, Telegram, Lemon8), BeatAPI SEO Data, and BeatAPI Web Search.

## How to configure BeatAPI MCP in Claude Code, Cursor, and Codex

Create a key in the [BeatAPI dashboard](https://beatapi.io/dashboard/apikeys), export `BEATAPI_API_KEY`, and add the BeatAPI server block to your client:

**`Claude Code (~/.claude.json)`**

```json title="Claude Code (~/.claude.json)"
{
  "mcpServers": {
    "beatapi": {
      "type": "http",
      "url": "https://beatapi.io/mcp",
      "headers": {
        "Authorization": "Bearer ${BEATAPI_API_KEY}"
      }
    }
  }
}
```

**`Cursor (~/.cursor/mcp.json)`**

```json title="Cursor (~/.cursor/mcp.json)"
{
  "mcpServers": {
    "beatapi": {
      "url": "https://beatapi.io/mcp",
      "headers": {
        "Authorization": "Bearer ${env:BEATAPI_API_KEY}"
      }
    }
  }
}
```

**`Codex (~/.codex/config.toml)`**

```toml title="Codex (~/.codex/config.toml)"
[mcp_servers.beatapi]
url = "https://beatapi.io/mcp"
bearer_token_env_var = "BEATAPI_API_KEY"
```

For WorkBuddy, Doubao Work, QwenWork, DeepSeek, Dify, or Coze, see [Office clients MCP setup](/guides/office-clients-social-mcp) and [Social data workflows](/integrations/social-data-workflows).

## How BeatAPI MCP bounds token usage and sample prompts

BeatAPI MCP runs in a **Search → Inspect → Run** sequence so the agent verifies exact action inputs and live USD pricing before executing a paid call. Large responses return a compact preview by default; within one hour, the agent can read the full stored response for `$0` using `operation: "result"` with `request_id`.

* **Douyin:** *"Inspect `data:douyin.app.v3.fetch_video_comments`, fetch page 1 (`cursor: 0`) for `aweme_id: <id>`, and list recurring buyer questions with verbatim quotes."*
* **WeChat Official Accounts:** *"Inspect `data:wechat_mp.v2.fetch_article_detail_h5` and `wechat_mp.v2.fetch_article_stats`, read this article URL, and report its key arguments alongside reads and likes."*
* **Bilibili, Zhihu, or Weibo:** *"Search Bilibili, Zhihu, or Weibo for your target keyword, pick the three most relevant threads, and summarize recurring objections with source links."*

## Related

* [Xiaohongshu MCP without login](/faq/xiaohongshu-mcp-without-login)
* [How to choose a social data MCP server](/faq/social-media-data-mcp-servers)
* [Cut AI token burn on social JSON](/faq/api-response-too-many-tokens)