# Transcripted MCP Local tools for Transcripted meetings, dictations, and writing. All read-only except one: `add_dictionary_words`, which asks to add words to the app's custom dictionary. The app shows the user the words, and only their Add saves them. For Claude Desktop users, the best setup is inside the app: 1. Open Transcripted. 2. Open Settings. 3. Go to `Agent`. 4. Click `Connect` on the Claude Desktop row. 5. Restart Claude Desktop. That path installs the bundled helper, updates Claude Desktop's config, and runs a local self-test. ## Tools The server exposes 11 tools, 10 of them read-only: - Meetings: `list_meetings`, `read_meeting` - Dictations: `list_dictations`, `read_dictation` - Writing (opt-in): `list_writing`, `read_writing` - Cross-capture & lookup: `search` (meetings, dictations, and writing in one ranked list; plain questions or key words; with the search model installed it ranks by meaning plus a small bonus for the query's words, so reworded questions find their capture, and without it by word matching: any content word matches, items that hold more of them together, and rarer ones, rank higher; `match_quality`, `score`, `similarity` and `missing_terms` tell a real match from a partial one; `mode: "lexical"` is words only, `mode: "semantic"` meaning only), `recent_context`, `who_is` (named meeting speakers only), `status` - Dictionary: `add_dictionary_words` (`{"words":[{"term":"PostHog","heard":"post hog"}]}`; the app asks the user, see below) On `initialize` the server sends short instructions that tell an agent what this is and which tool fits which question. Every tool has a title and is marked idempotent, non-destructive, and closed-world; every tool but `add_dictionary_words` is also marked read-only, so hosts can ask before it runs. ## Adding dictionary words `add_dictionary_words` is for the agent that spots misheard names or company words while reading transcripts. Each word is a `term` (the right spelling) and an optional `heard` (what transcription wrote). It saves nothing itself: it stages the words, and Transcripted shows a small prompt ("Add 3 words from your AI assistant?") with Add and Ignore. Only Add writes them to the dictionary in Settings › General. If the app is closed, it asks the next time it opens; requests expire after 7 days. Each word comes back `pending_approval`, `already_present`, or `conflict` (that heard phrase already has a different fix, which is left alone and not shown). Up to 20 words a call, 60 characters each; phrases made only of common words ("the", "okay") are refused. Added words apply to the next dictation and meeting transcript. The words are never logged or sent in analytics. The CLI's `transcripted-cli add-dictionary-words` writes directly, since that's you at your own terminal. ## Meaning search Meaning search needs the search model (EmbeddingGemma 2, about 310 MB) and the embedding program the app installs next to this helper, under `~/Library/Application Support/Transcripted` (`TRANSCRIPTED_SUPPORT_ROOT` overrides it for tests). The app downloads the model by itself once an agent is connected; there is no switch. Everything runs on this Mac. Without the model, `search` is the word search. The helper starts building its meaning index on the first tool call, in the background: captures are cut into passages (windows of about 80 words of meeting turns, each meeting summary, dictation and writing entries split at about 160 words or 1,200 characters, so long text without spaces is split too), and each passage gets a vector. Until that is done, search still answers, and captures not yet indexed are found by their words; the reply carries `semantic_progress` (`"3100/7541"`). A capture deleted or edited since its passages were cut is found by its words only until it is cut again. What the reply promises when meaning search runs: - `total_items_matched` counts captures with a word match plus captures found by meaning at a similarity of 0.70 or more (where a real match is plausible); `truncated` says more of them exist than `count` returned. - `match_quality` is `strong` only when no query word is missing from every capture and the top result either passes the word rule or is very close in meaning while holding two of the query's words (or its only one). Made-up words return nothing (`none`); off-topic questions made of real words come back `weak` with loosely related results and a note. - With `speaker`, a meeting is ranked by meaning only on stretches that are nearly all that person's words, so nobody is credited with what others said to them; their other turns are found by words. - If the embedding process does not answer a search within 5 seconds, search uses words for the next 30 seconds (`mode_used: "lexical"`, a `note`, and `status` says `unavailable`) instead of waiting on every search. Date arguments take `YYYY-MM-DD`, an ISO date-time (midnight in any zone means the day as written), `today`, `yesterday`, a weekday name (`monday` is the most recent Monday, today included), `N days ago`, `last N days`, `this week` / `last week` (Monday to Sunday), and `this month` / `last month`. Bad input is an error that says what to send instead: unknown argument names, unknown `kind` / `mode` / `section` values, unreadable dates, reversed ranges, `count` below 1, and a `speaker` over 200 characters. What hosts and models often send is accepted: `null` or an empty string means "not given", keys starting with `_` (such as `_meta`) and `random_string` are ignored, `status` ignores any argument, and `limit` means `count` on `search`, `recent_context` and the list tools. Old tool names from before 1.1.78 answer with what to use now; `search_meetings` still works as `search` limited to meetings. ## Source Build Use this only when developing the MCP server directly: ```bash swift build -c release swift test ``` Binary: ```text .build/release/transcripted-mcp ``` Self-test: ```bash .build/release/transcripted-mcp --self-test ``` The server reads the app-selected capture library first when Transcripted has written its local directory manifest or `transcriptSaveLocation` preference. Without a custom library, it reads: ```text ~/Library/Application Support/Transcripted/captures/meetings ~/Library/Application Support/Transcripted/captures/dictations ~/Library/Application Support/Transcripted/captures/writing ``` Override paths with `TRANSCRIPTED_DATA_DIR`, `TRANSCRIPTED_MEETINGS_DIR`, `TRANSCRIPTED_DICTATIONS_DIR`, `TRANSCRIPTED_WRITING_DIR`, or `TRANSCRIPTED_INDEX_DIR`. If `TRANSCRIPTED_DATA_DIR` points at a shared root with `meetings/`, `dictations/`, or `writing/` subfolders, `transcripted-mcp` uses those subfolders automatically and stores its SQLite index in that shared root unless `TRANSCRIPTED_INDEX_DIR` is also set. With per-kind meeting or dictation overrides, writing is read only when `TRANSCRIPTED_WRITING_DIR` is set too. ## Writing `list_writing` and `read_writing` mirror `list_dictations` and `read_dictation` for `Writing_.md` day files (what the user typed with the Transcripted keyboard). `search` and `recent_context` take `kind: "writing"` and include writing in `all`. Writing is in the meaning index like meetings and dictation. ## Telemetry The server can emit one anonymous PostHog event when each tracked capture query finishes (`agent_capture_query_observed`, see `AgentCaptureQueryTelemetry.swift`). `result` is one of `success`, `empty_not_found`, `invalid_input`, or `internal_error`. The payload is limited to coarse allowlisted metadata: client, tool, and capture kinds; latency and source- and result-count buckets; the result; and the owning app's validated `app_version`, build channel, and revision when available. Build identity is omitted when the app did not install it; the helper's own server version is never used as an app-version fallback. `source_count_bucket` means distinct capture files contributing to the response. `result_count_bucket` means returned records at that tool's natural response grain. Transcript text, query strings, capture IDs, titles, names, file paths, audio, and user identifiers are never properties. It is gated twice: - it honors the app's anonymous analytics toggle (`observability-anonymous-analytics-enabled`; off means nothing is sent) - it no-ops entirely unless a PostHog API key and HTTPS host are configured via `POSTHOG_API_KEY`/`POSTHOG_HOST`, a local override, or the bundle's `TranscriptedPostHogAPIKey`; source builds have none by default The server itself never sends transcripts or audio anywhere. Text a tool returns goes to whichever model the agent uses, like anything else in the conversation. ## MCP Bundle and Registry Each release can also ship the helper as an MCP Bundle (`transcripted-mcp.mcpb`) for clients that install bundles directly, and list it in the official MCP Registry as `io.github.r3dbars/transcripted`. The `Publish MCP Bundle` workflow does both. It copies the signed helper out of the release DMG, packs it with [`mcpb/manifest.json`](mcpb/manifest.json), attaches the bundle to the release, then fills in and publishes the root `server.json`. It runs when a release is published. There is no manual dispatch (it could run from any branch); to retry, re-run the job. Nothing is rebuilt, so the bundle keeps the notarized app's signature. The helper compiles the app's source version from `Info.plist` into its binary, so `--version` and MCP `initialize` keep that version when the signed helper is copied into a bundle. `scripts/release/bump-release-version.py` generates `Sources/TranscriptedMCP/BuildVersion.swift` in this package during a version bump; its required `--check` catches a missing or stale generated value. No installed app, current directory, or environment override supplies the version. `glama.json` at the repo root claims the Glama listing for the maintainer.