Observed since 20 Oct, 21:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Model Context Protocol server for generating authentic 8-bit music
Transform your AI assistant into a retro game music composer! This MCP server gives Claude, Cursor, and other AI tools the power to create authentic 8-bit chiptunes with professional audio output.
Make sure you have Node.js 18 or higher installed:
node --version
If you don't have it, download it from nodejs.org
Choose your preferred AI tool and follow the configuration:
Open Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd this configuration:
{
"mcpServers": {
"8bits-music": {
"command": "npx",
"args": ["-y", "8-bits-music-mcp"]
}
}
}
Restart Claude Desktop
Look for the 🔌 icon in Claude Desktop - you should see "8bits-music" connected!
8bits-musicnpx-y, 8-bits-music-mcpCtrl+, or Cmd+,)settings.json:{
"mcp.servers": {
"8bits-music": {
"command": "npx",
"args": ["-y", "8-bits-music-mcp"]
}
}
}
Open your AI assistant and try:
"Create a retro game theme song with a catchy melody at 140 BPM using a square wave"
"Make an 8-bit boss battle theme with drums and export it as WAV"
"Generate a calm exploration theme in C major with triangle waves"
That's it! Your AI can now compose 8-bit music! 🎉
Your AI assistant can now:
| Capability | Description | Example |
|---|---|---|
| 🎹 Create Melodies | Compose custom note sequences with any instrument | "Make a happy melody in C major" |
| 🥁 Generate Rhythms | Add drum patterns and percussion | "Add techno drums at 130 BPM" |
| 🎶 Chord Progressions | Create harmonies based on music theory | "Generate a I-V-vi-IV progression" |
| 💾 Export Audio | Save compositions as WAV or MIDI files | "Export this as game-theme.wav" |
| 🎮 Game Music Styles | Create authentic retro game soundtracks | "Make a Super Mario style theme" |
Just ask your AI assistant:
Create a simple 8-bit melody with these notes: C4, E4, G4, C5
using quarter notes and a square wave at 120 BPM
The AI will use the MCP server to generate the music and give you a track ID!
I need a retro platformer game theme:
1. Main melody with square wave
2. Bass line with triangle wave
3. Techno drums
4. Export everything as "platformer-theme.wav"
The AI will:
create_8bit_melodycreate_8bit_melody callcreate_8bit_rhythmexport_audio_compositionCreate an intense boss battle theme:
- Fast tempo (160 BPM)
- Aggressive sawtooth lead
- Heavy drum pattern
- Dark chord progression
Start with a C major scale melody, then:
1. Add a I-V-vi-IV chord progression
2. Layer some drums
3. Show me the track details
4. Export as MIDI so I can edit it
The AI handles all the technical details - you just describe what you want!
The MCP server provides these tools to your AI assistant:
Creates melodic sequences with authentic 8-bit sounds.
AI can specify:
Generates drum and percussion patterns.
Available patterns:
basic_rock - Classic rock beattechno - Electronic four-on-the-floorwaltz - 3/4 time signaturecustom - AI-designed patternsCreates chord progressions based on music theory.
Common progressions:
I-V-vi-IV - Pop/rock (C-G-Am-F)I-IV-V-I - Classic rockii-V-I - Jazz standardI-vi-IV-V - 50s progressionExports your creation to audio files.
Formats:
WAV - High quality audioMIDI - Editable in music software| Instrument | Sound | Best For | Famous Games |
|---|---|---|---|
| Square Wave | □ Bright, punchy | Lead melodies, main themes | Super Mario Bros, Mega Man |
| Triangle Wave | △ Smooth, mellow | Bass lines, gentle leads | The Legend of Zelda, Metroid |
| Sawtooth Wave | ⊿ Rich, aggressive | Power chords, intense leads | Castlevania |
| Pulse Wave | ▭ Thin, authentic NES | Arpeggios, harmonies | Final Fantasy |
| Noise | ⚡ Random, percussive | Drums, explosions, effects | All retro games |
Square Wave: The iconic "beep" sound - bright and clear
Perfect for: Main melodies, catchy hooks, Mario-style themes
Triangle Wave: Smooth and bass-heavy
Perfect for: Bass lines, underwater themes, atmospheric sounds
Sawtooth Wave: Rich in harmonics, powerful
Perfect for: Action themes, aggressive leads, rock-style music
Don't worry if you're not a musician! Here's what the AI understands:
I-V-vi-IV (Pop Magic)
Examples: "Don't Stop Believin'", "Let It Be"
Use for: Emotional, singalong themes
I-IV-V (Rock Classic)
Examples: "La Bamba", "Twist and Shout"
Use for: Upbeat, energetic themes
vi-IV-I-V (Sad Progression)
Examples: "Grenade", "Apologize"
Use for: Melancholic, emotional scenes
Windows:
npx 8-bits-music-mcp%APPDATA%\Claude\claude_desktop_config.jsonmacOS/Linux:
npx 8-bits-music-mcp~/Library/Application Support/Claude/claude_desktop_config.json (macOS)node --version (needs 18+)# Clear npm cache
npm cache clean --force
# Try installing globally first
npm install -g 8-bits-music-mcp
# Then use in config
{
"mcpServers": {
"8bits-music": {
"command": "8-bits-music-mcp"
}
}
}
The package is updating. Wait a few minutes and try:
npx clear-npx-cache
npx 8-bits-music-mcp
{
"mcpServers": {
"8bits-music": {
"command": "npx",
"args": ["8-bits-music-mcp@1.0.4"]
}
}
}
# Install globally
npm install -g 8-bits-music-mcp
# Use in config
{
"mcpServers": {
"8bits-music": {
"command": "8-bits-music-mcp"
}
}
}
{
"mcpServers": {
"8bits-music": {
"command": "npx",
"args": ["-y", "8-bits-music-mcp"],
"env": {
"NODE_ENV": "production",
"OUTPUT_DIR": "/path/to/music/folder"
}
}
}
}
# Clone the repository
git clone https://github.com/ZwitterKaneda/8-bits-music-mcp.git
cd 8-bits-music-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Test locally
node packages/mcp-server/dist/server.js
8-bits-music-mcp/
├── packages/
│ ├── mcp-server/ # MCP protocol implementation
│ └── audio-engine/ # 8-bit audio synthesis
├── examples/ # Usage examples
└── docs/ # Full documentation
Full API docs available at: API Reference
We welcome contributions! Here's how:
git checkout -b feature/amazing-featurenpm testgit commit -m 'Add amazing feature'git push origin feature/amazing-feature
Q: Do I need to install anything besides Node.js?
A: Nope! Just Node.js 18+ and the npx command (comes with Node.js).
Q: Can I use this commercially?
A: Yes! MIT License allows commercial use.
Q: Does it work on Linux/Mac/Windows?
A: Yes, all platforms with Node.js 18+ are supported.
Q: Can I export to MP3?
A: Currently only WAV and MIDI. Use external tools like FFmpeg to convert WAV to MP3.
Q: How do I make the AI create specific styles?
A: Just describe what you want! Try: "Create a Mega Man style boss theme" or "Make a Zelda dungeon atmosphere"
Q: Can I edit the exported files?
A: Yes! Export as MIDI to edit in any DAW (Ableton, FL Studio, Logic, etc.)
Q: Is internet required?
A: Only for the first install. After that, it works offline.
MIT License - see LICENSE file for details.
TL;DR: Use it however you want, commercially or personally. No restrictions!
Daniel Díaz (@ZwitterKaneda)
Add this to your AI assistant and start composing retro game music in seconds!
{
"mcpServers": {
"8bits-music": {
"command": "npx",
"args": ["-y", "8-bits-music-mcp"]
}
}
}
Get Started Now • Report Bug • Request Feature
Made with ❤️ and lots of ☕ by the 8-bits-music-mcp team
Happy chiptune composing! 🎵🎮
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 21:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:008efc10b2dde1b6d1095814699ea4bcb2d13971c4b1570a3b5e04d0c02d408b