MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
제작자가 쓴 설명(영어 원문)
MCP RAG: index PDFs, repos, YouTube, Discord, text; optional YouTube vision; query with citations.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
OPENROUTER_API_KEY, PINRAG_PERSIST_DIR비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"pinrag": {
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "your-value",
"PINRAG_PERSIST_DIR": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add pinrag --env OPENROUTER_API_KEY=your-value --env PINRAG_PERSIST_DIR=your-value -- uvx pinrag실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"pinrag": {
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "your-value",
"PINRAG_PERSIST_DIR": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"pinrag": {
"type": "stdio",
"command": "uvx",
"args": [
"pinrag"
],
"env": {
"OPENROUTER_API_KEY": "your-value",
"PINRAG_PERSIST_DIR": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
PINRAG_PERSIST_DIR env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 ndjordjevic 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: OPENROUTER_API_KEY
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.9.27)은 7개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
An MCP server retrieving transcripts of YouTube videos
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
PinRAG is for when you want to learn about something and your materials are scattered—PDFs and ebooks, GitHub repos, YouTube videos, Discord discussions, and plain notes. You index those materials into one shared RAG index, then ask questions from Cursor, VS Code (GitHub Copilot), or any MCP-capable assistant and get answers with citations pointing back to pages, timestamps, files, or threads.
Under the hood it is Retrieval-Augmented Generation built with LangChain and exposed as an MCP (Model Context Protocol) server: add documents from the editor, query with natural language, list or remove what you indexed. Supported inputs include PDFs, local text files and directories, Discord exports, YouTube (transcript from URL, playlist, or ID), and GitHub repo URLs. For YouTube you can optionally add vision so on-screen code, diagrams, and UI text are merged with the transcript in the same chunks—see YouTube vision enrichment.
pinrag[vision] + ffmpeg (see YouTube vision enrichment)AMIGA, PI_PICO) for filtered searchquery_tool supports document_id, tag, document_type, PDF page_min/page_max, and response_style (thorough or concise)add_document_tool, query_tool, list_documents_tool, remove_document_tool, set_document_tag_tool, list_collections_tool; optional collection on tools overrides PINRAG_COLLECTION_NAME for that callpinrag://documents (indexed documents) and pinrag://server-config (env vars and config); click in Cursor’s MCP panel to viewuse_pinrag (parameter: request) for querying, indexing, listing, or removing documentsopenrouter/free router), OpenAI, Anthropic, or Cerebras Inference (OpenAI-compatible API); set via PINRAG_LLM_PROVIDER and PINRAG_LLM_MODEL in MCP env or your shellPINRAG_EMBEDDING_MODEL, default nomic-embed-text-v1.5); no API key; first run downloads model weights (~270 MB, cached)ctx.log) plus optional LangSmith tracingAdd PinRAG as an MCP server in your editor. Install uv and ensure uvx is on your PATH—that runs PinRAG from PyPI without a prior pip install.
Cursor: add this under mcpServers in ~/.cursor/mcp.json:
{
"mcpServers": { "pinrag": { "command": "uvx", "args": ["--refresh", "pinrag"], "env": { "OPENROUTER_API_KEY": "your-openrouter-api-key-here", "PINRAG_PERSIST_DIR": "/absolute/path/to/your/pinrag-data" } } } }
VS Code (GitHub Copilot): run MCP: Open User Configuration from the Command Palette (or add .vscode/mcp.json in a workspace), then merge this shape—top-level key is servers:
{
"servers": { "pinrag": { "command": "uvx", "args": ["--refresh", "pinrag"], "env": { "OPENROUTER_API_KEY": "your-openrouter-api-key-here", "PINRAG_PERSIST_DIR": "/absolute/path/to/your/pinrag-data" } } } }
For clients that speak MCP over HTTP (e.g. [pinrag-cli](https://github.com/ndjordjevic/pinrag-cli) with --server), run:
pinrag server [--host 127.0.0.1] [--port 8765]
This starts a streamable-HTTP MCP endpoint at http:// : /mcp. The default pinrag stdio command for editors is unchanged; pinrag server is additive. Connect pinrag-cli with --server http://127.0.0.1:8765/mcp.
Put API keys and any PinRAG settings in the MCP entry’s `env` block. The server does not load .env files when the editor launches it.
| Action | Tool |
|---|---|
| Index files, directories, or URLs | add_document_tool — required `paths`: list of local paths (PDFs, plain or DiscordChatExporter .txt, directories) or URLs (YouTube videos, playlist URLs, GitHub repos, web documentation sites; bare YouTube video IDs allowed). Optional `tags` (one per path). For GitHub URLs only: `branch`, `include_patterns`, `exclude_patterns`. |
| List indexed documents | list_documents_tool — returns `documents` (IDs), `total_chunks`, and optional `tag` filter. `document_details` may include document_type, tags, page / message / segment counts, titles, aggregated `bytes`, and `upload_timestamp` when present in metadata. |
| Query with filters | query_tool — required `query`. Optional `document_id`, `tag`, `document_type`, `page_min` / `page_max` (PDF ranges), `response_style` (thorough or concise; leave empty to use `PINRAG_RESPONSE_STYLE`). |
| Remove a document | remove_document_tool — required `document_id` (exact value from `list_documents_tool`). |
| View resources (read-only) | In the MCP panel, open Resources and choose `pinrag://documents` (indexed docs) or `pinrag://server-config` (effective config, including `PINRAG_VERSION`). |
Ask in chat: *"Add /path/to/amiga-book.pdf with tag AMIGA"*, *"Index https://youtu.be/xyz and ask what it says"*, *"Index https://github.com/owner/repo and ask about the codebase"*, or *"Index https://docs.langchain.com/ and summarize its memory APIs"*. The AI will invoke the tools for you. Citations show page numbers for PDFs, timestamps (e.g. t. 1:23) for YouTube, document names for plain text and Discord exports, chunk index labels for GitHub, and source URLs for web documentation.
Index a repo with `add_document_tool` and a URL in `paths`, e.g. https://github.com/owner/repo, https://github.com/owner/repo/tree/branch, or github.com/owner/repo (scheme optional).
GitHub-only options: `branch`, `include_patterns` / `exclude_patterns` — defaults already favor common text and source files and skip bulky artifacts; use patterns when you need files outside that set. Files over `PINRAG_GITHUB_MAX_FILE_BYTES` (default 512 KiB) are skipped.
Auth: Set `GITHUB_TOKEN` in MCP `env` (or the shell) for private repos or fewer rate-limit hits on big indexes; small public runs often work without it. Use a classic or fine-grained PAT with repo read access; there is no OAuth in PinRAG.
Point `add_document_tool` at any documentation site URL, e.g. https://docs.langchain.com/, https://docs.crewai.com/, or https://picocomputer.github.io/. PinRAG discovers pages via (in order) `llms.txt` / `llms-full.txt` (Mintlify-style), `sitemap.xml` (including robots.txt Sitemap: hints and nested sitemap indexes), then a scoped BFS crawl from the seed URL.
Scope: exact host match (no subdomains) plus path prefix derived from the seed — e.g. https://docs.example.com/guide/ only indexes pages under /guide/. Use the site root URL to capture the full docs tree.
Extraction: text/markdown responses (from llms.txt fast paths) pass through; HTML runs through trafilatura with a BeautifulSoup + markdownify fallback that scopes to / / [role=main].
Limits & politeness: controlled by `PINRAG_WEB_MAX_PAGES` (default 200), `PINRAG_WEB_MAX_DEPTH` (5), `PINRAG_WEB_MAX_PAGE_BYTES` (1 MiB), `PINRAG_WEB_CONCURRENCY` (4), `PINRAG_WEB_RATE_LIMIT_PER_HOST` (2.0/sec), and `PINRAG_WEB_RESPECT_ROBOTS` (true). Some sites (e.g. Cloudflare-protected pages) may return 403 to pure-Python clients; that's a known limitation.
Citations: web chunks carry a source_url metadata field; answers cite per-page URLs, and the document_id is so remove_document_tool / set_document_tag_tool operate on the whole site at once.
Transcript-heavy indexing—especially from cloud or high-volume IPs—may return errors like *"YouTube is blocking requests from your IP"*. Point `youtube-transcript-api` at a proxy via MCP `env` (or your shell):
PINRAG_YT_PROXY_HTTP_URL=http://user:pass@proxy.example.com:80
PINRAG_YT_PROXY_HTTPS_URL=http://user:pass@proxy.example.com:80
**PINRAG_YT_PROXY_*** affects transcript fetches only; yt-dlp steps (titles, playlists) do not use it. Residential or rotating proxies usually fare better than raw datacenter IPs.
When some paths fail (e.g. a few videos in a playlist), `add_document_tool` includes `fail_summary` with counts keyed by blocked, disabled, missing_transcript, and other.
Default indexing is transcript-only. Set `PINRAG_YT_VISION_ENABLED=true` to add vision captions for on-screen content, time-aligned with the transcript and chunked with metadata such as has_visual, frame_count, and visual_source.
`PINRAG_YT_VISION_PROVIDER`:
PATH, and `OPENAI_API_KEY` or `ANTHROPIC_API_KEY` (install the extra in the same env as pinrag, e.g. uv sync --extra vision or pip install 'pinrag[vision]').Ops: Re-index after changing vision settings. For openai/anthropic, tune cost and timeouts with `PINRAG_YT_VISION_MAX_FRAMES` and optional `PINRAG_YT_VISION_IMAGE_DETAIL=high` (clearer small text, more tokens)
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요