惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
小众软件
小众软件
Y
Y Combinator Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LangChain Blog
Martin Fowler
Martin Fowler
美团技术团队
B
Blog RSS Feed
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
大猫的无限游戏
大猫的无限游戏
博客园 - 司徒正美
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
D
Docker
G
Google Developers Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - umbertotancorre/youtube-mcp: MCP server that giv...
umbertotanco · 2026-05-20 · via Hacker News - Newest: "AI"

npm License: MIT Node GitHub stars

Zero Setup · No API Key · No Account · Open Source

An MCP server that gives any MCP-compatible AI agents the ability to access YouTube knowledge:

  • Fetch transcript (with or without timestamps)
  • Download transcript as .md (with or without timestamps)
  • Get video metadata
  • Search within captions
  • Download videos
  • Download audio

All locally, no third-party API keys.

Table of Contents

How It Works

The Model Context Protocol (MCP) lets you expose local tools to an AI agent. This project implements an MCP server with 8 tools.

Tools

Tool Description
get_transcript Fetches the full transcript of a video as plain text
get_transcript_timed Same as above, but each segment is prefixed with a [MM:SS] timestamp
download_transcript Downloads the transcript as a .md file
download_transcript_timed Downloads the transcript as a .md file with timestamps
get_metadata Returns title, channel, publish date, view count, duration, category, likes, channel URL, channel ID, and description
search_transcript Searches for a keyword or phrase in the transcript and returns matching segments with timestamps
download_video Downloads a video (video+audio) as .mp4 to your machine
download_audio Downloads audio as .mp3 (or m4a, flac, opus, etc.) to your machine

download_video and download_audio are fully self-contained. Both yt-dlp and ffmpeg are downloaded automatically during npm install - no manual setup needed.

Installation

Two ways to get started:

Method A: AI setup

If your AI supports installing MCP servers directly, simply tell it:

Add youtube-mcp as an MCP server. Run it with: npx @umbertotancorre/youtube-mcp

Method B: Manual setup

npx @umbertotancorre/youtube-mcp

Then point your MCP client to:

npx @umbertotancorre/youtube-mcp

That is the only line you need in any MCP config. All tools will appear automatically.

Development

Commands

npm run dev    # run directly with ts-node (no build step)
npm run build  # compile TypeScript to dist/
npm start      # run the compiled output

Layout

youtube-mcp/
  src/
    index.ts          # MCP server with all 8 tools
  dist/               # Compiled JavaScript output
  node_modules/       # Dependencies (ignored by git)
  package.json
  tsconfig.json
  README.md
  LICENSE
  .npmignore

Disclaimer

This server only accesses publicly available YouTube data, the same captions, metadata, and streams you see when visiting youtube.com in a browser. It does not bypass any authentication, paywalls, or age gates. No API key, account, or login is required.

End users are responsible for complying with YouTube's Terms of Service. The maintainer of this project does not host, operate, or provide any service, this is a local tool you run on your own machine.

License

@umbertotancorre/youtube-mcp is fully open source, licensed under the MIT License.