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 分

    请在仓库或注册中心条目中声明许可证。