Twitch MCP Server
Provides access to Twitch API data for channel statistics, viewership information, stream status, follower counts, and discovery tools for searching channels and game categories.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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):
{
"mcpServers": {
"twitch": {
"command": "node",
"args": ["path/to/twitch-mcp/dist/index.js"],
"env": {
"TWITCH_CLIENT_ID": "your_actual_client_id",
"TWITCH_CLIENT_SECRET": "your_actual_client_secret"
}
}
}
}Command Line Usage
# Start the server
TWITCH_CLIENT_ID=your_id TWITCH_CLIENT_SECRET=your_secret npm start
# Development mode
TWITCH_CLIENT_ID=your_id TWITCH_CLIENT_SECRET=your_secret npm run devExample 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:
npx @modelcontextprotocol/inspector \
TWITCH_CLIENT_ID=your_id TWITCH_CLIENT_SECRET=your_secret \
node dist/index.jsContributing
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Query your Twitch streams, events, supporters, raids & rankings from an AI assistant via OAuth.
Manage your Twitch raid-train schedule from an AI assistant: claim, release & trade slots via OAuth.
Twitch MCP — wraps the Twitch Helix API (read-only)
Live X/Twitter data: profiles, tweets, search, followers, lists and trends. 29 read-only tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceFacilitates interaction with Ethereum blockchain data via Etherscan's API, providing real-time access to balances, transactions, token transfers, contract ABIs, gas prices, and ENS name resolutions.619 npm30MIT
- AlicenseBqualityDmaintenanceEnables interaction with the Twitch API, allowing users to retrieve comprehensive information about channels, streams, games, and more, with additional support for searching and accessing chat elements like emotes and badges.14219 npm4MIT
- AlicenseNot gradedqualityDmaintenanceReal-time access to cryptocurrency data from the CoinMarketCap API.22 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.215 npm65MIT