melrōse is a tool to create and play music by programming melodies. It uses a custom language to compose notes and create loops and tracks to play. melrose-mcp is an MCP server (STDIO) that uses the packages from the melrōse tool. This mcp server requires the Go SDK for installation. To produce music, you need to setup a MIDI receiver such as a DAW or a hardware synthesizer. go install github.com/
Add this skill
npx mdskills install emicklei/melrose-mcpEnables musical composition via Melrose language with clear setup and excellent example-driven docs
melrōse is a tool to create and play music by programming melodies. It uses a custom language to compose notes and create loops and tracks to play.
melrose-mcp is an MCP server (STDIO) that uses the packages from the melrōse tool.
This mcp server requires the Go SDK for installation. To produce music, you need to setup a MIDI receiver such as a DAW or a hardware synthesizer.
go install github.com/emicklei/melrose-mcp@latest
change the tempo in melrose to a lower value
melrose_bmp request:
{
`bpm`: `80`
}
llm response:
I've reduced the tempo to 80 beats per minute from the default of 120 BPM. This creates a more relaxed and slower pace for any musical expressions we play.
play a tune from Claude Debussy
llm response:
I'll create a small segment inspired by Claude Debussy's impressionist style using the Melrose language at our current tempo of 80 BPM.
melrose_play request:
{
`expression`: `sequence('(F4 A4 D5) 4(F4 A4 D5) (G4 B4 E5) 4(G4 B4 E5) (A4 C5 F5) 4(A4 C5 F5) (G4 B4 E5) 4(G4 B4 E5) (F4 A4 D5) 8= 8(E4 G4 C5) 4(F4 A4 D5)')`
}
melrose_play response:
12.749963417s
Below an example to configure it in Claude Desktop.
{
"mcpServers": {
"melrōse": {
"command": "/melrose-mcp",
"args": []
}
}
}
To help your LLM understand the Melrōse language better, you can use this context.
Fixes, suggestions, documentation improvements are all welcome. Fork this project and submit small Pull requests. Discuss larger ones in the Issues list. You can also sponsor Melrōse via Github Sponsors.
Software is licensed under MIT. © 2025 ernestmicklei.com
Install via CLI
npx mdskills install emicklei/melrose-mcpMelrose MCP is a free, open-source AI agent skill. melrōse is a tool to create and play music by programming melodies. It uses a custom language to compose notes and create loops and tracks to play. melrose-mcp is an MCP server (STDIO) that uses the packages from the melrōse tool. This mcp server requires the Go SDK for installation. To produce music, you need to setup a MIDI receiver such as a DAW or a hardware synthesizer. go install github.com/
Install Melrose MCP with a single command:
npx mdskills install emicklei/melrose-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
Melrose MCP works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.