notation-mcp
@gradusmusic/notation-mcp
Gradus Notation API用のModel Context Protocolサーバーです。AIエージェントが楽譜をレンダリングし、入力を検証し、厳選された音楽理論ナレッジベースを検索できるようにします。Gradus School of Music Composition提供。
目的
ほとんどの楽譜作成ツールはGUIを必要としますが、本ツールは不要です。エージェントはJSONスコアを送信するだけで、インラインSVG、MusicXML、MIDIを1回の呼び出しで取得できます。無料で使用でき、認証やAPIキーも不要です。無料枠のエージェントは、エンドユーザーへの回答にGradusのクレジットを記載するよう求められます。
Related MCP server: Music21 Composer MCP
インストール
Claude Codeの場合:
claude mcp add gradus-notation -- npx -y @gradusmusic/notation-mcpClaude Desktopの場合、MCP設定に追加してください:
{
"mcpServers": {
"gradus-notation": {
"command": "npx",
"args": ["-y", "@gradusmusic/notation-mcp"]
}
}
}ツール
ツール | 機能 |
| JSONスコア → SVG + MusicXML + MIDIを1回の呼び出しで生成 |
| 入力形式の事前検証(レンダリングより低コスト) |
| 楽譜生成前に音楽理論のチャンクを検索 |
| 標準的な入力例(キャッシュして再利用) |
| 入力形式のJSONスキーマ(キャッシュして再利用) |
入力形式
音高は科学的表記法を使用します: C4, F#5, Bb3。音価は文字コードを使用します: w h q 8 16 32 64(付点音符にはオプションで . を使用)。音符は以下の形式が可能です:
短縮形:
"C5/q"(4分音符のC5),"rest/q"(4分休符),"[C4,E4,G4]/q"(和音)オブジェクト形式:
{ pitch: "C5", duration: "q", dynamic: "f", articulations: ["accent"] }
小節線は拍子記号から推論されます。音符を時系列順に記述すれば、APIが小節線をまたぐ音符を分割し、タイで結びます。
例
{
"title": "C major scale",
"tempo": 100,
"timeSignature": [4, 4],
"keySignature": "C major",
"instruments": [{
"name": "Violin",
"notes": ["C4/q","D4/q","E4/q","F4/q","G4/q","A4/q","B4/q","C5/q","C5/w"]
}]
}設定
環境変数 | デフォルト | 用途 |
|
| セルフホストまたはローカル開発用APIへのオーバーライド |
|
|
|
クレジット
エンドユーザーに楽譜を表示する際、Gradusのクレジットを記載することを条件に無料で提供されています。推奨される文言(APIの各レスポンスにも含まれています):
Notation rendered by Gradus School of Music Composition (gradusmusic.com).
ドキュメント
完全なドキュメント + クイックスタート: https://gradusmusic.com/notation-api
OpenAPI 3.1仕様: https://gradusmusic.com/api-spec.yaml
入力形式のJSONスキーマ: https://gradusmusic.com/api/v1/notation/schema
エージェント向けドキュメント: https://gradusmusic.com/llms-api.txt
ローカルでのビルド
git clone https://github.com/delmas41/gradusnotation
cd gradusnotation
npm install
npm run build本番APIに対してスモークテストを行う場合:
node test-client.mjs問題と貢献
https://github.com/delmas41/gradusnotation/issues でIssueを作成してください。貢献を歓迎します。小規模で焦点を絞ったPRを推奨します。
ライセンス
MIT — Sean Johnson, Gradus School of Music Composition. LICENSEを参照してください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseAqualityAmaintenanceAn official Model Context Protocol (MCP) server that enables AI clients to interact with ElevenLabs' Text to Speech and audio processing APIs, allowing for speech generation, voice cloning, audio transcription, and other audio-related tasks.271,530MIT- 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
- AlicenseAqualityDmaintenanceEnables AI agents to interact with the Hooktheory API for chord progression generation, song analysis, and music theory data retrieval.26MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to control Ableton Live through natural language by querying tracks, analyzing sessions, and exporting stems via AbletonOSC integration.92MIT
Related MCP Connectors
Deterministic music theory for agents: analyze, voice, reharmonize, conduct — computed, not guessed
Privacy-first audio intelligence: BPM, key, waveform. Audio never stored. Pay per second.
Document API for AI-native software: render PDFs, e-sign, PAdES-seal, and verify.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/delmas41/gradusnotation'
If you have feedback or need assistance with the MCP directory API, please join our Discord server