Skip to main content
Glama

Twitch MCP Server

A Model Context Protocol (MCP) server that interacts with the Twitch API. This server utilizes the Twitch Helix API to retrieve channel information, stream details, game data, and more.

Features

  • Get channel information (profile, description, creation date, etc.)

  • Get stream information (title, game, viewer count, start time, etc.)

  • Get list of top games

  • Search categories/games

  • Search channels

  • Get live streams (filterable by game and language)

  • Get global emotes

  • Get global chat badges

  • Get user information

  • Get clips from a channel

  • Get chat settings

  • Get videos from a specified channel

  • Get comments from archived videos (using GraphQL API)

Related MCP server: Twitch MCP Server

Prerequisites

  • Node.js (v18 or higher recommended)

  • Twitch Developer Account

  • Twitch API Client ID and Client Secret

  • Twitch GraphQL Client ID (for video comments feature)

Installation

Install the package using npm:

npm install @mtane0412/twitch-mcp-server

Configuration

  1. Create a new application in the Twitch Developer Console

  2. Set the following environment variables:

# 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"

Alternatively, you can create a .env file:

TWITCH_CLIENT_ID=your_client_id
TWITCH_CLIENT_SECRET=your_client_secret

Usage

After installation, you can start using the server by running:

npx @mtane0412/twitch-mcp-server

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspect

The Inspector will provide a URL to access debugging tools in your browser.

License

MIT License

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