Model Context Protocol
Audio to MIDI from Claude, ChatGPT or Cursor
The AudioToMIDI.dev MCP server lets your AI assistant list the audio you uploaded, start a piano or melody conversion with your credits, and read back the notes or the .mid link. It comes with the Session Desk plan.
Server URL (Streamable HTTP)
https://audiotomidi.dev/mcp
What your assistant can do
list_prices- What each server job costs in credits, and the limits.
list_audio- The audio files you uploaded, newest first, with their ids and lengths.
audio_to_midi- Start a piano (90 credits per minute) or melody (8 credits per file) conversion of one uploaded file. The only tool that spends credits.
get_job- Status of one conversion; once done, the notes as text and the .mid download link.
list_jobs- Your recent server jobs, newest first, with the status of each.
get_credits- Your credit balance and plan, and whether the API is included.
Reading is free. audio_to_midi spends credits, and a failed job is refunded automatically. Uploaded audio and results are deleted after 7 days.See credit prices
Connect your assistant
Choose your assistant, copy its snippet, and approve the sign-in window that opens.
Open Settings → Connectors in claude.ai or Claude Desktop, choose Add custom connector, call it AudioToMIDI.dev and paste the URL. Claude opens the sign-in window.
https://audiotomidi.dev/mcp
A browser tab opens on AudioToMIDI.dev: sign in and press Allow access. The assistant never sees your password, and you can disconnect it at any time.
How the sign-in works
- The assistant contacts the server first and gets a 401 reply that names our OAuth metadata.
- It then registers (through a Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
- On AudioToMIDI.dev you sign in and approve this single app on the consent screen.
- The assistant receives a token that works for https://audiotomidi.dev/mcp alone; it refreshes by itself and you can revoke it whenever you like.
Clients without OAuth: an API key
If your client cannot run the OAuth sign-in, create a Session Desk API key and send it as a bearer header. Keep the key secret, like a password; you can revoke it in Settings.
{
"mcpServers": {
"audiotomidi-dev": {
"url": "https://audiotomidi.dev/ mcp",
"headers": {
"Authorization": "Bearer <your API key>"
}
}
}
}Audio to MIDI over MCP: common questions
Does the MCP server cost extra?
No. It comes with the Session Desk plan. Conversions spend the same credits as on the site: 90 per minute for piano, 8 per file for melody.
What can my assistant do?
List your uploaded audio, start a piano or melody conversion, check its status and read back the notes with pitch, start, end and velocity, plus the .mid link.
Can it read a file from my computer?
No. Upload the audio first with the HTTP API (a 16-bit WAV); the assistant then finds it with list_audio.
What happens if a job fails or my balance is too low?
A failed job is refunded on its own. With too few credits the tool says so and charges nothing.
My client keeps asking me to sign in. What do I do?
Delete the server in your assistant and add it back; that starts a new sign-in. Clients without OAuth can send an API key instead.
How long are results kept?
Uploaded audio and MIDI are kept for 7 days, then deleted. Your jobs are listed in Settings until then.
Last updated: