Twitch MCP Server logo

Twitch MCP Server

by MCP-Mirror / mtane0412

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

View on GitHub

Last updated: N/A

What is Twitch MCP Server?

This is a Model Context Protocol (MCP) server designed to interface with the Twitch API. It leverages the Twitch Helix API to provide access to a wide range of Twitch data, including channel information, stream details, game data, and more.

How to use Twitch MCP Server?

First, install the package using npm install @mtane0412/twitch-mcp-server. Then, configure your Twitch API Client ID and Client Secret as environment variables. Finally, start the server using npx @mtane0412/twitch-mcp-server. For debugging, use the MCP Inspector with npm run inspect.

Key features of Twitch MCP Server

  • Get channel information

  • Get stream information

  • Get list of top games

  • Search categories/games

  • Search channels

  • Get live streams (filterable)

  • Get global emotes and chat badges

  • Get user information

  • Get clips and videos from a channel

  • Get comments from archived videos

Use cases of Twitch MCP Server

  • Building Twitch data dashboards

  • Creating custom Twitch integrations

  • Analyzing Twitch trends and statistics

  • Developing Twitch bots and extensions

FAQ from Twitch MCP Server

What is the minimum Node.js version required?

Node.js v18 or higher is recommended.

Where do I get the Twitch API Client ID and Client Secret?

You need to create a new application in the Twitch Developer Console (https://dev.twitch.tv/console).

How do I configure the environment variables?

You can set them directly in your terminal or create a .env file.

How do I debug the MCP server?

Use the MCP Inspector with the command npm run inspect.

What is the Twitch GraphQL Client ID used for?

It is used for the video comments feature to retrieve comments from archived videos.