# Use your music analysis in Claude, ChatGPT or Cursor

> Your tracks are analysed in the AIMusicAnalyzer.org page, on your device. The AIMusicAnalyzer.org MCP server lets your assistant quote AI extras, work out which keys mix with a key, and read the song sections and timed lyrics of extras you already ran.

Server URL (Streamable HTTP): `https://aimusicanalyzer.org/mcp`

## Connect your assistant

### Claude

Open Settings → Connectors in claude.ai or Claude Desktop, choose Add custom connector, call it AIMusicAnalyzer.org and paste the URL. Then press Connect and allow access.

```
https://aimusicanalyzer.org/mcp
```

### Claude Code

Paste this into a terminal. Inside Claude Code, type /mcp and choose the server to finish signing in.

```
claude mcp add --transport http aimusicanalyzer-org https://aimusicanalyzer.org/mcp
```

### ChatGPT

Turn on developer mode under Settings → Apps & Connectors → Advanced in ChatGPT, then create a connector from this URL with OAuth as the sign-in type.

```
https://aimusicanalyzer.org/mcp
```

### Codex

Put the block in ~/.codex/config.toml and sign in by running codex mcp login aimusicanalyzer-org.

```
[mcp_servers.aimusicanalyzer-org]
url = "https://aimusicanalyzer.org/mcp"
```

### Cursor

Put the server in ~/.cursor/mcp.json, or add it under Settings → MCP → Add new server. A Login button appears next to it.

```
{
  "mcpServers": {
    "aimusicanalyzer-org": {
      "url": "https://aimusicanalyzer.org/mcp"
    }
  }
}
```

### VS Code

Save this as .vscode/mcp.json in the workspace, or use the MCP: Add Server command. The sign-in prompt shows up the first time a tool runs.

```
{
  "servers": {
    "aimusicanalyzer-org": {
      "type": "http",
      "url": "https://aimusicanalyzer.org/mcp"
    }
  }
}
```

### Windsurf

Put it in ~/.codeium/windsurf/mcp_config.json, then refresh Cascade's MCP panel.

```
{
  "mcpServers": {
    "aimusicanalyzer-org": {
      "serverUrl": "https://aimusicanalyzer.org/mcp"
    }
  }
}
```

A browser tab opens on AIMusicAnalyzer.org: sign in, or make a free account, and press Allow access. The assistant never sees your password, and there is no API key to paste.

## Approving access to your AI extras

1. The assistant contacts the server first and gets a 401 reply that names our OAuth metadata.
2. It then registers (through a Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page for you.
3. On AIMusicAnalyzer.org you sign in and approve this single app on the consent screen.
4. The assistant receives a token that works for https://aimusicanalyzer.org/mcp alone; it refreshes by itself and you can revoke it whenever you like.

## Signing in without an API key

API keys are not offered: each assistant signs in through OAuth, and that works in Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf.

## What your assistant can do

- `list_prices`: What each AI extra costs in credits (song sections, practice stems, timed lyrics) and the track limits.
- `quote_extra`: The credits an AI extra costs on a track of a given length. Charges nothing.
- `compatible_keys`: The Camelot and Open Key codes of a key, and the keys that mix with it.
- `list_extras`: Your AI extras, newest first, with the status of each.
- `get_extra`: One AI extra: its section timeline or timed lyric lines once done. Stems play on the site only.
- `get_credits`: Your credit balance, your plan and how many AI extras may run at the same time.

Every tool is free and spends no credits. New analyses and AI extras start in the analyzer page, which sends a track only after you confirm your rights.

## Troubleshooting

- Stuck at 'needs authentication': delete the server and add it back, which makes the assistant redo the OAuth sign-in.
- “Not enough credits” in the page: call get_credits, then add credits on the pricing page. You were not charged.
- An extra still “processing”: most finish within a couple of minutes. Have the assistant run get_extra once more.
- A 401 with an sk_ key: there are no API keys on this site. Drop the header and use the OAuth sign-in.

## Your music analysis over MCP: common questions

### Does the MCP server cost extra?

No. Connecting and every tool are free. AI extras cost the same credits as in the analyzer, and they start there.

### What can my assistant do?

It can list prices and quote an extra, find the keys that mix with a key, list your AI extras and read the sections or lyrics of finished ones.

### Can my assistant download my stems?

No. Stems are for practice on the site: they play there with mute and solo, and are never handed out as files.

### Can my assistant analyse a new track?

No. The analysis runs in your browser on the AIMusicAnalyzer.org page, so a new track starts there; AI extras send it only after you confirm your rights.

### 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.

### How long are results kept, and where do I find them?

AI extras are kept for 7 days and listed on your AI extras page in Settings.


---

Source: https://aimusicanalyzer.org/mcp-server · Site index for AI agents: https://aimusicanalyzer.org/llms.txt · Full content: https://aimusicanalyzer.org/llms-full.txt
