Skip to main content

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

Using MCP Inspector (for development/debugging/testing only)

uv run fastmcp dev ytt_mcp.py

This will generate a localhost URL that can be used to examine and test out the server.

image

Claude Desktop

Go to Settings → Developer, 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

Metadata

Release files for ytt-mcp 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ytt-mcp 0.0.7
File Size Uploaded Provenance
ytt_mcp-0.0.7.tar.gz 100.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ytt-mcp 0.0.7
File Interpreter ABI Platform
ytt_mcp-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 105.5 kB

Release files / ytt_mcp-0.0.7.tar.gz

Download URL ytt_mcp-0.0.7.tar.gz
Size 100.7 kB
Tags Source
SHA-256 checksum
How to use checksums
07f0309d214b96fe1d030531159cf73e88f7ca2d76c93a9a5a1323ca191e16a0
BLAKE2b-256 checksum
How to use checksums
be4c45809f891677a66d565e3ad56ea3cb60d1fe1d1ea9f8bf73bbebb136d313
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.23

Release files / ytt_mcp-0.0.7-py3-none-any.whl

Download URL ytt_mcp-0.0.7-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05bf572eee13299602c5bb37a02506a30a146750d5c155776ae1ced7edabc7f4
BLAKE2b-256 checksum
How to use checksums
3125a4edcddc5415e78ed3da482a25f7dba9adb31203470e15f45c8f03207fce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.23

Security for ytt-mcp 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page