# How do I connect Douyin, Xiaohongshu and WeChat data in WorkBuddy?

> WorkBuddy's built-in connectors don't cover Douyin, Xiaohongshu or WeChat Official Accounts. Add okdata to mcp.json and run a weekly competitor scan across all three.

Canonical page: https://okdata.online/answers/workbuddy-douyin-xiaohongshu-wechat-data/

**Short answer: **WorkBuddy's docs list no built-in connector for Douyin, Xiaohongshu or WeChat Official Accounts, so add one through MCP: put the okdata server in ~/.workbuddy/mcp.json and WorkBuddy can list an account's Douyin videos ($0.002 a page), Xiaohongshu notes ($0.02 a page) and Official Account articles ($0.02 a page), then read comments and full text. A weekly scan of 3 competitors on all three platforms is 27 calls, $0.378.

WorkBuddy is Tencent's desktop AI workbench. It reaches outside data through connectors and MCP servers, and the built-in connectors its docs list are Tencent's own office tools (QQ Mail, Tencent Docs, Tencent Meeting and the like), with nothing for Douyin, Xiaohongshu or WeChat Official Accounts. Adding one MCP server fills the gap.

## Setup

The full steps are on the [WorkBuddy integration page](/integrations/workbuddy/). In short: get a key in the [console](/console/), open Plugins → MCP servers → Configure MCP, add the server under `mcpServers` in `~/.workbuddy/mcp.json` with `"type": "http"`, `"url": "https://api.okdata.online/mcp"` and an `Authorization: Bearer` header, and save. The dot beside it turns green when it connects. If okdata shows up in WorkBuddy's connector list, you can connect there instead and sign in (that version needs WorkBuddy 4.24.0 or later). Of the five tools, only `call` is charged; `find`, `describe`, `read_more` and `account` are free.

## A weekly competitor scan, priced

Three rivals, each with a Douyin account, a Xiaohongshu account and an Official Account:

| Step | Calls | Cost |
|---|---|---|
| [Douyin account videos](/apis/douyin/users/videos/list/), newest page per account | 3 | $0.006 |
| [Douyin comments](/apis/douyin/videos/comments/list/) on the 2 most-liked videos each | 6 | $0.012 |
| [Xiaohongshu account notes](/apis/xiaohongshu/users/notes/list/), newest page per account | 3 | $0.06 |
| [Xiaohongshu comments](/apis/xiaohongshu/notes/comments/list/) on the 2 most-liked notes each | 6 | $0.12 |
| [Official Account articles](/apis/wechat_mp/accounts/articles/list/), newest page per account | 3 | $0.06 |
| [Full text](/apis/wechat_mp/articles/get/) of the 2 newest articles each | 6 | $0.12 |
| The week | 27 | $0.378 |

Looking up the three Official Accounts' original IDs once with [WeChat account search](/apis/wechat/accounts/search/) adds $0.06. A call that reaches the platform is charged even when it comes back empty or fails; calls stopped before that (bad parameters, low balance) are free. WorkBuddy's own credits for reading and summarizing are separate.

## Running it every week

Put the prompt in WorkBuddy's Scheduled tasks with a weekly repeat. A local task runs in the desktop client, so the computer has to be on. Under default permissions the task pauses whenever something needs your confirmation; WorkBuddy's docs suggest full access for unattended tasks but warn that it also opens file and command actions. Your prepaid balance caps the data spend either way.

```python
import os, requests

API = "https://api.okdata.online"
H = {"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}
body = requests.get(API + "/v1/wechat_mp/accounts/articles/list", headers=H, timeout=60,
                    params={"id": "gh_363b924965e9", "fields": "title,url,published_at"}).json()
if body["code"] != "ok":
    raise RuntimeError(f"{body['code']}: {body['message']}")
for a in body["data"]["items"]:
    print(a["published_at"], a["title"], a["url"])
print("charged", body["meta"]["billing"]["amount"])
```

For a daily version see the [competitor daily report](/answers/ai-competitor-daily-report/), and for spending limits [capping agent spend](/answers/cap-ai-agent-spend-data-api/).

## Endpoints used

- [Douyin account videos](https://okdata.online/apis/douyin/users/videos/list/) `douyin.users.videos.list`: $0.002 per call · about 20 videos per page
- [Douyin video comments](https://okdata.online/apis/douyin/videos/comments/list/) `douyin.videos.comments.list`: $0.002 per call · about 20 comments per page
- [Xiaohongshu account notes](https://okdata.online/apis/xiaohongshu/users/notes/list/) `xiaohongshu.users.notes.list`: $0.02 per call · about 20 notes per page
- [Xiaohongshu note comments](https://okdata.online/apis/xiaohongshu/notes/comments/list/) `xiaohongshu.notes.comments.list`: $0.02 per call · about 10 comments per page
- [Official Account article history](https://okdata.online/apis/wechat_mp/accounts/articles/list/) `wechat_mp.accounts.articles.list`: $0.02 per call · about 10 articles per page
- [Official Account article detail](https://okdata.online/apis/wechat_mp/articles/get/) `wechat_mp.articles.get`: $0.02 per call
- [WeChat Official Account live search](https://okdata.online/apis/wechat/accounts/search/) `wechat.accounts.search`: $0.02 per call · about 8 accounts per page

## More about Douyin

- [Douyin API](https://okdata.online/apis/douyin/)
- [Douyin API in Python: videos, profiles and comments (2026)](https://okdata.online/guides/douyin-api-python/)
- [How to export Douyin video comments in bulk](https://okdata.online/guides/douyin-video-comments/)
- [How to find Douyin Xingtu creators and get their rate cards](https://okdata.online/guides/douyin-xingtu-creator-rates/)
- [WeChat Official Account API in Python for RAG (2026)](https://okdata.online/guides/wechat-official-account-api-python/)
- [How to get a WeChat Official Account's articles and full text](https://okdata.online/guides/wechat-official-account-articles/)
- [Xiaohongshu API in Python: notes, profiles and comments (2026)](https://okdata.online/guides/xiaohongshu-api-python/)
- [How to export Xiaohongshu comments for a keyword](https://okdata.online/guides/xiaohongshu-note-comments/)
- [How much does it cost to track 50 competitor accounts every day?](https://okdata.online/answers/competitor-accounts-tracking-cost/)
- [How much does it cost to download a creator's full post history?](https://okdata.online/answers/creator-post-history-backfill-cost/)
- [How can Doubao read Douyin and Xiaohongshu data?](https://okdata.online/answers/doubao-douyin-xiaohongshu-data/)
- [Can Tencent Yuanbao read Douyin and Xiaohongshu data?](https://okdata.online/answers/yuanbao-douyin-xiaohongshu-data/)
- [How do I get an AI daily report of what competitors posted on Xiaohongshu and Douyin?](https://okdata.online/answers/ai-competitor-daily-report/)
- [How to collect Douyin comments: API, crawler or no-code (2026)](https://okdata.online/compare/douyin-comment-scraping/)

## Sources

Where people asked this (read 2026-11-17): 

- https://www.codebuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/Connector
- https://www.codebuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/MCP-Guide
- https://www.codebuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/Permission-Modes
- https://www.codebuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/Automation-Guide
- https://www.codebuddy.cn/docs/workbuddy/Changelog
- https://www.codebuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/WorkBuddy-Zero-Cost-Skill-Top-10/Agent-Browser
- https://www.codebuddy.cn/docs/workbuddy/Overview

Updated 2026-11-16
