Skip to main content
Glama

Twitch MCP サーバー

Twitch APIと連携するモデルコンテキストプロトコル(MCP)サーバー。このサーバーはTwitch Helix APIを利用して、チャンネル情報、配信の詳細、ゲームデータなどを取得します。

特徴

  • チャンネル情報(プロフィール、説明、作成日など)を取得します

  • ストリーム情報(タイトル、ゲーム、視聴者数、開始時間など)を取得します。

  • トップゲームのリストを取得する

  • カテゴリ/ゲームを検索

  • チャンネルを検索

  • ライブストリームを視聴する(ゲームと言語でフィルタリング可能)

  • グローバルエモートを入手

  • グローバルチャットバッジを取得する

  • ユーザー情報を取得する

  • チャンネルからクリップを取得する

  • チャット設定を取得する

  • 指定したチャンネルから動画を取得する

  • アーカイブされた動画からコメントを取得する(GraphQL API を使用)

Related MCP server: Twitch MCP Server

前提条件

  • Node.js(v18以上を推奨)

  • Twitch開発者アカウント

  • Twitch API クライアントIDとクライアントシークレット

  • Twitch GraphQL クライアント ID (動画コメント機能用)

インストール

npm を使用してパッケージをインストールします。

npm install @mtane0412/twitch-mcp-server

構成

  1. Twitch開発者コンソールで新しいアプリケーションを作成する

  2. 次の環境変数を設定します。

# macOS/Linux
export TWITCH_CLIENT_ID="your_client_id"
export TWITCH_CLIENT_SECRET="your_client_secret"

# Windows (PowerShell)
$env:TWITCH_CLIENT_ID="your_client_id"
$env:TWITCH_CLIENT_SECRET="your_client_secret"

あるいは、 .envファイルを作成することもできます。

TWITCH_CLIENT_ID=your_client_id
TWITCH_CLIENT_SECRET=your_client_secret

使用法

インストール後、次のコマンドを実行してサーバーの使用を開始できます。

npx @mtane0412/twitch-mcp-server

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspect

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

ライセンス

MITライセンス

Available Tools

14 tools
get_channel_infoC

チャンネル情報を取得します

Inputs: channelName (required).

get_chat_settingsC

チャット設定を取得します

Inputs: channelName (required).

get_clipsC

クリップの情報を取得します

Inputs: channelName (required), limit.

get_gameC

特定のゲームの情報を取得します

Inputs: name (required).

get_global_badgesB

グローバルチャットバッジのリストを取得します

Inputs: no named parameters.

get_global_emotesB

グローバルエモートのリストを取得します

Inputs: no named parameters.

get_stream_infoC

配信情報を取得します

Inputs: channelName (required).

get_streamsC

現在ライブ配信中のストリームを取得します

Inputs: game, language, limit.

get_top_gamesC

人気のゲームのリストを取得します

Inputs: limit.

get_usersC

ユーザーの情報を取得します

Inputs: userNames (required).

get_video_commentsC

アーカイブ動画のコメントを取得します

Inputs: videoId (required), limit, cursor.

get_videosC

チャンネルのビデオを取得します

Inputs: channelName (required), limit.

search_categoriesC

ゲームやカテゴリーを検索します

Inputs: query (required), limit.

search_channelsC

チャンネルを検索します

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 14 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific Twitch resources like channels, clips, games, streams, videos, and searches. The naming makes it unambiguous what each tool retrieves, with no functional overlap between tools.

    Naming Consistency5/5

    All tools follow a consistent 'get_' or 'search_' verb prefix with descriptive noun patterns (e.g., get_channel_info, search_channels). This uniform snake_case naming convention makes the tool set predictable and easy to understand.

    Tool Count5/5

    With 14 tools, this server is well-scoped for the Twitch domain, covering key resources like channels, streams, videos, games, and searches. Each tool earns its place by addressing a specific aspect of Twitch's API without being overwhelming.

    Completeness4/5

    The tool set provides comprehensive read-only coverage for retrieving Twitch data, including channels, streams, videos, games, and searches. A minor gap is the lack of write operations (e.g., posting comments or managing streams), but for a retrieval-focused server, it's highly complete.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      This project is a fork and expansion of TomCools' Twitch MCP Server, which implements a Model Context Protocol (MCP) server that integrates with Twitch chat, allowing AI assistants like Claude to interact with your Twitch channel.
      10
      1
      -
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables access to Twitch API data for retrieving channel statistics, viewership information, stream status, and discovering channels and game categories. Provides real-time Twitch data including follower counts, current viewer numbers, and search functionality through natural language interactions.
      -
    • A
      license
      B
      quality
      B
      maintenance
      Provides access to the Internet Game Database (IGDB) API, enabling users to search for video games, retrieve detailed game information including ratings and platforms, and discover trending and anticipated titles.
      4
      5
      MIT