================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-server-youtube-transcript
by kimtaeyoon83
Model Context Protocol (MCP) server that fetches YouTube video transcripts/captions through a get_transcript tool.
271
46
Specialized01
get_transcript
Extract transcripts from YouTube videos
Installation
1. Clone the repo
git clone https://github.com/kimtaeyoon83/mcp-server-youtube-transcript.git
cd mcp-server-youtube-transcript
2. Install dependencies
npm install # or yarn install
3. (Optional) Configure environment variables
# create a .env file in the project root
PORT=3000 # port the server will listen on
API_PREFIX=/api # base path for routes
# If you want to use an official Google API instead of the unofficial transcript scraper you can add
GOOGLE_API_KEY=your_key
4. Run the server
npm start # production
npm run dev # hot-reload with nodemon
5. Verify
curl "http://localhost:3000/api/transcript?id=VIDEO_ID"
# or
curl "http://localhost:3000/api/transcript?url=https://www.youtube.com/watch?v=VIDEO_ID"
Documentation
License: MIT License
Updated 7/30/2025