Mozart Developers

Music MCP server for songs, stems, MIDI and mastering

A music MCP server gives an AI agent like Claude tools to make and work on music through the Model Context Protocol. Mozart's music MCP server is at https://api.mozartai.com/mcp. It lets your agent write lyrics and generate songs with vocals and cover art, then split stems, turn audio into MIDI and master the result. Songs and covers use Hans 2.0.

Mozart is an AI music generator. You sign in with your Mozart account, so there is no API key to copy, and the songs land in your Mozart library.

Connect the MCP serverRead the setup guide

The MCP server signs in with your Mozart account and spends your plan's credits. Making songs needs Creator or above. The mozart CLI is coming soon. See Mozart plans.

Updated November 27, 2026

On this page

Connect the MCP server to your client

Any Mozart account can connect. Making songs needs a Mozart Creator, Pro, Premium or Enterprise plan.

SpecMozart's music MCP server
Endpointhttps://api.mozartai.com/mcp
HostingHosted remote MCP server, nothing to install
TransportHTTP
AuthenticationOAuth through your Mozart account, no API key
Music modelHans 2.0
Plan requiredAny Mozart account to connect; Creator, Pro, Premium or Enterprise to make songs

Connect your client to this address. The client opens a Mozart sign-in the first time it connects. Sign in with your Mozart account. No API key.

URL
https://api.mozartai.com/mcp

Add the Mozart MCP server to Claude

  1. In Claude or the Claude desktop app, open Customize, then Connectors.
  2. Select + Add, then Add custom connector.
  3. Name it Mozart, paste https://api.mozartai.com/mcp and select Continue.
  4. Keep the detected settings, choose Sign in now, select Add and sign in to your Mozart account.
  5. To use it in a chat, select +, then Connectors, and turn Mozart on.

Add the Mozart MCP server to ChatGPT

In ChatGPT, add a connector with https://api.mozartai.com/mcp in developer mode, then sign in to Mozart when asked.

Add the Mozart MCP server to Claude Code

  1. Run this in your terminal:
    Terminal
    claude mcp add --transport http mozart https://api.mozartai.com/mcp
  2. Run /mcp in Claude Code, choose mozart and sign in to your Mozart account.

Add the Mozart MCP server to Cursor

Add the server to ~/.cursor/mcp.json, then sign in to Mozart when asked:

JSON
{
  "mcpServers": {
    "mozart": {
      "url": "https://api.mozartai.com/mcp"
    }
  }
}

Add the Mozart MCP server to Codex

Add the server to ~/.codex/config.toml, then sign in to Mozart when asked:

TOML
[mcp_servers.mozart]
url = "https://api.mozartai.com/mcp"

Once signed in, test the connection by asking your agent to check your account with whoami, or try a prompt like "Make a 90s eurodance track about release day."

Full steps for every client are in the MCP server setup guide.

Hear sample songs from Hans 2.0

Unedited Hans 2.0 output from the prompt shown, the same model create_song uses. Each is a 30-second excerpt.

Pick a genre, read the prompt that made the song, then play it with its cover art. To make your own, connect the MCP server and ask your agent for a song in your own words.

Song generation

Unedited Hans 2.0 output from the prompt shown

PromptCover art the API made for the Pop song
Bright synth-pop, 118 BPM, female vocal, punchy drums and warm bass. A big sing-along chorus about a summer that went too fast.

Lyrics

Where did the summer go? I was right there, I should know One day you were at my door Then it was September and you don't call anymore Where did the summer go?

  • Hans 2.0
  • Pop
  • 1:33
  • 30-second excerpt
GenrePrompt
PopBright synth-pop, 118 BPM, female vocal, punchy drums and warm bass. A big sing-along chorus about a summer that went too fast.
Hip-HopWest Coast hip-hop, 94 BPM, bouncy 808 bass and crisp claps. Laid-back male rap verses about a late-night drive, with a sung hook you can hum.
R&BSlow-burn R&B, 78 BPM, Rhodes piano and deep sub bass. Silky male falsetto with stacked harmonies, about missing someone.
RockDriving alternative rock, 140 BPM, crunchy guitars and live drums. Gritty male vocal and an anthemic chorus about leaving a small town.
ElectronicMelodic house, 124 BPM, four-on-the-floor kick, plucked synth lead and airy vocal chops. A long build into a euphoric drop.
CinematicCinematic orchestral score that builds from solo piano to full strings and brass. A heroic main theme. No vocals.

Music generation MCP tools your agent gets

Each tool has a plain name your agent can read, so you can ask in your own words and the agent picks the tool.

  • create_song: Create a song from a prompt, with optional lyrics and title, or as an instrumental. Hans 2.0 picks the length. Two songs come back per request. "Make a lo-fi song with these lyrics."
  • create_cover: Restyle a song in your library, or a recording you upload, into a new genre. The melody carries over. "Turn my demo into a country song."
  • write_lyrics: Write lyrics. Returns at once, with no job to wait on. "Write a chorus about a late train."
  • create_cover_art: Create cover art for a song in your library. "Make cover art for that song."
  • separate_stems: Split a song into two stems or four. "Split that song into four stems."
  • audio_to_midi: Turn a song or an uploaded recording into MIDI. "Turn this recording into MIDI."
  • master_song: Master a song in your library. "Master that song."
  • estimate_cost: Price a request without running it. "How many credits would a song request cost?"

