RM

rickyyy1116/mcp-youtube-sheets

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 6 forks 品質 58 トレンド 8MIT

This MCP server provides functionality to search YouTube videos and automatically save the results to Google Sheets.

概要

This MCP server provides functionality to search YouTube videos and automatically save the results to Google Sheets. It's designed to work with Claude and other AI assistants that support the Model Context Protocol. - Search YouTube videos using the YouTube Data API v3 - Save search results to Google Sheets automatically - Configurable search parameters (query, max results) - Results include video title, URL, channel name, and publish date 1. YouTube Data API v3 Setup: - Go to Google Cloud Console - Create a new project - Enable YouTube Data API v3 - Create an API key 2. Google Sheets API Setup: - In the same project, enable Google Sheets API - Create a service account - Download the service account key (JSON format) - Share your target Google Sheet with the service account email Add the server to your MCP settings file: “Ask the AI assistant to ‘search for YouTube videos with “ChatGPT usage” and retrieve 10 videos’ and try using it in that way.

README

YouTube to Google Sheets MCP Server

This MCP server provides functionality to search YouTube videos and automatically save the results to Google Sheets. It’s designed to work with Claude and other AI assistants that support the Model Context Protocol.

English | 日本語

Features

  • Search YouTube videos using the YouTube Data API v3
  • Save search results to Google Sheets automatically
  • Configurable search parameters (query, max results)
  • Results include video title, URL, channel name, and publish date

Installation

npm install @rikukawa/youtube-sheets-server

Prerequisites

  1. YouTube Data API v3 Setup:

  2. Google Sheets API Setup:

    • In the same project, enable Google Sheets API
    • Create a service account
    • Download the service account key (JSON format)
    • Share your target Google Sheet with the service account email

Configuration

Add the server to your MCP settings file:

{
  "mcpServers": {
    "youtube-sheets": {
      "command": "node",
      "args": ["path/to/youtube-sheets-server/build/index.js"],
      "env": {
        "YOUTUBE_API_KEY": "your-youtube-api-key",
        "SPREADSHEET_ID": "your-spreadsheet-id"
      },
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

Usage

“Ask the AI assistant to ‘search for YouTube videos with “ChatGPT usage” and retrieve 10 videos’ and try using it in that way.”

Output Format

The tool will save the following information to your Google Sheet:

  • Video Title
  • Video URL
  • Channel Name
  • Publish Date

License

MIT

Author

Riku Kawashima

Repository

GitHub Repository

NPM Package

@rikukawa/youtube-sheets-server

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "youtube-sheets": { "command": "node", "args": ["path/to/youtube-sheets-server/build/index.js"], "env": { "YOUTUBE_API_KEY": "your-youtube-api-key", "SPREADSHEET_ID": "your-spreadsheet-id" }, "disabled": false, "alwaysAllow": [] } } }