THIRI Chord Intelligence — Music Theory MCP Server
The THIRI Chord Intelligence server is a deterministic music theory engine providing the following capabilities:
Analyze chords (
analyze_chord): Parse any chord symbol (e.g.Dm7b5,G7#11) into its root, quality, intervals, and extensions. When a key is provided, returns the Roman numeral, scale degree, harmonic function (e.g. secondary dominants, modal interchange), and whether the chord is diatonic.Resolve chords to notes (
resolve_chord): Convert a chord symbol into enharmonically correct spelled note names, frequencies in Hz, MIDI numbers, and recommended improvisation scales.Generate instrument-ready voicings (
generate_voicing): Produce voicings in multiple styles — rootless, shell, triad, pad, guide-tones, drop-2, drop-3, Bill Evans, and more. Supports explicit tension/color preferences (b9, #11, b13, etc.), octave and density control, and voice-leading scoring by passing in the previous voicing.Reharmonize progressions (
reharmonize): Apply jazz reharmonization techniques including tritone substitution, ii-V insertion, modal interchange, diminished passing chords, secondary dominants, chain of dominants, Coltrane changes, and backdoor dominants — or useautoto get every applicable technique at once, each with an explanation.Conduct a band (
conduct_band): Generate musical lanes and MIDI data from natural-language band direction descriptions, suitable for further audio rendering.
Provides correct chord charts and music theory analysis for outputs from Suno or similar generative music platforms, enabling reliable chord labeling and reharmonization.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
🎷 THIRI Chord Intelligence — MCP Server
Give your AI real music theory. THIRI is the deterministic music theory MCP server + API for AI builders — it lets Claude, Cursor, or any MCP agent analyze chords, run roman-numeral analysis, generate voicings, and reharmonize progressions with answers that are computed, not guessed.
LLMs hallucinate music theory: wrong notes, fake roman numerals, voicings that don't voice-lead. THIRI is a deterministic engine (pitch-class-set theory over ℤ/12) behind a hosted API — so C7sus4 keeps its suspension, Caug spells C E G#, and "Coltrane changes on Dm7 G7 Cmaj7" returns Cmaj7 Ab7 Abmaj7 E7, every time.
Downstream of Suno / Udio or any generator? Wrap the output and get a correct chord chart your agent can trust. And unlike tonal.js or music21, THIRI is hosted and agent-native (no install, any language) — and it reharmonizes and voice-leads, not just looks chords up.
⭐ If this is useful, star the repo — it helps other musicians and agent builders find it.
👥 Join the AI Music Builders: Want elevated rate limits, direct founder support, and early access to upcoming tools? Join our developer community on Skool — T.H.I.R.I. Builders.
Musicians: 2-minute setup (no code)
Get a free key at build.thiri.ai/keys
In Claude: Settings → Connectors → Add custom connector → URL
https://mcp.thiri.ai/mcp→ paste yoursk_live_keyAsk Claude: "Reharmonize Dm7 G7 Cmaj7 with Coltrane changes."
That's it — no install, no config file. Builders: full install options (Claude Code, Desktop config, raw HTTP) are below.
Related MCP server: Music MCP
What you can ask
"Analyze Dm7b5 in C." →
iiø7, half-diminished, borrowed predominant, + scale options "What notes are in C7sus4?" →C F G Bb(the suspension survives) "Give me a rootless Cmaj7 voicing, then voice-lead into Dm7." → voicings + a voice-leading score "Reharmonize Dm7 G7 Cmaj7 with Coltrane changes." →Cmaj7 Ab7 Abmaj7 E7
Tools
Tool | What it does |
| Chord → root, quality, intervals, roman numeral & harmonic function (secondary dominants, modal-interchange labels) |
| Chord → spelled notes (enharmonically correct), frequencies, MIDI, scale recommendations |
| Instrument-ready voicings (rootless/bill_evans, shell, triad, pad, guide-tones, drop-2/3); pass |
| Progression reharmonization — 8 techniques: |
| Natural-language band conduct → lanes + MIDI (hosted MCP v0.3+) |
Runs on the v2 grid engine — correct sus chords, real triads, enharmonic spelling, all altered dominants — with request timeouts, quota reporting, and structured errors.
Conductor & composition companions (Desktop only)
For hear-it agent loops (conduct → server-side render → WAV through your speakers), add a second local server alongside hosted theory tools:
{
"mcpServers": {
"thiri": {
"command": "npx",
"args": ["-y", "@bluesprincemedia/thiri-mcp"],
"env": { "THIRI_API_KEY": "sk_live_your_key" }
},
"thiri-conductor": {
"command": "npx",
"args": ["-y", "@bluesprincemedia/thiri-mcp", "thiri-conductor-mcp"],
"env": { "THIRI_API_KEY": "sk_live_your_key" }
},
"thiri-composition": {
"command": "npx",
"args": ["-y", "@bluesprincemedia/thiri-mcp", "thiri-composition-mcp"]
}
}
}Bin | Tools |
|
|
| Composition IR tools + |
Rendering runs server-side as of v0.5.0 — no Csound install needed. Proof: npm run test:conductor · live docs: build.thiri.ai/lab/conductor-mcp · agent recipes.
Conductor Agent (vibe compose)
End-to-end persona for local vibe composition — skill, CLI, and Band dashboard panel:
Entry | Command / path |
Cursor skill | Copy |
CLI |
|
Dashboard |
|
Lab proof |
Dual MCP config above + mapConductResultToStudioModules after each conduct_band. Last CLI render writes ~/.thiri/conductor-last.json (local only, not committed).
Flagship agent recipe (analyze → conduct → render → critique)
Paste in order after dual MCP config above:
Analyze — "Analyze Dm7 G7 Cmaj7 in key C with analyze_chord; summarize roman numerals and tension."
Conduct — "conduct_band: warm Rhodes pad, walking bass, brush drums, 8 bars medium swing in C."
Render — "render_audio from the conduct result at tempo 120."
Critique — "play_audio; critique voice-leading and register balance; suggest one revision."
Full prompts: build.thiri.ai/lab/agent-recipes
Hosted vs local boundary
Surface | Audio render |
| No — theory + |
Local | Yes — WAV rendered server-side ( |
Install
Get a free key at build.thiri.ai/keys, then pick a path:
Claude Desktop / web / mobile — hosted (one-click custom connector, nothing to install):
Settings → Connectors → Add custom connector → URL https://mcp.thiri.ai/mcp → paste your sk_live_ key on the consent page. Same 5 tools, same key, same quota — no config file, no npx.
Claude Code (one line):
claude mcp add thiri --env THIRI_API_KEY=sk_live_your_key -- npx -y @bluesprincemedia/thiri-mcpClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"thiri": {
"command": "npx",
"args": ["-y", "@bluesprincemedia/thiri-mcp"],
"env": { "THIRI_API_KEY": "sk_live_your_key" }
}
}
}Prefer raw HTTP? (no MCP needed)
The same engine is a plain REST API:
curl -X POST https://chords.thiri.ai/v2/analyze \
-H "Authorization: Bearer YOUR_KEY" -H "content-type: application/json" \
-d '{"chord":"Dm7b5","key":"C"}'Five endpoints: /v2/analyze, /v2/resolve, /v2/voicing, /v2/reharmonize, /v2/conduct. See openapi.yaml.
Environment variables
Variable | Default | Description |
| (none) | Bearer token ( |
|
| API base (override only for local dev) |
Development
npm install && npm run build && npm startLicense
PolyForm Noncommercial 1.0.0 — © 2026 Blues Prince Media. Free for personal,
research, and noncommercial use; commercial use requires a license
(dennison@bluesprincemedia.com). See LICENSE. Versions published at or
before v0.5.0 remain under the MIT/PolyForm dual license they shipped with.
As of v0.5.0 the composition engine and Csound renderer run server-side behind the hosted API (
POST /v2/compose,POST /v2/render); their source no longer ships in this package.
Available Tools
5 toolsanalyze_chordARead-onlyIdempotentInspect
Parse a chord symbol into its root, quality, intervals, extensions, and harmonic function. When a key is provided, returns the Roman numeral, scale degree, and whether the chord is diatonic.
Inputs: chord (required), key.
conduct_bandARead-onlyInspect
Arrange a 4-piece band from a natural-language prompt. Returns conductor tempo/groove, 4 lanes of note events, lead sheet, and base64 MIDI. Browser/client synthesizes audio via Csound; use thiri-conductor-mcp locally to render WAV.
Inputs: prompt (required), durationSec.
generate_voicingARead-onlyIdempotentInspect
Generate instrument-ready voicings for a chord in a specified style. Pass previousNotes (or a previousVoicing object) from an earlier result to get a voiceLeadingScore for the transition. Styles: rootless, bill_evans, shell, triad, pad, guide-tones, guide-tone-1, guide-tone-2, both-guide-tones, drop-2, drop-3.
Inputs: chord (required), style, octave, density, +4 more.
reharmonizeARead-onlyIdempotentInspect
Reharmonize a chord progression using jazz techniques. Returns one alternative per applicable technique, each with the new progression, the changes, and a plain-English explanation. With technique 'auto' (default) it returns every technique that applies. Techniques: tritone_sub, ii_v_insertion, modal_interchange, diminished_passing, secondary_dominant, chain_of_dominants, coltrane_changes, backdoor. (modal_interchange and backdoor require a key.)
Inputs: progression (required), key, technique.
resolve_chordARead-onlyIdempotentInspect
Resolve a chord symbol to spelled note names, frequencies in Hz, MIDI numbers, and recommended improvisation scales.
Inputs: chord (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct musical operation: resolving, analyzing, voicing, reharmonizing, and arranging. The only mild overlap is between resolve_chord and analyze_chord, since both accept chord symbols, but their output purposes are clearly separated by the descriptions.
Four of five tools follow a clear verb_noun pattern (resolve_chord, analyze_chord, generate_voicing, conduct_band). The exception is reharmonize, which is a single verb without an explicit object, but it is still recognizable and does not create confusion.
Five tools is well-scoped for a specialized music theory server. Each tool addresses a distinct and meaningful part of chord intelligence, from analysis and resolution to voicing, reharmonization, and full band arrangement.
The tool surface covers the core chord intelligence workflow: parse/analyze chords, resolve them to concrete musical data, generate voicings with voice-leading support, reharmonize progressions, and produce a full arrangement. There are no obvious dead ends or missing essential operations for the stated domain.
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP server for Producer/Riffusion AI music generation
ScoreStarling is an all-in-one AI sheet music assistant. Ask for anything to do with sheet music: transcribe a song from audio, video or a link, read a PDF or photo, add chords, change the key, make it easier, turn it into guitar TAB or jianpu, or arrange it for another instrument. Every change lands on a real score you can hear, fix and download (PDF, MIDI, MusicXML, guitar TAB, jianpu, audio). Hosted remote server with OAuth sign-in. Free accounts get monthly credits and free previews; prices are at scorestarling.com/pricing. Setup: https://scorestarling.com/mcp
Autonomous music production for AI agents with MIDI generation, QC and provenance.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA composition-focused server built on music21 for generative music workflows, enabling melody generation, musical transformations, chord reharmonization, counterpoint creation, and MIDI export through constraint-based algorithmic composition tools.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Apple Music on macOS using AppleScript for playback, library management, and playlist operations. It supports features like searching tracks, managing the play queue, and retrieving detailed metadata through a structured interface.49 npm8MIT
- AlicenseAqualityDmaintenanceMCP server for controlling local music playback via NetEase Cloud Music, enabling search, play, pause, skip, and lyrics display through a local web player.1386MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables natural language control of Steinberg Dorico music notation software through Claude Desktop or ChatGPT, offering tools for score creation, note input, notation, harmony analysis, and orchestration.5415MIT