Library, job and account tools

GroupToolWhat it does
Librarylist_songsList songs in your Mozart library
Libraryget_songGet one song's details
Libraryupdate_songRename a song or change who can see it
Librarydelete_songDelete a song from your library
Libraryget_download_linkGet a download link for a song
Libraryget_waveformGet the loudness outline of a song
Librarycreate_upload_linkBring an audio file into Mozart
Jobsget_jobCheck one or more jobs
Jobscancel_jobCancel a job
AccountwhoamiShow the signed-in account
Accountget_limitsShow limits and how much is used
Accountlist_modelsList the models you can use
Accountget_credit_balanceShow the credit balance

Every tool's inputs, outputs and cost are in the MCP tool and API reference.

How song generation works over MCP

Ask in plain words. For example: "Make a 90s eurodance track about release day." Your agent calls create_song, checks the job with get_job and hands you "Release Day" with a download link. Behind that:

  1. Ask. Your agent calls create_song with a prompt. It can also pass lyrics, instrumental and title. Every request makes 2 songs with Hans 2.0, which picks their length and refuses duration_seconds.
  2. Get a job id. Song, cover and audio tools answer at once with a job id, so your agent is not blocked on a long call.
  3. Wait for the song. get_job waits up to 25 seconds per call and returns the files as soon as the job has succeeded.
  4. Download. Once the job has succeeded, get_download_link returns a download link for the audio file.
  5. Find it later. Each song saves privately to your Mozart library, grouped into one project per agent session. A project holds up to 100 songs.

No double charges by accident. Each paid create tool takes an idempotency key, so a retry with the same key does not start a second job. A failed job refunds its credits. Before spending, your agent can price a request with estimate_cost or pass dry_run.

Stems, MIDI and mastering for your DAW

Stems and mastering each start a job on a song in your Mozart library. Audio to MIDI also works on your own recording: bring it in first with create_upload_link, then pass its upload id.

  • Stems (separate_stems): split a song in your library into vocals and instrumental (twoStem), or into labelled stems for vocals, drums, bass and each other instrument it finds (fourStem, the default). See the stem separation API.
  • MIDI (audio_to_midi): turn a song in your library, or a recording you upload, into notes you can edit in any DAW. See the audio to MIDI API.
  • Mastering (master_song): bring a song in your library up to release loudness. See the mastering API.

Each result comes back as a link your agent hands to you.

What you can make with music MCP tools

Soundtracks for what you build in Claude Code

Ask your agent for an instrumental intro or background track for the app, game or video you are building, and get a download link without leaving the terminal.

Songs and lyrics from a chat

Draft lyrics with write_lyrics, turn them into a song with create_song and add cover art with create_cover_art in one conversation.

Stems and MIDI for producers

Split a song with separate_stems or turn a recording into MIDI with audio_to_midi, then open the files in your DAW.

MCP server limits by plan

Making songs over the MCP server is included with Creator and above and spends your plan's credits. The mozart command-line tool is coming soon. A song request costs 25 credits and returns 2 songs. A cover is 27 credits, stems are 23 credits a minute of audio, audio to MIDI is 16 credits a track and mastering is 725 credits a track. Your agent can price any request first with estimate_cost. See credit costs per operation. Daily caps count your whole account, including what you do in the Mozart app, not each client on its own.

LimitCreator and ProPremiumEnterprise
Jobs running at once101525
Stem splits per day100170330
Audio to MIDI conversions per day200330670
Masters per day5085170
Lyrics written per day5008301,700
Cover art images per day3005001,000
Download links per day2,0003,3006,700

Rates, sizes and the rest are in MCP and API rate limits. Your agent can check what is left with get_limits.

Building an app instead? Use the REST API

Every MCP tool is also a REST endpoint, so anything you try in chat maps to a REST call in your own code.

For now, each tool returns its result as JSON in the call's structuredContent; the text content only says the call is done. Read structuredContent if your client shows only text. A fuller text answer is on its way.

The REST API uses an API key, from $0.071 a song, 2 songs per request. The REST API needs an API plan (Starter, Build, Scale or Growth), from $20 a month, or prepaid API credits, and spends API credits. See the Mozart music API and pricing.

Types of music MCP servers

Music MCP servers do different jobs, and the best one depends on what you want your agent to do.

Type of music MCP serverWhat your agent can do
Music generationMake new songs, lyrics and cover art. This is what Mozart's server does (see generation tools).
Audio toolsSplit stems, turn audio into MIDI and master a track. Mozart's server does these too (see DAW tools).
Streaming and playbackSearch a catalog and control playback in a streaming app
Local libraryRead and tag the music files on your computer
Music dataLook up artists, charts and audiences
DAW controlChange notes and settings inside a DAW
Music recognitionIdentify a song from a short audio clip
Music analysisRead a song's key, tempo, sections and notes
Production music librarySearch tracks in a production music catalog
Sample librarySearch and download loops and one-shot sounds from a sample catalog
Live codingWrite and play music code in a live coding tool

