- Explore MCP Servers
- twitch-mcp-server
Twitch Mcp Server
What is Twitch Mcp Server
The twitch-mcp-server is a Model Context Protocol (MCP) server designed to interact with the Twitch API using the Helix API. It allows developers to access various Twitch data such as channel information, stream details, and game data.
Use cases
Use cases for the twitch-mcp-server include building Twitch-related applications, creating analytics tools for streamers, developing chatbots that interact with Twitch streams, and integrating Twitch data into gaming platforms.
How to use
To use the twitch-mcp-server, first install the package via npm. Then, configure your Twitch Developer Account credentials as environment variables or in a .env file. Finally, start the server using the command ‘npx @mtane0412/twitch-mcp-server’.
Key features
Key features of the twitch-mcp-server include retrieving channel information, stream details, top games, searching categories and channels, accessing live streams, global emotes, chat badges, user information, clips, chat settings, videos, and comments from archived videos using GraphQL API.
Where to use
The twitch-mcp-server can be used in various fields such as game development, streaming applications, and any project that requires interaction with Twitch’s extensive API for data retrieval and management.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Twitch Mcp Server
The twitch-mcp-server is a Model Context Protocol (MCP) server designed to interact with the Twitch API using the Helix API. It allows developers to access various Twitch data such as channel information, stream details, and game data.
Use cases
Use cases for the twitch-mcp-server include building Twitch-related applications, creating analytics tools for streamers, developing chatbots that interact with Twitch streams, and integrating Twitch data into gaming platforms.
How to use
To use the twitch-mcp-server, first install the package via npm. Then, configure your Twitch Developer Account credentials as environment variables or in a .env file. Finally, start the server using the command ‘npx @mtane0412/twitch-mcp-server’.
Key features
Key features of the twitch-mcp-server include retrieving channel information, stream details, top games, searching categories and channels, accessing live streams, global emotes, chat badges, user information, clips, chat settings, videos, and comments from archived videos using GraphQL API.
Where to use
The twitch-mcp-server can be used in various fields such as game development, streaming applications, and any project that requires interaction with Twitch’s extensive API for data retrieval and management.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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)
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
-
Create a new application in the Twitch Developer Console
-
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
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










