Enables large language models to compose, play, and render music natively on macOS.
Riff functions as a native macOS application that serves as an MCP server, empowering large language models (LLMs) to interact with and generate musical compositions. It seamlessly handles the MCP stdio protocol by routing it to an embedded HTTP server, utilizing a custom JSON-based music sequence format for communication. Users can prompt LLMs to create multi-track music, which Riff then plays back using a high-quality soundfont, and it can also provide basic sheet music visualizations. The application includes a user interface for monitoring MCP activity, editing JSON, and viewing a piano roll.
Key Features
01Supports basic sheet music rendering
02Defines a JSON-based music sequence format for LLM interaction
03Operates as a local MCP server running as a macOS app
04Plays multi-track music using a high-quality soundfont
050 GitHub stars
06Handles MCP stdio protocol routed to a built-in HTTP server
Use Cases
01Displaying sheet music for LLM-generated compositions
02Composing and playing melodies (e.g., happy or sad) via LLM prompts
03Generating complex musical pieces like jazz progressions or scales with varying tempo