Skip to main content
Glama
README.md
<p align="center">
  <img src="assets/logo.svg" width="96" height="96" alt="YoutubeToText logo">
</p>

# YoutubeToText MCP server

Transcribe YouTube videos to text, make subtitle files (SRT or VTT) and burn subtitles into a video, from Claude, ChatGPT, Cursor or any other MCP client.

This is a hosted, remote MCP server. There is nothing to install or run. You add one URL to your client and sign in with your YoutubeToText account.

```
https://api.youtubetotext.ai/mcp
```

- Transport: Streamable HTTP
- Sign-in: OAuth. If your client asks for a Client ID or Client Secret, leave them blank.
- Docs: https://youtubetotext.ai/developers/mcp/

## Connect

### Claude

1. Open **Customize → Connectors** in Claude (web or desktop).
2. Press **+** and choose **Add custom connector**.
3. Paste `https://api.youtubetotext.ai/mcp`.
4. Sign in with your YoutubeToText account when the browser tab opens.

On a Team or Enterprise plan an owner adds the connector first, under **Organization settings → Connectors**.

### Claude Code

```bash
claude mcp add --transport http youtubetotext https://api.youtubetotext.ai/mcp
```

Then run `/mcp` and sign in.

### Cursor

[Add to Cursor](https://cursor.com/en/install-mcp?name=youtubetotext&config=eyJ1cmwiOiJodHRwczovL2FwaS55b3V0dWJldG90ZXh0LmFpL21jcCJ9)

Or add this to your `mcp.json`:

```json
{
  "mcpServers": {
    "youtubetotext": {
      "url": "https://api.youtubetotext.ai/mcp"
    }
  }
}
```

Cursor asks you to sign in on first use.

### ChatGPT and other clients

Any client that can add a remote MCP server with OAuth works. Add the URL above and sign in. The steps for ChatGPT are on the [docs page](https://youtubetotext.ai/developers/mcp/).

## What you can ask for

Paste a YouTube link into the chat and ask for one of these.

**Transcript**

```
Transcribe this video: <YouTube link>
Transcribe this video verbatim: <YouTube link>
```

Cleaned up by default: filler words like "um" and "uh" are removed. Ask for a verbatim version to keep them.

**Subtitles (SRT or VTT)**

```
Get me an SRT file for this YouTube link: <YouTube link>
Make Spanish and French subtitles for this video: <YouTube link>
```

**Subtitles (Burned in)**

```
Burn subtitles into this video in 1080p: <YouTube link>
```

You get a download link to the video with the subtitles in the picture, in 720p (default), 1080p or 4K. The link works for 1 hour. Ask again for a fresh one.

**Playlists**

```
Transcribe every video in this playlist: <playlist link>
```

Up to 25 public videos per playlist. The assistant first shows what will be queued and how many minutes it needs.

## Tools

| Tool | What it does | Changes your account |
|---|---|---|
| `transcribe` | Starts a transcript job for a YouTube video. | Yes, uses minutes |
| `get_subtitles` | Starts a subtitle job (SRT or WebVTT), with translations into up to 10 languages. | Yes, uses minutes |
| `burn_subtitles` | Starts a job that returns the video with burned-in subtitles in 720p, 1080p or 4K. Options for text size and a background box. | Yes, uses minutes |
| `get_transcription` | Reads the status and the result of one job. | No |
| `get_playlist` | Lists the public videos in a playlist (max 25) and the minutes the whole playlist needs. | No |
| `transcribe_playlist` | Starts one job per video in a playlist. | Yes, uses minutes |
| `get_batch` | Reads the status of every job in a playlist batch. | No |
| `list_transcriptions` | Lists your jobs, newest first, without their text. Filter by video link or title. | No |
| `get_usage` | Shows the minutes your account has left, your plan and when the minutes renew. | No |

Jobs run in the background. A tool that starts a job returns a job id, and the assistant checks `get_transcription` until the job is done. Longer videos take longer.

The server only reads and creates jobs on your own account. It does not delete jobs or change account settings.

## Minutes and limits

- Jobs use the minutes of your YoutubeToText account. The site, the REST API and this server share one balance.
- Each translation language adds 1x the video length. A 10 minute video with 2 translations counts as 30 minutes.
- Burned-in subtitles in 1080p or 4K use more minutes than 720p.
- Rate limit: 60 requests per minute per account, shared with the REST API.
- You stay signed in for a year of use. After a year without use, remove the connection and add it again.

## Troubleshooting

| What you see | What to do |
|---|---|
| `invalid_token: Authentication required` | Sign in when your client opens the browser tab. |
| `invalid_grant: refresh token has expired` | Remove the connection, add it again and sign in. |
| A message about plan minutes or credits | Your balance is too low for the job. Check your account on https://youtubetotext.ai |
| `Rate limit reached` | Wait the number of seconds in the message and try again. |

## Also in this repo

- `.cursor-plugin/plugin.json` and `mcp.json`: the Cursor plugin, which adds this server to Cursor.
- `assets/`: the logo as SVG and as a 400x400 PNG.

The server itself is not in this repo. It runs at `https://api.youtubetotext.ai/mcp`.

## Support

Questions, a bug or a feature idea: https://youtubetotext.ai/contact/

Building something yourself? The same engine is a REST API: https://youtubetotext.ai/developers/

## Licence

The files in this repo are MIT licensed. See [LICENSE](LICENSE). YoutubeToText is a product of Supreme Ventures B.V.