Skip to main content

A practice project based on dabidstudio's YouTube Insights MCP Server.

Project description

my-youtubeinsights-mcp-server

A practice project based on dabidstudio's YouTube Insights MCP Server.

Features

  • Extract transcripts from YouTube videos (multi-language)
  • Search videos by keyword and fetch metadata (views, likes, thumbnails, etc.)
  • Retrieve channel info and latest videos from any YouTube video URL
  • FastMCP-based server integration for easy deployment
  • MCP Tools for seamless agent workflows

Example usecases

Finding Trending Videos and Summarizing
Analyzing a Channel's Recent Performance

Installing via Smithery

To install youtubeinsights-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @dabidstudio/youtubeinsights-mcp-server --client claude

Using uvx (recommended)

When using uvx, no specific installation is needed.

Add the following configuration to your MCP settings file (e.g., claude_desktop_config.json for Claude Desktop):

{
  "mcpServers": {
    "youtubeinsights": {
      "command": "uvx",
      "args": ["youtubeinsights-mcp-server"],
      "env": {
        "YOUTUBE_API_KEY": "your-api-key",
      }
    }
  }
}

Development Installation

  1. Clone this repository

  2. Copy .env.example to .env and fill in your youtube data api credentials

    {
      "mcpServers": {
        "youtubeinsights": {
          "command": "uv",
          "args": [
            "--directory",
            "path/to/youtubeinsights-mcp-server",
            "run",
            "youtubeinsights-mcp-server"
          ],
          "env": {
            "YOUTUBE_API_KEY": "your-api-key",
          }
        }
      }
    }
    

Available MCP Tools

  • get_youtube_transcript: Extract full transcript (subtitles) from a YouTube video URL (supports ko, en)
  • search_youtube_videos: Search for videos on YouTube by keyword and retrieve key metadata
  • get_channel_info: Get channel metadata and recent uploads based on any YouTube video URL

Sample MCP Tool Descriptions

{
  "tool": "get_youtube_transcript",
  "description": "Extract subtitles from a given YouTube video URL."
}
{
  "tool": "search_youtube_videos",
  "description": "Search videos by keyword and return metadata including views, likes, and thumbnails."
}
{
  "tool": "get_channel_info",
  "description": "Retrieve channel info (title, subscriber count, latest uploads) based on a video URL."
}

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Original Author

This project is based on the work of dabidstudio. See the original-author field in pyproject.toml for more information.

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

youtube_insight-0.1.0.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

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

youtube_insight-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file youtube_insight-0.1.0.tar.gz.

File metadata

  • Download URL: youtube_insight-0.1.0.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for youtube_insight-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a9976febf920258531032dc4b26b0536a5d25c5a76e34c2804e6dddd53c4e390
MD5 1892bb243034027efc4bde31757075a4
BLAKE2b-256 fb4a962aed900348b8ec46488ab61fcba78e1d3ee2bd20016a0db685647003f8

See more details on using hashes here.

File details

Details for the file youtube_insight-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_insight-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b1767602771be678594c69838aedacfffa1f5b1e8ed0771b89692dcf5ffb984
MD5 269d4bc11a1654897d1605ac60925d5e
BLAKE2b-256 786890a773577cd84450b7a19be3ed231a4457fb98a21f167eacd12a221b0de2

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