Skip to Content
Riffalo

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

  1. In Riffalo, open Settings and find Agents.
  2. 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/mcp

For Codex:

codex mcp add riffalo --url http://localhost:36900/mcp

Connect 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

ToolWhat it does
list_tabsList the tabs in the library.
get_tabA tab's details: its tracks, sections and tempo, recordings with their sync, lyrics, and where its files are.
read_notesRead 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_notesChange 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_barsAdd 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_barsRemove bars from every track, starting at a bar. Sync points and lyrics move with their bars.
undo_notesUndo the last change to a tab's notes or bars, whoever made it.
redo_notesBring back the change that was last undone.
import_tabAdd a tab file to the library. The title and artist come from the file unless given.
create_empty_tabAdd an empty tab to write notes in.
update_tabChange a tab's title, artist or favourite star.
delete_tabDelete a tab. Its files move to the “deleted” folder in the library.
replace_tab_fileReplace a tab's notes with another file. Recordings and settings stay, and the old file is kept next to the new one.
open_tab_fileOpen a tab's file in another app, or show it in its folder.
set_lyricsSet the lyrics shown above the notes. Each line covers a few bars; an empty line leaves a gap. Empty text removes them.

Recordings

ToolWhat it does
add_recordingAdd a YouTube video or an audio file to play along with. Then use auto_sync to line it up.
sync_recordingLine 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_recordingRemove a recording. An audio file is deleted from the library for good.
separate_recordingSplit an audio recording into bass, drums and guitar, or remove one of them. Takes minutes; follow it with get_separation.
get_separationProgress of separating a recording.
cancel_separationStop separating a recording.

Player

ToolWhat it does
open_pageShow a page in the Riffalo window. Open a tab's player before using the other player tools.
get_playerWhat the player is doing: position, sound, speed, practice range, and the sounds and tracks to choose from.
playStart playing. Continues from the current position unless told otherwise.
pausePause playing.
moveMove to a bar, or by a number of bars, without starting or stopping.
set_playerChange how the open tab plays. Only the given values change.
auto_syncLine a recording up with the open tab by listening to it, and save the result. Nobody has to say where the bars are.
set_trackShow a track's notes, or change how it sounds. Mute, solo and volume apply to the synth.

Settings

ToolWhat it does
get_settingsRead the app's settings.
change_settingsChange the app's settings. Only the given values change. An open tab is drawn again and stops playing.
backup_settingsSave a copy of the settings, replacing the last one.
restore_settingsReplace the settings with the saved copy, or with the defaults.
check_for_updatesLook for a newer Riffalo, which then downloads by itself.
restart_to_updateRestart Riffalo to finish an update that is ready.

On this page