Use Riffalo with agents
Let Claude and other agents on your computer play, practise and organise your tabs.
While Riffalo is open, agents on the same computer can do everything you can do in it. You see and hear what they do in the Riffalo window.
Try asking:
- Loop the chorus of Yellow at 70%.
- Add this YouTube video to the song. Bar 1 starts at 2.2 seconds.
- Which of my tabs are in drop D?
Connect Claude Code or Codex
- In Riffalo, open Settings and find Agents.
- Copy the command for your agent and run it once in a terminal.
For Claude Code:
claude mcp add --scope user --transport http riffalo http://localhost:36900/mcpFor Codex:
codex mcp add riffalo --url http://localhost:36900/mcpConnect another agent
Riffalo is an MCP server that uses streamable HTTP. Give your agent the MCP Address from Settings, normally http://localhost:36900/mcp. If another program is using that port, Riffalo takes the next free one.
Any program on your computer can connect
There's no password, so a program on your computer can also change or delete tabs. Websites and other computers can't connect.
What agents can do
Library
| Tool | What it does |
|---|---|
list_tabs | List the tabs in the library. |
get_tab | A tab's details: its tracks, sections and tempo, recordings with their sync, lyrics, and where its files are. |
read_notes | Read the notes of one track, up to 32 bars at a time. Each beat is its length, then its notes joined by +. Guitar and bass notes are string/fret, with string 1 the highest. Piano and others are pitches such as C4; a piano's left hand is staff 1. Drums are names: kick, snare, sidestick, hihat, openhat, pedalhat, tom1, tom2, tom3, tom4, floortom, ride, bell, crash, crash2, splash, china, cowbell, kick2, or p and a MIDI number. After a note, in this order: ~ tied to the one before, x muted, b1 bent up a whole tone (b0.5 a half, b1r and back down), h hammer-on or pull-off to the next note, s slide to the next note, l slide without picking it. |
write_notes | Change the notes of one track. Give whole bars as read_notes writes them, one line each, such as "5: 1/4 6/3, 1/8 rest, 1/8 5/2+4/2, 1/2 6/3". Bars you leave out stay as they are, and a bar just past the end is added. Each bar has to add up to its time signature. |
insert_bars | Add empty bars before a bar, in every track. Use the number after the last bar to add them at the end. Sync points and lyrics move with their bars. |
delete_bars | Remove bars from every track, starting at a bar. Sync points and lyrics move with their bars. |
undo_notes | Undo the last change to a tab's notes or bars, whoever made it. |
redo_notes | Bring back the change that was last undone. |
import_tab | Add a tab file to the library. The title and artist come from the file unless given. |
create_empty_tab | Add an empty tab to write notes in. |
update_tab | Change a tab's title, artist or favourite star. |
delete_tab | Delete a tab. Its files move to the “deleted” folder in the library. |
replace_tab_file | Replace a tab's notes with another file. Recordings and settings stay, and the old file is kept next to the new one. |
open_tab_file | Open a tab's file in another app, or show it in its folder. |
set_lyrics | Set the lyrics shown above the notes. Each line covers a few bars; an empty line leaves a gap. Empty text removes them. |
Recordings
| Tool | What it does |
|---|---|
add_recording | Add a YouTube video or an audio file to play along with. Then use auto_sync to line it up. |
sync_recording | Line a recording up with the tab by hand; auto_sync does it by listening. barOneAt moves the whole recording and keeps any sync points; points replaces them, for songs whose tempo drifts; null goes back to a simple offset. |
remove_recording | Remove a recording. An audio file is deleted from the library for good. |
separate_recording | Split an audio recording into bass, drums and guitar, or remove one of them. Takes minutes; follow it with get_separation. |
get_separation | Progress of separating a recording. |
cancel_separation | Stop separating a recording. |
Player
| Tool | What it does |
|---|---|
open_page | Show a page in the Riffalo window. Open a tab's player before using the other player tools. |
get_player | What the player is doing: position, sound, speed, practice range, and the sounds and tracks to choose from. |
play | Start playing. Continues from the current position unless told otherwise. |
pause | Pause playing. |
move | Move to a bar, or by a number of bars, without starting or stopping. |
set_player | Change how the open tab plays. Only the given values change. |
auto_sync | Line a recording up with the open tab by listening to it, and save the result. Nobody has to say where the bars are. |
set_track | Show a track's notes, or change how it sounds. Mute, solo and volume apply to the synth. |
Settings
| Tool | What it does |
|---|---|
get_settings | Read the app's settings. |
change_settings | Change the app's settings. Only the given values change. An open tab is drawn again and stops playing. |
backup_settings | Save a copy of the settings, replacing the last one. |
restore_settings | Replace the settings with the saved copy, or with the defaults. |
check_for_updates | Look for a newer Riffalo, which then downloads by itself. |
restart_to_update | Restart Riffalo to finish an update that is ready. |