Mureka
officialgenerate lyrics, song and background music(instrumental)
What can you do with Mureka MCP?
- Generate song lyrics — Ask the AI to create original lyrics on a theme you specify, such as Christmas or a birthday, using
generate_lyrics. - Compose a full song with vocals — Request a complete song from a prompt or from previously generated lyrics via
generate_song. - Create instrumental background music — Generate BGM suited to a setting like a coffee shop with
generate_bgm. - Configure generation timeout — Adjust how long the server waits for song or BGM completion by setting
TIME_OUT_SECONDS.
Documentation
Official Mureka Model Context Protocol (MCP) server that enables interaction with powerful lyrics, song and bgm generating APIs. This server allows MCP clients like Claude Desktop, OpenAI Agents and others to generate lyrics, song and background music(instrumental).
Quickstart with Claude Desktop
- Get your API key from Mureka.
- Install
uv(Python package manager), install withcurl -LsSf https://astral.sh/uv/install.sh | shor see theuvrepo for additional install methods. - Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"Mureka": {
"command": "uvx",
"args": [
"mureka-mcp"
],
"env": {
"MUREKA_API_KEY": "<insert-your-api-key-here>",
"MUREKA_API_URL": "https://api.mureka.ai",
"TIME_OUT_SECONDS":"300"
}
}
}
}
Then restart the Claude app and see 4 MCP tools available in the window, indicating successful loading
Optional features
You can add the TIME_OUT_SECONDS environment variable to the claude_desktop_config.json to set the timeout period for song or bgm generation waiting(Default 60s).
Example usage
⚠️ Warning: Mureka credits are needed to use these tools. Try asking Claude:
- "Please create a song for my daughter Jessica to wish her a happy birthday and play it"
- "Please generate lyrics about Christmas"
- "Please generate a song based on the lyrics just now"
- "Please generate background music suitable for playing in the coffee shop"
Troubleshooting
Logs when running with Claude Desktop can be found at:
- Windows:
%APPDATA%\Claude\logs\mcp-server-Mureka.log - macOS:
~/Library/Logs/Claude/mcp-server-Mureka.log
Quickstart with Openai agents sdk
Install Agents SDK
pip install openai-agents
Run example: openapi_agents_example/main.py
Key is required to be filled in:
MUREKA_API_KEY = "<insert-your-api-key-here>"
After running, you can see the composition process in the console
