Provides access to Twitch API data for channel statistics, viewership information, stream status, follower counts, and discovery tools for searching channels and game categories.
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
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:
- Configure API credentials:
- Build the project:
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_info
with channel name - Check if channel is live:
get_stream_info
with channel name - Get follower stats:
get_channel_followers
with channel name - Search channels:
search_channels
with search query - Find games:
search_categories
with 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.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
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.
Related MCP Servers
- AsecurityAlicenseAqualityFacilitates 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.Last updated -61522TypeScriptMIT License
- AsecurityFlicenseAqualityEnables 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.Last updated -1431TypeScript
- -securityAlicense-qualityReal-time access to cryptocurrency data from the CoinMarketCap API.Last updated -61TypeScriptMIT License
- -securityFlicense-qualityEnables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.Last updated -7,73744JavaScript