JS AI Jam Sessions
MCP Server

AI Jam Sessions. Machine learning the old fashioned way.

An MCP server that teaches AI to play piano and guitar — and sing. 120 songs across 12 genres. Six sound engines. Interactive guitar tablature. A browser cockpit with vocal synthesizer. A practice journal that remembers everything.

Install

npm install -g @mcptoolshop/ai-jam-sessions

Play

ai-jam-sessions play fur-elise --engine piano --speed 0.7

Sing

ai-jam-sessions sing imagine --with-piano

What makes it tick

Five senses for a model that has none.

Reading

Real MIDI sheet music with deep musical annotations — parsed, analyzed, and explained. Not hand-written approximations.

Hearing

Six audio engines play through your speakers so the humans in the room become the AI's ears.

Seeing

Piano roll renders as SVG the model can read back. Interactive guitar tablature. Browser cockpit with visual keyboard.

Remembering

Practice journal persists across sessions. Next time, the AI reads its journal and picks up where it left off.

Singing

Vocal tract synthesis with 20 voice presets. Sing-along mode with solfege, contour, and syllable narration.

31 MCP Tools

Learn, play, sing, build — browse songs, play at any speed, render piano rolls, write annotations, and journal reflections.

Quick start

Install globally

npm install -g @mcptoolshop/ai-jam-sessions

Claude Desktop config

{
  "mcpServers": {
    "ai_jam_sessions": {
      "command": "npx",
      "args": [
        "-y", "-p",
        "@mcptoolshop/ai-jam-sessions",
        "ai-jam-sessions-mcp"
      ]
    }
  }
}

Play a song

# Play Fur Elise at 70% speed
ai-jam-sessions play fur-elise --speed 0.7

# View piano roll as SVG
ai-jam-sessions view autumn-leaves --measures 1-16

# Sing along with piano
ai-jam-sessions sing imagine --with-piano

Guitar tablature

# View interactive guitar tab
ai-jam-sessions view-guitar greensleeves

# List tunings and voices
ai-jam-sessions list --genre folk

Sound engines

Six engines plus a layered combinator that runs any two simultaneously.

Engine
Type
Character
Oscillator Piano
Additive synthesis
Multi-harmonic piano with hammer noise, 48-voice polyphony, stereo imaging
Sample Piano
WAV playback
Salamander Grand Piano — 480 samples, 16 velocity layers, 88 keys
Vocal (Sample)
Pitch-shifted samples
Sustained vowel tones with portamento and legato mode
Vocal Tract
Physical model
LF glottal waveform through 44-cell digital waveguide. Soprano, alto, tenor, bass
Vocal Synth
Additive synthesis
15 Kokoro voice presets with formant shaping, breathiness, vibrato
Guitar
Additive synthesis
Physically-modeled plucked string — 4 presets, 8 tunings, 17 tunable parameters
Layered
Combinator
Wraps two engines, dispatches every MIDI event to both

Song library

120 songs across 12 genres. Each genre has a deeply annotated exemplar.

Genre
Exemplar
Key
Teaches
Blues
The Thrill Is Gone
B minor
Minor blues form, call-and-response
Classical
Fur Elise
A minor
Rondo form, touch differentiation
Film
Comptine d'un autre ete
E minor
Arpeggiated textures, dynamic architecture
Folk
Greensleeves
E minor
3/4 waltz feel, modal mixture
Jazz
Autumn Leaves
G minor
ii-V-I progressions, swing eighths
Latin
The Girl from Ipanema
F major
Bossa nova rhythm, chromatic modulation
New-Age
River Flows in You
A major
I-V-vi-IV recognition, flowing arpeggios
Pop
Imagine
C major
Arpeggiated accompaniment, restraint
Ragtime
The Entertainer
C major
Oom-pah bass, syncopation
R&B
Superstition
Eb minor
16th-note funk, percussive keyboard
Rock
Your Song
Eb major
Piano ballad voice-leading
Soul
Lean on Me
C major
Diatonic melody, gospel accompaniment

MCP tools

31 tools across four categories: Learn, Play, Sing, and Build.

Tool
Category
Description
`list_songs`
Learn
Browse by genre, difficulty, or keyword
`song_info`
Learn
Full musical analysis — structure, key moments, teaching goals
`suggest_song`
Learn
Recommendation based on genre, difficulty, and play history
`practice_setup`
Learn
Recommended speed, mode, voice settings for a song
`play_song`
Play
Play through speakers — any engine, speed, mode, measure range
`view_piano_roll`
Play
Render as SVG (hand color or pitch-class chromatic rainbow)
`sing_along`
Sing
Singable text — note-names, solfege, contour, or syllables
`view_guitar_tab`
Guitar
Render interactive guitar tablature as HTML
`tune_guitar`
Guitar
Adjust any parameter of any guitar voice
`annotate_song`
Build
Write musical language for a raw song and promote it
`save_practice_note`
Build
Journal entry with auto-captured session data
`tune_keyboard`
Build
Adjust any parameter of any keyboard voice