Media
Enter a melodic contour as scale degrees (1-7 or do-re-mi) plus a target key, and get candidate diatonic chord progressions ranked by voice-leading smoothness, with roman-numeral analysis and an audio demo.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/youtube-music-chord-finder' \
-H 'Content-Type: application/json' \
-d '{"melody":"1 3 5","tonic":"C","mode":"major","topN":6,"tempo":96}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/youtube-music-chord-finder| Name | Type | Required | Description |
|---|---|---|---|
| melody | text | Yes | — |
| tonic | select | Yes | — |
| mode | select | Yes | — |
| topN | number | Yes | — |
| tempo | number | No | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-youtube-music-chord-finder": {
"name": "youtube-music-chord-finder",
"description": "Enter a melodic contour as scale degrees (1-7 or do-re-mi) plus a target key, and get candidate diatonic chord progressions ranked by voice-leading smoothness, with roman-numeral analysis and an audio demo.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=youtube-music-chord-finder",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "youtube-music-chord-finder",
"arguments": {
"melody": "1 3 5",
"tonic": "C",
"mode": "major",
"topN": 6,
"tempo": 96
}
}
}Questions or issues? Contact [email protected]
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}