@typewhisper/mcp exposes the local TypeWhisper API as a Model Context Protocol server for coding agents and other MCP clients.
It connects to the TypeWhisper macOS app running on the same machine and lets agents transcribe local files, inspect model status, search transcription history, and manage Dictionary terms and corrections.
- macOS with TypeWhisper installed
- TypeWhisper local API server enabled in
Settings > Advanced - Node.js 20 or newer
npm install -g @typewhisper/mcpFor local development from this repo:
npm install
npm run build
node dist/bin.js --helpMost MCP clients can run the server over stdio:
{
"mcpServers": {
"typewhisper": {
"command": "npx",
"args": ["-y", "@typewhisper/mcp"]
}
}
}For a local checkout:
{
"mcpServers": {
"typewhisper": {
"command": "node",
"args": ["/Users/marco/Projects/typewhisper-mcp/dist/bin.js"]
}
}
}By default, the server mirrors the TypeWhisper CLI discovery behavior:
TYPEWHISPER_API_BASE_URL,TYPEWHISPER_API_PORT, andTYPEWHISPER_API_TOKEN~/Library/Application Support/TypeWhisper/api-discovery.json~/Library/Application Support/TypeWhisper/api-porthttp://127.0.0.1:8978
Use --dev or TYPEWHISPER_DEV=1 to read TypeWhisper-Dev discovery files.
typewhisper-mcp --dev
typewhisper-mcp --base-url http://127.0.0.1:8978 --api-token "$TYPEWHISPER_API_TOKEN"typewhisper_statustypewhisper_list_modelstypewhisper_transcribe_filetypewhisper_search_historytypewhisper_list_dictionary_termstypewhisper_upsert_dictionary_termstypewhisper_delete_dictionary_termtypewhisper_list_dictionary_correctionstypewhisper_upsert_dictionary_correctiontypewhisper_delete_dictionary_correction
typewhisper_transcribe_file requires an absolute file path because TypeWhisper runs as a separate macOS app process.
Recorder and live dictation controls are intentionally not part of the first release.
npm run typecheck
npm test
npm run build
npm pack --dry-runGPL-3.0-only