DataSocial

io.github.hashfunction-devv1.0.0更新於 Sep 29, 2026

Query a TikTok data warehouse (creators, videos, sounds, daily history) with read-only SQL.

已驗證Streamable HTTP可網頁執行Data & AnalyticsDatabases

概覽

AI 產生的概覽

讓助理對代管的 TikTok 資料倉儲(創作者、影片、聲音、追蹤關係)撰寫並執行唯讀 SQL 查詢。

功能
這是一個代管、無狀態的 MCP 伺服器,後端是存放 TikTok 資料的 ClickHouse 倉儲。工具包含 list_tables(資料表、列數、一列代表什麼)、describe_table(欄位、型別、排序鍵)、examples(可執行的範例問題與 SQL 技巧),以及 run_sql,執行一筆唯讀 SELECT,最多回傳 100 列。助理會依自然語言問題自行撰寫 SQL 並執行。
適用情境
適合想用對話方式探索 TikTok 創作者、影片、聲音或追蹤關係資料、而不想手寫 SQL 的情境。例如查詢美國百萬粉絲創作者中本週成長最快的、當天被用於最多新影片的聲音、某個帳號追蹤了誰,或依國家與粉絲區間統計平均觀看數。
執行需求
遠端 Streamable HTTP 端點 Authorization 標頭並帶上 bearer 金鑰,金鑰可在 datasocial.ai 登入後免費取得。Claude Desktop 透過 mcp-remote 這個 npm 套件連線,需要 Node.js。需要能連上該端點的網路。
安裝前請注意
Authorization 標頭中的 bearer 金鑰屬於機密,需妥善保管。查詢為唯讀,且限制最多 100 列、10 秒,因此結果並不完整。資料是透過抓取 TikTok 行動端 API 取得,可能有準確性、涵蓋範圍或服務條款方面的疑慮;移除列數限制的完整資料庫屬於付費服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DataSocial,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "datasocial-mcp": {
      "type": "http",
      "url": "https://api.datasocial.ai/mcp"
    }
  }
}

README

DataSocial MCP: query TikTok data from Claude, Cursor or any MCP client

A hosted MCP server over a ClickHouse warehouse of TikTok data: 4.1B creators, 5.5B videos, 604M sounds and 113.7B follow edges (124.6B rows). Ask your AI assistant a question; it writes the SQL and runs it. Free.

  • Endpoint: https://api.datasocial.ai/mcp (Streamable HTTP, stateless)
  • Key: free. Sign in at datasocial.ai, open the MCP tab, and copy the command with your key already in it.
  • Limits: 100 rows per query, 10 s per query, read-only.

Connect

Claude Code

bash
claude mcp add --transport http datasocial https://api.datasocial.ai/mcp \  --header "Authorization: Bearer $DATASOCIAL_KEY"

Cursor (~/.cursor/mcp.json)

json
{  "mcpServers": {    "datasocial": {      "url": "https://api.datasocial.ai/mcp",      "headers": { "Authorization": "Bearer YOUR_KEY" }    }  }}

Claude Desktop (claude_desktop_config.json, via mcp-remote)

json
{  "mcpServers": {    "datasocial": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://api.datasocial.ai/mcp", "--header", "Authorization:${AUTH}"],      "env": { "AUTH": "Bearer YOUR_KEY" }    }  }}

Tools

ToolWhat it does
list_tablesThe tables, their row counts and what one row is
describe_tableOne table's columns, types and sort key
examplesWorked questions with SQL that runs, plus SQL tips
run_sqlRuns one read-only SELECT (up to 100 rows)

Things to ask

  • "Which US creators with over 1M followers grew fastest this week?"
  • "Which sounds are being used in the most new videos today?"
  • "Who does @<username> follow?"
  • "What's the average view count of videos by creators in Brazil with 100K–500K followers?"

Daily creator and video history started on 2026-09-26; sound history has 106 days since January 2026.

Also

This repo holds documentation only; the server is hosted.

來源:README.md,提交 f7e89bd

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.0最新Sep 29, 2026