Skip to main content
Glama
README.md
# <img src="https://cdn.worldvectorlogo.com/logos/tiktok-icon-2.svg" height="32"> TikTok MCP

![image (12)](https://github.com/user-attachments/assets/006f9983-b9dd-447c-87c6-ee27a414fd4c)


The TikTok MCP integrates TikTok access into Claude AI and other apps via TikNeuron. This TikTok MCP allows you to
- analyze TikTok videos to determine virality factors
- get content from TikTok videos
- chat with TikTok videos

## Available Tools

### tiktok_available_subtitles

**Description:**  
Looks up the available subtitle, i.e., content for a TikTok video. This is used for looking up if there is any content (subtitle) available to a TikTok video. Returns the available subtitle for the video which can be in different languages and different formats like Automatic Speech Recognition, Machine Translation or Creator Captions and different languages.

**Input Parameters:**
- `tiktok_url` (required): TikTok video URL, e.g., https://www.tiktok.com/@username/video/1234567890 or https://vm.tiktok.com/1234567890

### tiktok_get_subtitle

**Description:**  
Get the subtitle (content) for a TikTok video url. This is used for getting the subtitle, content or context for a TikTok video. If no language code is provided, the tool will return the subtitle of automatic speech recognition.

**Input Parameters:**
- `tiktok_url` (required): TikTok video URL, e.g., https://www.tiktok.com/@username/video/1234567890 or https://vm.tiktok.com/1234567890
- `language_code` (optional): Language code for the subtitle, e.g., en for English, es for Spanish, fr for French, etc.

### tiktok_get_post_details

**Description:**  
Get the details of a TikTok post. Returns the details of the video like:
- Description
- Creator username
- Hashtags
- Number of likes, shares, comments, views and bookmarks
- Date of creation
- Duration of the video

**Input Parameters:**
- `tiktok_url` (required): TikTok video URL, e.g., https://www.tiktok.com/@username/video/1234567890 or https://vm.tiktok.com/1234567890

## Requirements

For this TikTok MCP, you need
- NodeJS v18 or higher (https://nodejs.org/)
- Git (https://git-scm.com/)
- TikNeuron Account and MCP API Key (https://tikneuron.com/tools/tiktok-mcp)

## Setup

1. Clone the repository
```
git clone https://github.com/Seym0n/tiktok-mcp.git
```

2. Install dependencies
```
npm install
```

3. Build project
```
npm run build
```

This creates the file `build\index.js`

## Using in Claude AI

Add the following entry to `mcpServers`:

```
"tiktok-mcp": {
    "command": "node",
    "args": [
      "path\\build\\index.js"
    ],
    "env": {
      "TIKNEURON_MCP_API_KEY": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    }
}
```

and replace path with the `path` to TikTok MCP and `XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX` with TIkNeuron API Key

so that `mcpServers` will look like this:

```
{
  "mcpServers": {
    "tiktok-mcp": {
      "command": "node",
      "args": [
        "path\\build\\index.js"
      ],
      "env": {
        "TIKNEURON_MCP_API_KEY": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
      }
    }
  }
}
```

TDQS

B3.1/5.0

Scored across 3 tools

Disambiguation4/5

get_post_details is clearly distinct from the two subtitle tools. The subtitle tools are related but separated: one checks available subtitle formats/languages, the other retrieves the actual subtitle content. There is minor potential confusion because both subtitle tools reference 'content', but their roles are distinguishable.

Naming Consistency3/5

All tool names use the tiktok_ prefix and snake_case, but there is a naming pattern break: tiktok_available_subtitles uses adjective_noun while tiktok_get_subtitle and tiktok_get_post_details use verb_noun. This is readable but not fully consistent.

Tool Count4/5

Three tools is a small but reasonable set for a focused TikTok metadata/subtitle server. Each tool has a distinct purposecars and the count is not too thin for the apparent scope, though it is on the lighter side.

Completeness4/5

The tool set covers post details plus the subtitle availability/retrieval lifecycle, which form a coherent workflow. Obvious gaps like user profiles or comment fetching exist, but they fall outside the apparent focus of this server.

Maintenance

ActivityInactive
ResponsivenessNo issues