Skip to main content
Glama
tkcaption-mcp

tkcaption-mcp

tkcaption-mcp

Model Context Protocol (MCP) server for tkcaption — extract TikTok, YouTube, and YouTube Shorts transcripts, timestamped speech segments, original captions, hashtags, and creator video catalogs directly inside Claude, Cursor, Antigravity, VS Code, or custom AI agents.


Features

  • Zero API keys required: Works immediately out of the box for public TikTok videos/short links and YouTube videos/Shorts.

  • Deterministic & Zero LLM Burn: Runs deterministic extraction and RSS/public catalog lookup only, so agent loops never drain LLM tokens.

  • Built-in Security Guardrails: Strict TikTok/YouTube URL allowlist (SSRF protection), 16 KB payload ceiling, per-IP rate & concurrency caps, and bounded 30,000-character output sanitization.


Related MCP server: SocialMCP

Quick Connect

Option 1: Native Streamable HTTP (Cursor, Antigravity, VS Code)

Add to your .cursor/mcp.json or IDE MCP settings:

{
  "mcpServers": {
    "tkcaption": {
      "type": "http",
      "url": "https://tkcaption.com/api/mcp"
    }
  }
}

Option 2: Stdio Bridge via npx (Claude Desktop & Local MCP Clients)

No local cloning or dependencies required (Node.js 18+):

{
  "mcpServers": {
    "tkcaption": {
      "command": "npx",
      "args": ["-y", "github:ericx0/tkcaption-mcp"]
    }
  }
}

(Alternatively, npx -y mcp-remote https://tkcaption.com/api/mcp also works.)


Available Tools

1. extract_video_transcript

Extract the full spoken transcript, optional [MM:SS] timestamped segments, original author caption, hashtags, and public engagement metrics for a TikTok or YouTube URL.

Parameter

Type

Required

Description

url

string

Yes

Public TikTok (tiktok.com, vm.tiktok.com, vt.tiktok.com) or YouTube / Shorts (youtube.com, youtu.be) URL.

includeTimestamps

boolean

No

Include formatted [MM:SS] transcript segments (false by default).

skipTranscript

boolean

No

Skip speech/timedtext transcript lookup when only caption, hashtags, and stats are needed.

2. list_creator_videos

List up to 15 recent public videos for a YouTube channel (@handle, channel URL, or UC... ID) or TikTok creator handle.

Parameter

Type

Required

Description

handle

string

Yes

Creator @handle, YouTube channel URL, or UC... channel ID.

platform

"auto" | "youtube" | "tiktok"

No

Platform hint (defaults to "auto").

limit

integer (1–15)

No

Maximum videos to return (defaults to 10).


Verify with cURL

curl -s https://tkcaption.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "extract_video_transcript",
      "arguments": {
        "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
        "includeTimestamps": true
      }
    }
  }'

License

MIT © tkcaption

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to read social media and article links that return no useful HTML, returning transcripts, on-screen text, image OCR, captions, metadata, and optional viral breakdowns with verbatim-checked quotes or translations. Works with Xiaohongshu, Douyin, TikTok, YouTube, X, and ordinary web pages through a hosted remote endpoint, with a Python SDK, CLI, and stdio bridge for clients that need them.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables extracting video and post metadata, creator feeds, comments, direct media streams, and transcripts from YouTube, TikTok, Instagram, and Threads, with no API keys or logins required for most sources. Combines Faster-Whisper audio transcription with ffmpeg keyframe and carousel OCR so videos that have no captions or consist of screenshots and text slides still yield full text.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables retrieval and analysis of content from YouTube, TikTok, Instagram, and Threads, including metadata, captions, comments, feeds, search results, transcripts, and on-screen text from videos or slides. Supports local stdio and remote HTTP/SSE deployment with optional API keys, Whisper transcription, and Tesseract OCR.
      MIT