API & MCP

Everything a person can do on Scale, Chord and Fretboard Finder, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Scale, Chord and Fretboard Finder

Spells a scale, mode or chord on any root with correct note names and intervals, marks every position on a guitar, 7-string, bass or ukulele neck in the tuning you choose, lists easy chord shapes and the diatonic chords of a key, or names the chord formed by a set of notes (including inversions). The same theory engine as the Fretboard tab of the Tonegrid app.

Inputs of Scale, Chord and Fretboard Finder
FieldTypeDefaultDescription
modeselect (scale, chord, identify)"scale"What do you want?
rootselect (C, C♯, D, E♭, E, F, F♯, G, A♭, A, B♭, B)"C"Root note
scaleselect (major, minor, dorian, phrygian, lydian, mixolydian, locrian, harmonicMinor, melodicMinor, pentatonic, minorPentatonic, blues, wholeTone, chromatic)"major"Scale or mode. Used when showing a scale.
chordselect (major, minor, dim, aug, sus2, sus4, power, six, minorSix, dom7, maj7, min7, minMaj7, halfDim7, dim7, sevenSus4, add9, dom9, maj9, min9)"major"Chord type. Used when showing a chord.
notestext—Notes to name (lowest first). Used when naming a chord: note names separated by spaces, the bass note first. Octave numbers are optional.
tuningselect (guitar/standard, guitar/dropD, guitar/halfDown, guitar/dadgad, guitar/openG, guitar/openD, guitar7/standard, bass4/standard, bass4/dropD, bass5/standard, ukulele/standard, ukulele/lowG, ukulel"guitar/standard"Instrument and tuning
fretsinteger12Frets to show

Example request

A minor pentatonic on guitar

curl -X POST https://tonegridscalechordfinder.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"scale","root":"A","scale":"minorPentatonic","tuning":"guitar/standard","frets":12}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "tonegrid-scale-chord-finder": { "type": "http", "url": "https://tonegridscalechordfinder.usefulweb.app/mcp" }
  }
}