MCP server for FetchTranscript YouTube API
Project description
FetchTranscript MCP Server
An MCP server that gives AI assistants (Claude Desktop, Cursor, etc.) access to YouTube transcripts, video metadata, channels, and search via the FetchTranscript API.
Features
8 Tools — get transcripts, list languages, video metadata, chapters, comments, channel info, channel videos, search
4 Documentation Resources — API reference, quickstart guide, pricing, workflow examples
3 Prompt Templates — summarize video, compare videos, extract quotes
Quick Start
1. Get an API Key
Sign up at fetchtranscript.com and create an API key from the dashboard.
2. Configure Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"fetchtranscript": {
"command": "uvx",
"args": ["fetchtranscript-mcp"],
"env": {
"FETCHTRANSCRIPT_API_KEY": "yt_your_key_here"
}
}
}
}
3. Use it
Ask Claude:
- "Get the transcript of YouTube video dQw4w9WgXcQ"
- "Summarize this YouTube video: https://youtube.com/watch?v=..."
- "Search YouTube for 'machine learning explained' and summarize the top result"
Configuration for Other Clients
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"fetchtranscript": {
"command": "uvx",
"args": ["fetchtranscript-mcp"],
"env": {
"FETCHTRANSCRIPT_API_KEY": "yt_your_key_here"
}
}
}
}
Claude Code
claude mcp add fetchtranscript -- uvx fetchtranscript-mcp
Set FETCHTRANSCRIPT_API_KEY in your environment.
Installation Alternatives
pip
pip install fetchtranscript-mcp
FETCHTRANSCRIPT_API_KEY=yt_xxx fetchtranscript-mcp
npx
FETCHTRANSCRIPT_API_KEY=yt_xxx npx @fetchtranscript/mcp-server
Tools
| Tool | Description | Key defaults |
|---|---|---|
get_transcript |
Fetch video transcript | format=text |
list_languages |
Available transcript languages | — |
get_video_metadata |
Video title, views, likes, etc. | — |
get_chapters |
Video chapter list | — |
get_comments |
Top comments | limit=20 |
get_channel_info |
Channel metadata | — |
list_channel_videos |
Videos from a channel | limit=10 |
search_videos |
Search YouTube | limit=5 |
Environment Variables
| Variable | Required | Description |
|---|---|---|
FETCHTRANSCRIPT_API_KEY |
Yes | Your API key (starts with yt_) |
FETCHTRANSCRIPT_BASE_URL |
No | Override API base URL (default: https://api.fetchtranscript.com) |
Development
cd mcp
pip install -e ".[dev]"
pytest tests/
Test with MCP Inspector:
FETCHTRANSCRIPT_API_KEY=yt_xxx mcp dev src/fetchtranscript_mcp/server.py
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fetchtranscript_mcp-0.1.0.tar.gz.
File metadata
- Download URL: fetchtranscript_mcp-0.1.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ece79184819e5c6e8fe9c8a969d725f64d67ef8fe06280ea250e733d23d0efca
|
|
| MD5 |
6fd54e60a15ff7a0b6d1f69e21b40c3b
|
|
| BLAKE2b-256 |
5f1415713ac96356cd53c3bfedd285ef98c3bd47bcf254f5a87c05e718cb4069
|
File details
Details for the file fetchtranscript_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fetchtranscript_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
831d6df4d3481021124d3669db1930daf1af84526912a2cb44464c9bca8c419c
|
|
| MD5 |
4347edc8d8d95d48ff3fb3ce76ad99ec
|
|
| BLAKE2b-256 |
53b7d398cc12bb90d7010fc34cce69a17e3cee099967c73cedf227032ff69a64
|