Hosted remote vs local music MCP servers

Hosted remote server (like Mozart's)Local server from GitHub
Where it runsOn the provider's serversOn your own computer
How you add itPaste a web address into your clientDownload or clone the code, install it and run it
Sign-inMozart's uses OAuth with your Mozart account, no API keyOften an API key or token you set yourself
UpdatesThe provider updates itYou update it yourself

When choosing a music MCP server, check three things: what job it does (making new tracks and audio files, or controlling playback or a DAW), whether it is a hosted remote server or a local program you install from GitHub, and whether it signs in with OAuth or an API key. Mozart's is a hosted remote HTTP server with OAuth sign-in, so there is nothing to download or run.

Music MCP server FAQ

What is a music MCP server?

A music MCP server is a Model Context Protocol server whose tools make or work on music, so an agent like Claude can call them directly. Mozart's hosted music MCP server signs in with your Mozart account and has tools for songs, covers, lyrics, cover art, stems, MIDI and mastering. Some music MCP servers are local programs you download from GitHub and run on your own computer. Others, like Mozart's, are hosted remote servers you connect to with a web address and a sign-in.

What is the best music MCP server?

The best music MCP server depends on the job. Some music MCP servers search or play a streaming catalog, some manage a local music library, some identify or analyse songs, some look up music data, some search a production music or sample library, and some change notes in a DAW. For making new songs with vocals, lyrics and cover art, and then stems, MIDI and mastering, use a hosted music generation server like Mozart's. Hosted servers need no install. Local servers from GitHub run on your own computer.

How is this different from the Suno AI MCP server?

Mozart's music MCP server and the Suno MCP server are separate services. Suno announced its own Suno MCP server (beta) in release notes dated 28 Oct 2026. It is at https://api.suno.com/mcp and uses Suno accounts and Suno plan credits. Mozart's music MCP server is at https://api.mozartai.com/mcp, works in Claude, Claude Code and Codex with your Mozart account, and is not affiliated with Suno. For Suno's API status, see Does Suno have an API?.

Is the music MCP server free?

No. Any Mozart account can connect, and making songs is included with Mozart Creator, Pro, Premium and Enterprise. Your agent then spends your plan credits: a song request is 25 credits and returns 2 songs. Reads, job status and cost estimates are free, and a failed job refunds its credits. Your agent can check your balance with get_credit_balance and price a request with estimate_cost. If sign-in says you need a plan, upgrade your plan and reconnect.

Do I need to download or install anything?

No. It is a hosted remote MCP server. Add https://api.mozartai.com/mcp to your client and sign in. There is nothing to install or run locally.

What is the difference between a hosted and a local music MCP server?

A hosted music MCP server runs on the provider's servers, so you add it to your client with a web address and sign in. A local music MCP server is code you download from GitHub and run on your own computer, and you keep it updated yourself. Mozart's music MCP server is hosted at https://api.mozartai.com/mcp, so there is nothing to download or run.

Do I need an API key?

No. The MCP server signs in with OAuth through your Mozart account, and your client opens the sign-in the first time it connects. You only need an API key to call the REST API from your own code.

Is it safe to connect a music MCP server?

Mozart's MCP server signs in with OAuth through your Mozart account, so there is no API key to copy or leak. Songs save privately to your Mozart library. Every client you connect is listed under Connected apps in your Mozart account.

How do I add a music MCP server to Claude?

In Claude, open Customize, then Connectors, add a custom connector named Mozart with the address https://api.mozartai.com/mcp, and sign in to your Mozart account. Full steps are under Connect the MCP server.

Can I use it in Claude Code?

Yes. Run claude mcp add --transport http mozart https://api.mozartai.com/mcp, then run /mcp in Claude Code, choose mozart and sign in to your Mozart account.

Can I listen before the song is finished?

Not through the MCP server yet. get_job returns the song's files once the job has succeeded, and get_download_link then gives you a download link.

Where do my songs go?

Songs save privately to your Mozart library, grouped into one project per agent session. Your agent can also fetch a download link with get_download_link.

What can't Mozart's music MCP server do?

Mozart's server makes new music and hands back files. It doesn't edit songs, make music videos, play music in Spotify or other streaming apps, or control a DAW directly. Stems and MIDI come back as files you open in your DAW.

What is MCP?

MCP, the Model Context Protocol, is an open standard that lets AI agents like Claude call tools on other services.

Connect your agent to Mozart

Connect the MCP serverRead the setup guide

The MCP server signs in with your Mozart account and spends your plan's credits. Making songs needs Creator or above. The mozart CLI is coming soon. Plans, credits, refunds and what you may do with the songs are set out in the Terms of Service.

Claude and Claude Code are trademarks of Anthropic. ChatGPT and Codex are trademarks of OpenAI. Cursor is a trademark of Anysphere. Mozart is not affiliated with or endorsed by these companies.