HasData TikTok MCP Server

A hosted Model Context Protocol (MCP) server that gives Claude, Cursor, Windsurf and any other MCP client four read-only TikTok tools. Look up a public profile, walk an account's videos, read the…

Local + remotestreamable-httpstdioMIT

What is the HasData TikTok MCP Server?

tiktok-mcp is an MCP project maintained in the hasdata/tiktok-mcp repository. The maintainer describes its purpose as “A hosted Model Context Protocol (MCP) server that gives Claude, Cursor, Windsurf and any other MCP client four read-only TikTok tools. Look up a public…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @hasdata/tiktok-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares HASDATA_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
hasdata_tiktok_comments_getTikTokCommentsFetches the comments on a public TikTok video by its numeric video id, or the replies to a specific comment when commentId is given. 10 credits a call
hasdata_tiktok_posts_getTikTokPostsA page of ~35 videos plus a nextPageToken; pass that token back to walk the account history one page at a time. 10 credits a call
hasdata_tiktok_profile_getTikTokProfileFetches a public TikTok profile by username (handle) and returns nickname, biography, bio link, avatar URLs, verified/private flags, account creation time…
hasdata_tiktok_search_getTikTokSearchSearches TikTok by keyword and returns either videos (with description, hashtags, mentions, like/comment/share/play counts, cover and playable video URLs…

How to install the HasData TikTok MCP Server

{
  "mcpServers": {
    "tiktok": {
      "command": "npx",
      "args": [
        "-y",
        "@hasdata/tiktok-mcp"
      ],
      "env": {
        "HASDATA_API_KEY": "YOUR_HASDATA_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
HASDATA_API_KEYDeclared in the maintainer’s client configuration.Check documentation