Skip to main content

MCP server exposing Twitch SDK as tools for AI assistants

Project description

twitch-mcp

MCP server exposing the Twitch SDK as tools for AI assistants like Claude Code.

Installation

pip install twitch-mcp

Configuration

Add to your ~/.mcp.json:

{
  "mcpServers": {
    "twitch": {
      "command": "twitch-mcp",
      "env": {
        "TWITCH_ENV_FILE": "~/twitch-secrets/.env"
      }
    }
  }
}

Or with Poetry:

{
  "mcpServers": {
    "twitch": {
      "command": "poetry",
      "args": ["run", "twitch-mcp"],
      "cwd": "/path/to/twitch-mcp",
      "env": {
        "TWITCH_ENV_FILE": "~/twitch-secrets/.env"
      }
    }
  }
}

Available Tools

Chat

  • twitch_send_chat_message - Send a message to chat
  • twitch_get_chatters - Get list of users in chat
  • twitch_send_announcement - Send an announcement
  • twitch_send_shoutout - Shoutout another broadcaster
  • twitch_get_chat_settings - Get chat settings
  • twitch_update_chat_settings - Update chat settings

Streams

  • twitch_get_streams - Get live streams
  • twitch_get_followed_streams - Get followed live streams
  • twitch_create_stream_marker - Create a stream marker

Channels

  • twitch_get_channel_info - Get channel information
  • twitch_modify_channel_info - Update title, game, etc.
  • twitch_get_channel_followers - Get followers
  • twitch_get_vips / twitch_add_vip / twitch_remove_vip

Clips

  • twitch_create_clip - Create a clip
  • twitch_get_clips - Get clips

Polls & Predictions

  • twitch_create_poll / twitch_get_polls / twitch_end_poll
  • twitch_create_prediction / twitch_get_predictions / twitch_end_prediction

Moderation

  • twitch_ban_user / twitch_unban_user
  • twitch_warn_user
  • twitch_delete_chat_messages
  • twitch_get_moderators / twitch_add_moderator / twitch_remove_moderator
  • twitch_get_blocked_terms / twitch_add_blocked_term
  • twitch_get_shield_mode_status / twitch_update_shield_mode

Channel Points

  • twitch_get_custom_rewards / twitch_create_custom_reward / twitch_update_custom_reward / twitch_delete_custom_reward
  • twitch_get_redemptions / twitch_update_redemption_status

And More...

  • Ads, Analytics, Bits, Charity, EventSub, Games, Goals, Guest Star, Hype Train, Raids, Schedule, Search, Subscriptions, Teams, Users, Videos, Whispers

Usage Examples

Ask Claude Code:

  • "Send a chat message saying hello"
  • "Create a poll asking what game to play next"
  • "Get the list of chatters"
  • "Start a raid to xQc"
  • "Create a clip"
  • "Update my stream title to 'Coding Session'"

Dependencies

  • twitch-sdk (API layer)
  • mcp (MCP protocol)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitch_mcp-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twitch_mcp-0.1.0-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file twitch_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: twitch_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/25.2.0

File hashes

Hashes for twitch_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2dc7a9feda37208f5a87b9d43538bf9c1790bd5c46961ee1f8096db48da355f8
MD5 b3d9242eadcdba5191f0614b51d86412
BLAKE2b-256 72effb183fe2c8d7cf8a844d5290129b1246c9cf1c7bd1f718c1c93eeadb4d1d

See more details on using hashes here.

File details

Details for the file twitch_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: twitch_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/25.2.0

File hashes

Hashes for twitch_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bab619f71de56e3000e46fb8fbcc3789fe926e53ea641c0458fad9625f3a79b1
MD5 564031e90ffaca9de6850036f71006b3
BLAKE2b-256 540cfbfe3cfa0061a2080c7ab1272c18efaf840a4f780c531e5b7a373bfa0510

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page