Skip to main content
Glama
TikTok & TikTok Shop Remote MCP Server

TikTok & TikTok Shop Remote MCP Server

by jistudio-dev
README.md
# TikTok & TikTok Shop SDK + Remote MCP Server (43 Endpoints · 22+ Markets)

[![TikTok & TikTok Shop — 43 Global Endpoints + Remote MCP](https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-tiktok-hero-v1.png)](https://rapidapi.com/Techssss/api/tiktok-data-tiktok-shop-no-watermark-video/playground)

Zero-dependency **Python** & **Node.js (ESM)** SDK, **Claude Desktop / Cursor Remote MCP configs**, and **n8n workflow** for the 43-endpoint **TikTok & TikTok Shop Global API** across 22+ countries (`US, GB, VN, ID, TH, MY, PH, SG, BR, MX, JP, KR, DE, FR...`).

- **No-Watermark HD MP4 + Whisper VTT Transcripts + Audio MP3**
- **Comments & Nested Comment Replies** with built-in rate-limit retry & failover
- **TikTok Shop Products, Sellers, Trending Keywords & Affiliate Links**
- **Remote MCP Server (`/mcp`)** ready for Claude Desktop, Cursor, and AI agents

<p>
<a href="https://rapidapi.com/Techssss/api/tiktok-data-tiktok-shop-no-watermark-video/playground"><img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-tiktok-cta-v1.png" width="268" height="48" alt="Test TikTok & Shop API on RapidAPI →"></a>
</p>

> Need scheduled bulk dataset exports? Also available on [Apify Store (`jistudio/tiktok-shop-scraper`)](https://apify.com/jistudio/tiktok-shop-scraper).

---

## How It Works

<p align="center">
  <img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-tiktok-step1-v1.png" width="820" alt="Step 1: Choose from 43 global TikTok & Shop routes"/><br/>
  <img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/step-arrow-down.svg" width="40" alt=""/><br/>
  <img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-tiktok-step2-v1.png" width="820" alt="Step 2: Instant structured JSON output"/>
</p>

---

## Quickstart

### 1. Python SDK (Zero Dependencies)

```bash
export RAPIDAPI_KEY="YOUR_RAPIDAPI_KEY"
python examples/quickstart.py
```

```python
from python.tiktok_shop_sdk import TikTokShopClient

client = TikTokShopClient(rapidapi_key="YOUR_RAPIDAPI_KEY")

# 1. No-watermark video + metrics + Whisper VTT URL
vid = client.get_video("https://www.tiktok.com/@tiktok/video/7106594312292453675")
print("Views:", vid["data"]["metrics"]["views"], "| Likes:", vid["data"]["metrics"]["likes"])

# 2. Live US TikTok Shop trending keywords
kw = client.get_shop_trending_keywords(region="US", count=5)
print("US Shop Keywords:", [k["keyword"] for k in kw["trending_shop_keywords"]])

# 3. TikTok Shop SKU detail
prod = client.get_shop_product("https://vt.tiktok.com/ZS9fE6SehCja8-NGCg0/", region="VN")
print("SKU:", prod["product"]["title"], "| Sold:", prod["product"]["sold_count"])
```

### 2. Node.js 18+ (Zero Dependencies)

```javascript
import { TikTokShopClient } from "./node/index.mjs";

const client = new TikTokShopClient(process.env.RAPIDAPI_KEY);
const res = await client.searchVideos({ keyword: "skincare", region: "US", count: 5 });
console.log("Matched US videos:", res.videos.length);
```

### 3. Remote MCP Setup (Claude Desktop / Cursor)

Copy [`mcp/cursor_mcp.json`](./mcp/cursor_mcp.json) or [`mcp/claude_desktop_config.json`](./mcp/claude_desktop_config.json) and add your `X-RapidAPI-Key`.

---

## JiStudio Ecosystem

- **RapidAPI**: [TikTok & Shop API](https://rapidapi.com/Techssss/api/tiktok-data-tiktok-shop-no-watermark-video) · [Shopee Global API](https://rapidapi.com/Techssss/api/shopee-e-commerce-live-affiliate-intelligence) · [Twitter (X) & Crypto API](https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel)
- **GitHub Org**: [github.com/jistudio-dev](https://github.com/jistudio-dev) · **Apify Store**: [apify.com/jistudio](https://apify.com/jistudio)
- **License**: MIT — Independent public social and commerce research SDK; not affiliated with TikTok or ByteDance.