# DataSocial [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/hashfunction-dev/datasocial-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/datasocial

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

## Tools
Capabilities this server exposes over MCP:

- **list_tables** — The tables in the DataSocial TikTok warehouse: name, row count, what one row is, and what it holds.
- **describe_table** — One table's columns with types and meanings, its sort key and coverage. Read it before writing SQL on a table.
- **examples** — Worked examples (a question and SQL that runs here) and the SQL tips: growth maths, history-table patterns, big sound_history days. Pass a table to get only its examples.
- **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.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "datasocial": {
    "url": "https://api.datasocial.ai/mcp"
  }
}
```

## Documentation

## What DataSocial does

DataSocial exposes a TikTok data warehouse to MCP-compatible AI clients. The warehouse covers creators, videos, sounds, follower relationships, and daily history tables, allowing natural-language questions to be translated into SQL and executed remotely. Example analyses include finding fast-growing US creators, identifying sounds used in newly published videos, examining who a username follows, and comparing video views across creator groups.

The underlying ClickHouse warehouse contains billions of records, including creator, video, sound, and follow-edge data. Daily creator and video history begins on September 26, 2026, while sound history contains 106 days beginning in January 2026.

## How it works

DataSocial runs as a hosted, stateless Streamable HTTP MCP endpoint rather than as a local database or locally installed server. An MCP client sends requests to `https://api.datasocial.ai/mcp` with a bearer key. The assistant can first inspect the available tables and their schemas, then construct a query for the warehouse.

SQL execution is deliberately constrained. `run_sql` accepts one read-only ClickHouse `SELECT` against the `tiktok.*` database and returns no more than 100 rows per request. Queries have a 10-second limit, so analysis should select only the needed columns, use suitable filters, and include a `LIMIT` clause.

## Setup and configuration

Create a free account at [datasocial.ai](https://datasocial.ai), open the MCP tab, and copy the generated connection command containing the access key. The endpoint can be configured directly in clients that support HTTP MCP connections.

Claude Code can be connected with an HTTP transport and an `Authorization: Bearer` header. Cursor uses an MCP server entry with the endpoint URL and an authorization header. Claude Desktop can connect through `mcp-remote`, with the bearer value supplied through an environment variable such as `AUTH`.

The service is hosted, so the repository does not need to be run locally. Store the key as a secret and send it only in the authorization header.

## Tools and capabilities

- `list_tables` returns warehouse tables, row counts, row definitions, and descriptions of their contents.
- `describe_table` explains a selected table's columns, data types, meanings, sort key, and coverage. It is useful before writing a query.
- `examples` provides executable question-and-SQL pairs and guidance for growth calculations, history-table queries, and large `sound_history` day ranges. Passing a table narrows the examples.
- `run_sql` executes one read-only ClickHouse `SELECT` and returns the result rows.

## Limitations and notes

Results are capped at 100 rows per query and queries must finish within 10 seconds. The server is read-only: it cannot insert, update, or delete warehouse data. Queries should name the required columns and use `LIMIT` to stay within the service constraints.

Coverage differs by dataset. Creator and video daily history starts on September 26, 2026, while sound history covers 106 days from January 2026. The browser at datasocial.ai also supports plain SQL or natural-language searches without an account, while larger database access and scraper code are offered separately.

_Full upstream README: https://allmcps.com/mcp/datasocial/readme_

