TranscriptAPI — YouTube transcripts (transcriptapi.io)
v0.1.1YouTube transcripts, search, channels and playlists for AI agents, by transcriptapi.io.
Values you need
| Variable | What it is | |
|---|---|---|
TRANSCRIPTAPI_KEY | required secret | TranscriptAPI key (ta_...). Free at https://transcriptapi.io/login |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add youtube-transcript -e 'TRANSCRIPTAPI_KEY=<TRANSCRIPTAPI_KEY>' -- npx -y transcriptapi-mcp@0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"youtube-transcript": {
"args": [
"-y",
"transcriptapi-mcp@0.1.1"
],
"command": "npx",
"env": {
"TRANSCRIPTAPI_KEY": "<TRANSCRIPTAPI_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"youtube-transcript": {
"args": [
"-y",
"transcriptapi-mcp@0.1.1"
],
"command": "npx",
"env": {
"TRANSCRIPTAPI_KEY": "<TRANSCRIPTAPI_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TRANSCRIPTAPI_KEY",
"id": "transcriptapi-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"youtube-transcript": {
"args": [
"-y",
"transcriptapi-mcp@0.1.1"
],
"command": "npx",
"env": {
"TRANSCRIPTAPI_KEY": "${input:transcriptapi-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.youtube-transcript]
command = "npx"
args = ["-y", "transcriptapi-mcp@0.1.1"]
env = { "TRANSCRIPTAPI_KEY" = "<TRANSCRIPTAPI_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http youtube-transcript https://api.transcriptapi.io/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"youtube-transcript": {
"args": [
"-y",
"mcp-remote",
"https://api.transcriptapi.io/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"youtube-transcript": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://api.transcriptapi.io/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"youtube-transcript": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://api.transcriptapi.io/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.youtube-transcript]
command = "npx"
args = ["-y", "mcp-remote", "https://api.transcriptapi.io/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: TRANSCRIPTAPI_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_youtube_transcript, search_youtube, get_channel_videos, search_channel_videos, get_playlist_videos.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json