TTokenySpace
返回 MCP 列表

PlayByKey Music Theory

其他

PlayByKey developer tooling - @playbykey/theory, @playbykey-mcp, and the PlayByKey Developers docs

1TypeScriptv1.6.0更新于 2026/8/1
GitHub
0

介绍

Chords, scales, progressions, transposition, and MIDI tools for music theory AI agents.

README

<a href="https://playbykey.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.svg" /> <img src="assets/logo-light.svg" alt="PlayByKey" width="220" height="42" /> </picture> </a>

Developer Tools

Packages for PlayByKey - see the table below for what's here.


Install

npm install @playbykey/theory
pnpm add @playbykey/theory
yarn add @playbykey/theory
bun add @playbykey/theory

Quickstart and API examples: packages/theory/README.md


Why @playbykey/theory

  • Foundation music theory engine: music theory as code. Modes, keys, intervals, and scale relationships resolved deterministically; one source of truth every app, notation tool, or AI agent can build on.
  • Zero dependencies: no transitive baggage; safe for agents, edge runtimes, and tight bundles
  • Strictly typed: every function's types exported alongside it, no any
  • Agent-ready: copy-paste LLM context prompt and interactive docs
  • Sharps-only notation: one canonical spelling per note (C#, not Db) keeps the Note type safe and unambiguous. Flats are fully supported for both input (parseNote/parseNoteToken accept Db, Eb, Gb, Ab, Bb) and output (getFlats/getEnharmonicLabels), without extending Note itself.

Packages

PackageDescriptionLinks
@playbykey/theoryZero-dependency music theory engine - scales, modes, intervals, chords, progressions, key relationshipsnpm · docs · changelog
@playbykey/theory-mcpMCP server that exposes the theory engine as AI-callable toolsnpm · README
theory-docsStarlight documentation site (private workspace package)live site · README

License

MIT for the repository tooling and @playbykey/theory. See LICENSE. Individual packages may declare their own license in their package.json.

评论

加载中…

同类推荐