Skip to main content

Add your description here

Project description

YouTube Insights MCP Server

smithery badge

A Model Context Protocol (MCP) server that enables insight extraction from YouTube videos, including subtitle parsing, keyword-based video discovery, and channel info retrieval.

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

Installation

Using uvx (recommended)

When using uvx, no specific installation is needed.

Add the following configuration to your MCP settings file (e.g., cline_mcp_settings.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. Install dependencies:
    uv venv
    
  3. 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 details.

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

youtubeinsights_mcp_server-0.1.0.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

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

youtubeinsights_mcp_server-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for youtubeinsights_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 19b0ead5d6e3ca5429eecc29f828c137bf53f22034b96d4a4f9c8495abd5ae79
MD5 f6792b623961aa843602e0fae3ddc98d
BLAKE2b-256 ef00ea2728ea8883a2afec009360ff2de254635bf1418f60e7a18f4b8b0c5bc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtubeinsights_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65a5b3cef790a977b0580189d0b158a3d7b6404cd49f3e41bd57a99a84272cdb
MD5 4c3529afb070b5c1cb34bc1ee888bcf8
BLAKE2b-256 42bd4395ca0377b05f1bc92ff4a6fc7887368f2586c447bfd72aa007999da82e

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