Back to MCP Servers
🔌

HasData TikTok MCP Server

API key required

by @Sergey Ermakovich

GitHub

Hosted MCP server by HasData for public TikTok data as structured JSON. Read-only tools look up a public profile, walk an account's videos, read the comments on a video and search TikTok for videos or creators. No TikTok developer account and no OAuth app of your own, and it never posts or acts as an account. Connect remotely at https://mcp.hasdata.com/mcp?apis=tiktok with an x-api-key header or OAuth, or run the npm launcher with HASDATA_API_KEY set.

To add HasData TikTok to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs one environment variable, listed below.

SearchFilesDevTools

Install

npx -y @hasdata/tiktok-mcp@1.0.7

Environment variables

HASDATA_API_KEYSet in your MCP config

Install with your client

Terminal
claude mcp add hasdata-tiktok --env HASDATA_API_KEY=<YOUR_HASDATA_API_KEY> -- npx -y @hasdata/tiktok-mcp@1.0.7

Run this in a terminal to add the server to Claude Code.

What this does

HasData TikTok exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

HASDATA_API_KEY

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install HasData TikTok?

Run the Claude Code command in the install section to add HasData TikTok to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with HasData TikTok?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to HasData TikTok as well.

Does HasData TikTok need an API key?

Yes. Before it can run, set this environment variable: HASDATA_API_KEY. They go in the env block of your MCP config.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/tiktok-mcp-server-eddr)](https://clauderules.net/mcp/tiktok-mcp-server-eddr)
HTML
<a href="https://clauderules.net/mcp/tiktok-mcp-server-eddr" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/tiktok-mcp-server-eddr" alt="Listed on clauderules.net" /></a>