forscore-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@forscore-mcp Fill in the opus numbers for my Chopin scores"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
forscore-mcp
Clean up the metadata in a forScore sheet-music library in bulk: titles, composers, catalogue references (Op., BWV, K., …), keys, genres, tags, ratings and more. It works through an AI assistant (an MCP server and a Claude Code plugin; Claude and other LLMs) or from the command line.
Not affiliated with or endorsed by forScore LLC. forScore is a trademark of forScore LLC. The tool reads forScore's internal library database, which is not a public API, and writes changes through forScore's own Metadata CSV import, as forScore's support recommends. Data is still injected into forScore as-is, and the tool cannot guarantee that it works correctly or preserves existing data. Always check forScore's import preview before tapping Save.
Features
Read:
every score and bookmark with its metadata (filtered and paged for large libraries)
every composer, genre, tag, label and library in use
setlists
Bulk-edit titles, composers, references, keys, genres, tags, labels, rating, difficulty and duration, for scores and bookmarks.
Rename or merge a composer, genre or tag everywhere it is used.
Audit for likely duplicates, identical PDFs, file names that differ from titles, and composer sort names worth checking.
Check sync: compare the library with what synced devices receive.
Conventions guide for AI assistants, so their edits stay consistent: full composer names,
Op. 69 No. 2references, genre as style period. Seeconventions.md.
Related MCP server: engine-dj-mcp
How it works
Read: the tool opens forScore's library database on the Mac read-only and checks its layout every time. It refuses to work with anything it does not recognise.
Propose: the assistant (or you) writes a changeset, a small JSON description of the changes. It is previewed as a per-score diff, and nothing is written yet.
Import: the changeset becomes a CSV in forScore's own Metadata format, and the tool hands it to forScore. In forScore, open Backups › Metadata (CSV) › Import, tap the file, check forScore's preview and tap Save. forScore applies it and syncs it to your other devices.
Verify or undo: the tool checks field by field that the import applied. Any import can be reverted with a second, generated CSV.
forScore can stay open throughout.
Requirements
A Mac with forScore. The library database only exists on the Mac; iPad-only setups are not supported.
uv (
brew install uv).Full Disk Access for the app that runs the tool (Terminal, Claude, Cursor, …), because forScore's data sits in a protected app container: System Settings › Privacy & Security › Full Disk Access.
Install
Claude Code (plugin: MCP server + skill)
/plugin install forscore --marketplace Soham-Chatt/forscore-mcpOr from a shell: claude plugin install forscore --marketplace Soham-Chatt/forscore-mcp.
On older Claude Code versions, run /plugin marketplace add Soham-Chatt/forscore-mcp and then
/plugin install forscore@forscore-mcp.
Update with claude plugin update forscore@forscore-mcp, or turn on auto-update under
Marketplaces in /plugin. The plugin needs Claude Code, or Claude Desktop through the
MCP configuration below. claude.ai on the web and Cowork cannot reach a Mac's local library.
Other MCP clients (Claude Desktop, Cursor, VS Code, Codex, Gemini CLI, …)
Add the server to the client's MCP configuration. For Claude Desktop that is
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"forscore": {
"command": "uvx",
"args": ["forscore-mcp"]
}
}
}It is also listed in the official MCP registry as
io.github.Soham-Chatt/forscore-mcp. Agents without MCP support can use the CLI with --json;
see AGENTS.md.
Command line
uv tool install forscore-mcp
forscore-mcp doctordoctor checks library access, sync state and the write mode, and explains how to fix any
problem it finds.
Usage
Ask the assistant things like "Clean up the composers in my forScore library" or "Fill in the opus numbers for my Chopin scores". It follows the bundled conventions guide unless told otherwise, and proposes a table of changes. Once you approve them, it previews them and creates the import for forScore.
Command line:
forscore-mcp list chopin # search scores and bookmarks
forscore-mcp list --missing composers # filters: --composer --genre --tag --library --kind
forscore-mcp show "Kinderszenen > Träumerei" # one score or bookmark
forscore-mcp values composers # values in use, with counts and sort names
forscore-mcp setlists # setlists and their items
forscore-mcp audit # likely duplicates, file names, sort names
forscore-mcp preview changes.json # dry run of a changeset
forscore-mcp apply changes.json --yes # create the import CSV and hand it to forScore
forscore-mcp verify <import id> # after Save in forScore: did everything apply?
forscore-mcp undo <import id> --yes # a CSV that restores the previous values
forscore-mcp sync-check # do synced devices get the same metadata?
forscore-mcp key "E♭ major" # key name ↔ forScore's internal codeAdd --json to any command for machine-readable output.
Changesets
See examples/changeset.example.json:
{
"renames": { "composers": { "Chopin": "Frédéric Chopin" } },
"items": [
{ "match": "Fur Elise",
"set": { "title": "Für Elise", "reference": "WoO 59", "key": "A minor", "genres": ["Classical"] },
"add": { "tags": ["ABRSM Grade 5"] } },
{ "match": "Kinderszenen › Träumerei", "set": { "reference": "Op. 15 No. 7" } }
]
}match: a UUID, an exact title, or"Score › Bookmark"(>works too).setreplaces these fields:title,reference,key,rating(0–5),difficulty(0–3),duration("m:ss"),composers,genres,tagsandlabels.addandremoveedit the list fields.renamesrenames a value everywhere it is used.
What the CSV import cannot do
forScore's CSV format has no columns for these, so the tool lists them under "not in CSV" instead of importing them:
scores that have bookmarks, and bookmarks themselves: forScore's CSV import does not match existing bookmarks reliably and can delete or duplicate them
library membership
composer sort names (
sort_names)keys with more than 7 sharps or flats
values containing a comma
changing PDF file names
Make these changes in forScore itself. Changing a title in forScore can rename the PDF to match.
MCP tools
Every tool's parameters and the full CLI are listed in docs/reference.md,
which is generated from the code.
Tool | Effect |
| read only |
| read only (dry run) |
| creates an import CSV for review in forScore |
| read only |
| copies of the library database |
| only with direct writes on (below) |
Environment variables:
FORSCORE_LIBRARY: path to the library database.FORSCORE_STATE_DIR: where import CSVs are kept. The default is~/Library/Application Support/forscore-mcp.FORSCORE_BACKUP_DIR: where backups go.
Direct writes (unsupported by forScore)
Can cause crashes, unexpected behaviour or data loss. forScore's developers advise against it. It bypasses forScore's own validation and edits the database and the per-score sync files directly.
For the changes the CSV import cannot make (scores with bookmarks, library membership, composer sort names), the tool can write the database directly. This is off by default. Turn it on with a confirmation phrase:
forscore-mcp direct-writes enable i-understand-this-can-damage-my-library
forscore-mcp direct-writes status
forscore-mcp direct-writes disableThe setting is stored in ~/Library/Application Support/forscore-mcp/config.json and takes
effect immediately, including for a running MCP server. Instead, the variable
FORSCORE_DIRECT_WRITES=i-understand-this-can-damage-my-library can be set in an MCP client's
env configuration.
While it is on:
A write is only direct when asked for:
apply_changeset(..., method="direct")orforscore-mcp apply --direct --yes. Everything else still goes through the CSV import.forScore must be quit on the Mac during direct writes, and a backup is made first.
restoreputs a backup back.Values nothing uses any more are deleted. forScore hides them anyway, and each device keeps its own list.
doctorshows that direct writes are on.
No MCP tool can turn direct writes on.
Limitations
macOS only.
Early (0.x), tested with forScore 15.2. A forScore update that changes the database layout makes the tool refuse to run until it is updated.
Setlists are read-only.
Contributing
Issues and pull requests are welcome, including reports from other forScore versions and
setups. See CONTRIBUTING.md.
Development:
uv sync
uv run pytest # tests use a synthetic library, never a real one
uv run ruff check . && uv run ruff format . && uv run ty checkAGENTS.md describes the architecture and rules; docs/schema.md
documents what is known about forScore's storage; docs/releasing.md
covers releases.
License
PolyForm Noncommercial 1.0.0: free for personal and other non-commercial use, including changing and sharing it. Commercial use requires a separate license; open an issue or contact the author to ask.
Available Tools
16 toolsapply_changesetADestructive
Write an approved changeset. Without confirm=true this only previews.
method "csv" (default, supported by forScore): creates an import CSV and sends it to
forScore; tell the user the next_step (import it in Backups › Metadata, check forScore's
preview, tap Save), then call verify_import. Changes CSV cannot carry are listed under
skipped. method "direct" writes the database itself (unsupported by forScore); it only
works if the user turned on direct writes themselves, needs forScore quit, and should only
be used for skipped changes such as library membership or composer sort names.
Inputs: changeset (required), method, confirm. Returns: object
audit_libraryBRead-only
Find likely duplicate titles, identical PDFs, PDF file names that differ from titles (rename those in forScore: changing a title there can rename the file), and composer sort names worth checking.
Inputs: no named parameters. Returns: object
check_syncARead-only
List metadata that differs between the library and the sync files other devices (iPad, iPhone) receive. Empty means everything is in sync.
Inputs: no named parameters. Returns: result
convert_keyARead-only
Convert between a key name ("E♭ major") and forScore's stored code (300).
Inputs: value (required). Returns: object
create_backupCRead-only
Back up the library now.
Inputs: no named parameters. Returns: object
doctorARead-only
Check that the library is reachable, in sync, and whether changes can be applied now.
Inputs: no named parameters. Returns: result
get_conventionsARead-only
The metadata conventions and the safe editing workflow. Read before proposing changes.
Inputs: no named parameters. Returns: result
get_scoreARead-only
Get one score or bookmark by UUID, exact title, or "Score › Bookmark".
Inputs: match (required). Returns: object
list_backupsARead-only
List library backups, newest first.
Inputs: no named parameters. Returns: result
list_scoresARead-only
List scores and their bookmarks, a page at a time (see total; raise offset for more).
Filters combine: query searches titles, references, composers, genres and tags;
composer/genre/tag/label/library match a value exactly; kind is "score" or "bookmark";
missing names a field that must be empty (e.g. "composers", "reference", "key").
Items are compact (empty fields omitted) unless full is true.
Inputs: tag, full, kind, genre, +7 more. Returns: object
list_setlistsBRead-only
List setlists with their scores and bookmarks in order.
Inputs: no named parameters. Returns: result
list_valuesBRead-only
List every composer, genre, tag, label or library in use, with usage counts (and sort names for composers). Unused values are hidden, as in forScore.
Inputs: kind (required), include_unused. Returns: result
preview_changesetARead-only
Dry-run a changeset on a copy of the library and return the per-item diff. Format: {"renames": {"composers": {"Old": "New"}}, "sort_names": {"Composer": "Sort"}, "items": [{"match": "<uuid, title or 'Score › Bookmark'>", "set": {"title", "reference", "key", "rating" (0-5), "difficulty" (0-3), "duration" ("m:ss"), "composers", "genres", "tags", "labels", "libraries"}, "add": {"tags": [...]}, "remove": {...}}], "prune": true}. Safe while forScore is open.
Inputs: changeset (required). Returns: object
restore_backupADestructive
Replace the library with a backup (the current state is backed up first). Only with direct writes on; requires forScore to be quit and confirm=true. Prefer undo_import.
Inputs: backup_id (required), confirm. Returns: object
undo_importBDestructive
Create (and send to forScore) a CSV that restores the items of an earlier import. The user imports it the same way. Requires confirm=true.
Inputs: import_id (required), confirm. Returns: object
verify_importBRead-only
After the user imported a CSV: check field by field that forScore applied it.
Inputs: import_id (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool targets a distinct resource+action: conversion, diagnostics, conventions, setlist listing, auditing, changeset preview/apply/verify/undo, sync check, backup list/create/restore, score list/get, and value listing. The only near-overlap (preview_changeset vs. apply_changeset without confirm, and audit_library vs. check_sync) is explicitly clarified in the descriptions. No two tools appear to do the same thing.
Nearly all tools follow a clean snake_case verb_noun pattern (list_scores, get_score, preview_changeset, apply_changeset, verify_import, undo_import, check_sync, create_backup, restore_backup). The lone outliers are 'doctor' and 'convert_key' where 'doctor' is a bare noun, a minor but noticeable deviation. Still highly predictable overall.
16 tools is on the heavier side but justified by a genuinely broad domain: discovery, staged metadata edits, verification/undo, backups, sync, auditing, and a key-code utility. Each tool maps to a real workflow step rather than redundant surface area. Slightly over the ideal 3-15 range, but not bloated.
The surface covers the core lifecycle well: read (list_scores, get_score, list_values, list_setlists), safely edit (preview/apply/verify/undo changesets), and protect data (backups, sync, audit, doctor, conventions). Minor gaps exist: setlists are list-only (no create/edit/reorder) and score creation/addition is not represented. These are workaround-able given the CSV/forScore workflow but are real functional holes.
Maintenance
Related MCP Connectors
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
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
ScanSing reads printed sheet music. Give Claude a PDF or a photo of a score and it gets back MusicXML, the format MuseScore, Sibelius, Finale and Dorico open. It is the recogniser inside the ScanSing app for choir singers, offered as a connector. Once a score is recognised, Claude can answer questions about it without recognising it again: - what the key, time signature, tempo and length are, and each part's range, clefs and lyrics; - one voice on its own, for example just the alto line of a choir piece; - the score or a part moved to another key, with notes respelled for the new key signature; - a MIDI file, one track per part, to listen to or rehearse with; - a short-lived download link to open the result in a browser or notation app. It handles PDFs up to 40 pages and PNG, JPEG, HEIC, TIFF and WebP images, can recognise selected pages of a long PDF, and can split a songbook into one MusicXML per piece. A file can be given as a web link or a small image; in Claude Code, a file on your computer is sent through a one-time upload link. Recognition spends pages from your ScanSing plan, so it is the only tool that is not read-only. Everything else works on the stored result and is free. The first connection with a new email comes with 20 free pages; paid plans start at $9 a month for 300 pages. Scores and results are deleted about an hour after recognition and are never used for training.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceConnects AI assistants to a local music library for full-text search and filtering of tracks, albums, artists, genres, composers, and lyrics, plus listening analytics and metadata hygiene audits. Also lets users generate and populate playlists and control playback (play, pause, seek, volume) in a running player instance.MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to query and manage a local Engine DJ library on macOS, including searching tracks by BPM, key, genre, or comments, auditing duplicates and missing files, reading cues and beatgrids, and building playlists or fixing tags when write access is enabled.996 npm1MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search and audit a Serato DJ library by BPM and Camelot key, browse crates, detect duplicates and missing files, and stage new crates for review before writing.660 npm2MIT
- FlicenseNot gradedqualityAmaintenanceEnables researchers and AI assistants to verify bibliographic existence and metadata consistency across multiple sources, score matches explainably, and inspect results without overwriting source files.-