Provides access to Twitch API data for channel statistics, viewership information, stream status, follower counts, and discovery tools for searching channels and game categories.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Twitch MCP Servercheck if xQc is live and how many viewers he has"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Twitch MCP Server
A Model Context Protocol (MCP) server that provides access to Twitch API data for channel statistics, viewership, and discovery.
Features
Channel Statistics: Get channel information, follower counts, and recent followers
Viewership Data: Check stream status, current viewer counts, and stream details
Discovery Tools: Search for channels and game categories
Real-time Data: All data fetched directly from Twitch's API
Related MCP server: Twitch MCP Server
Prerequisites
Node.js 18 or higher
A Twitch Developer Application (for API credentials)
Setup
Create a Twitch Developer Application:
Go to Twitch Developer Console
Create a new application
Note your Client ID and Client Secret
Install dependencies:
npm installConfigure API credentials:
cp .env.example .env # Edit .env with your actual credentialsBuild the project:
npm run build
Available Tools
Channel Statistics
get_channel_info: Get basic channel information (game, title, language)get_channel_followers: Get follower count and recent followers
Viewership Data
get_stream_info: Get current stream status and viewer count
Discovery
search_channels: Search for channels by name or keywordsearch_categories: Search for Twitch game categories
Usage
With Claude Desktop
Add this server to your Claude Desktop MCP settings (usually in ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Command Line Usage
Example Commands
Get channel info:
get_channel_infowith channel nameCheck if channel is live:
get_stream_infowith channel nameGet follower stats:
get_channel_followerswith channel nameSearch channels:
search_channelswith search queryFind games:
search_categorieswith category name
Testing
You can test the MCP server using the MCP Inspector:
Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the ISC License.