Skip to main content

MCP Server to extract transcript from a YouTube video

Project description

ytt-mcp: YouTube Transcript MCP Server

MCP Server to fetch transcripts for YouTube videos.

Installing and Running

The most convenient way to install and run is to use uv and then invoke the package using uvx

Claude Desktop

Go to SettingsDeveloper, and then click on Edit Config. This will open the claude-desktop-config.json file in your default editor. Make the following addition

{
  "mcpServers": {
    …<rest of the config>…
    "ytt-mcp": {
      "command": "uvx",
      "args": ["ytt-mcp"]
    }
  }
}

Relaunch Claude config and try out the server as shown in the screenshot below

image

Raycast

If you are using Raycast, you can install the MCP server by invoking the Install Server command from the MCP extension.

image

After that you can refer to the MCP server as @youtube-transcript and interact with it. You can also use it in a Raycast AI Command with a prompt. For example, here is a prompt I use to extract and summarize a YouTube URL in the clipboard

@youtube-transcript fetch the Youtube transcript of the video: {clipboard | raw}

Comprehensively summarize the transcript with the following format:
"""
### Key Takeaways

- <EXACTLY three bullet points with the key takeaways, keep the bullet points as short as possible>
"""

### Theme Wise Breakdown
<divide the transcript into thematic sections and summarize each section comprehensively. reuse any existing section delimiters the article already has. If not add your own. keep the content of the breakdown in the same order as it appears in the webpage text.>

Some rules to follow precisely:
- ALWAYS capture the perspective and POV of the author
- NEVER come up with additional information

See video demo below

https://github.com/user-attachments/assets/e6530768-3483-4cb9-988a-7ec7a999d505

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ytt_mcp-0.0.5.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytt_mcp-0.0.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file ytt_mcp-0.0.5.tar.gz.

File metadata

  • Download URL: ytt_mcp-0.0.5.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for ytt_mcp-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7919a883fc31f55f61de28f4b2b528bf0295f0352c10bb65c4d03d747fb5b536
MD5 070754080ce667f5d90bc663378e105d
BLAKE2b-256 1e67c889ea3e78394f6b09a291fcf4c8f04bcddbd8501c980d5027db0b981bbc

See more details on using hashes here.

File details

Details for the file ytt_mcp-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ytt_mcp-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for ytt_mcp-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a1ccebba0dd655e7ceb28cb6f8b1c0aeaed4e68c326b11f4b9466c066706c9
MD5 9d2bc5198c6c4d35398704177e681e78
BLAKE2b-256 dcc1a6318f78234de09ba3ac7aa24828d5cec86577b3b21fbe6c883865abf2d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page