DataSocial

io.github.hashfunction-dev由 GitHub 帳號 hashfunction-dev 發布v1.0.0更新於 Nov 10, 2026

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

已驗證Streamable HTTP可網頁執行資料庫網頁搜尋與抓取資料與分析

概覽

AI 產生的概覽

託管型 MCP 伺服器,讓助理對包含創作者、影片、音訊與追蹤關係的 TikTok 資料倉儲撰寫並執行唯讀 SQL。

可以做什麼
  • 列出倉儲中的資料表,含資料列數與每一列代表的意義
  • 檢視單一資料表的欄位、型別、排序鍵與涵蓋範圍
  • 取得附可執行 SQL 的範例問答與 SQL 技巧,可依資料表篩選
  • 在 tiktok.* 上執行一筆唯讀 ClickHouse SELECT,最多回傳 100 列
適用情境
適合在不想自行建立資料集的情況下,回答關於 TikTok 創作者、影片、音訊或追蹤關係的問題,例如找出成長最快的創作者或熱門音訊。SQL 由助理自行撰寫,較適合探索性分析而非固定報表。
執行需求
遠端 Streamable HTTP 端點,無需本機安裝;Claude Desktop 需透過 npx 使用 mcp-remote 橋接。需要一組免費 API 金鑰,以 bearer 形式放在 Authorization 標頭中,須在供應商網站登入後取得。需要能連線至該託管端點的網路。
安裝前請注意
Authorization 標頭會攜帶你的 API 金鑰,請勿寫入共用設定或程式碼儲存庫。查詢為唯讀,且每次限制 100 列、10 秒,因此結果是部分樣本而非完整匯出。資料來自擷取 TikTok 行動版 API 並傳送至該託管服務;不限列數的完整資料庫屬於付費產品。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DataSocial,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.hashfunction-dev%2Fdatasocial-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

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

{
  "mcpServers": {
    "datasocial": {
      "type": "http",
      "url": "https://api.datasocial.ai/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

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,提交 b41d084

工具

4

list_tables

List tables

The tables in the DataSocial TikTok warehouse: name, row count, what one row is, and what it holds.

無需輸入參數。

describe_table

Describe a table

One table's columns with types and meanings, its sort key and coverage. Read it before writing SQL on a table.

輸入參數table必填

examples

Examples and SQL tips

Worked examples (a question and SQL that runs here) and the SQL tips: growth maths, history-table patterns, big sound_history days, follows lookups. Pass a table to get only its examples.

輸入參數table

run_sql

Run SQL

Run one read-only ClickHouse SELECT on tiktok.* and get the rows back (at most 100 per request; 10 s per query). Name the columns you need and add a LIMIT.

輸入參數sql必填

版本歷史

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

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。