mcpField
M
mcp-tiktok-video-stats

mcp-tiktok-video-stats

本地服务
github.com/mambalabsdev其他0今天更新

关于 mcp-tiktok-video-stats

这是一个通过 Apify Actor 获取 TikTok 帖子公开数据的 MCP 服务,适用于查看单条帖子指标或比较多条帖子的互动表现。

主要功能

  1. 01读取视频和照片帖子的统计数据
  2. 02返回文案、话题标签、日期和声音
  3. 03包含作者公开的粉丝数和获赞数
  4. 04接受帖子 URL 或数字 ID

适用场景

  1. 01查看帖子的播放、点赞和分享数
  2. 02比较多条 TikTok 帖子的互动表现
  3. 03查看帖子的发布时间和话题标签

MCP 相关

向 MCP 客户端提供 `get_tiktok_video_stats` 工具。它启动 Apify Actor,等待运行完成并返回数据集行。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"com-mambabuilt-mcp-tiktok-video-stats": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-tiktok-video-stats"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
启动命令npx -y @mambalabsdev/mcp-tiktok-video-stats
需要配置的环境变量
APIFY_TOKEN密钥Apify API token from https://console.apify.com/account/integrations

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npm@mambalabsdev/mcp-tiktok-video-stats1.0.1

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

README 原文English

来自项目 README

README 暂无中文译文,以下为英文原文;中文介绍见上方。

TikTok Video Stats MCP Server

Glama score MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs TikTok Video Stats actor on Apify. Read public stats for TikTok posts by URL.

What's Inside

What it does

Give TikTok video or photo post URLs or post IDs. You get one flat row per post with plays, likes, comments, shares, saves, caption, hashtags, post date, sound, and the author's public follower and like totals.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-tiktok-video-stats": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-tiktok-video-stats"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The get_tiktok_video_stats tool appears.

Prerequisites

Example prompts

  • "How many plays, likes, and shares does this TikTok video have?"
  • "Compare the engagement on these 5 TikTok posts."
  • "When was this TikTok posted, and what hashtags does it use?"

Tool

get_tiktok_video_stats. One tool. Example arguments:

{
  "videos": [
    "https://www.tiktok.com/@washingtonpost/video/7198260520103841070"
  ]
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
videosarraynoTikTok video or photo post URLs (https://www.tiktok.com/@handle/video/ID) or numeric post IDs, up to 1,000 per run. Duplicates are read once.
max_videosnumbernoThe most posts to read in this run, from 1 to 1,000. Default 100. Text or a number.
max_charge_usdstringnoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
video-row, one post read$0.0004$0.00038$0.00036$0.00034
missing-post, one post TikTok reports as deleted, private, or missing$0.0004$0.00038$0.00036$0.00034
apify-actor-start, per run start$0.006$0.006$0.006$0.006

TikTok bot check pages, values that are not TikTok posts, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/tiktok-video-stats

License

MIT. See LICENSE.

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。