tkcaption

Extract TikTok, YouTube, and YouTube Shorts transcripts, timestamps, original captions, hashtags, and creator video lists via Streamable HTTP MCP with zero API keys.

Hosted MCP Server

npx add-mcp 'https://tkcaption.com/api/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

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.

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.

ParameterTypeRequiredDescription
urlstringYesPublic TikTok (tiktok.com, vm.tiktok.com, vt.tiktok.com) or YouTube / Shorts (youtube.com, youtu.be) URL.
includeTimestampsbooleanNoInclude formatted [MM:SS] transcript segments (false by default).
skipTranscriptbooleanNoSkip 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.

ParameterTypeRequiredDescription
handlestringYesCreator @handle, YouTube channel URL, or UC... channel ID.
platform"auto" | "youtube" | "tiktok"NoPlatform hint (defaults to "auto").
limitinteger (1–15)NoMaximum 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