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