Are you the author? Sign in to claim
MCP server for TypeWhisper
@typewhisper/mcp exposes the local TypeWhisper API as a Model Context Protocol server for coding agents and other MCP clients.
It connects to a TypeWhisper app running locally or on a remote host and lets agents transcribe files, inspect model status, search transcription history, and manage Dictionary terms and corrections.
npm install -g @typewhisper/mcp
For local development from this repo:
npm install
npm run build
node dist/bin.js --help
Most 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, and TYPEWHISPER_API_TOKEN~/Library/Application Support/TypeWhisper/api-discovery.json%LOCALAPPDATA%\\TypeWhisper-UserData\\api-discovery.json%LOCALAPPDATA%\\TypeWhisper\\api-discovery.jsonapi-port filehttp://127.0.0.1:8978Use --dev or TYPEWHISPER_DEV=1 to read development discovery files (TypeWhisper-Dev on macOS and TypeWhisper-DevUserData with a TypeWhisper-Dev fallback on Windows).
typewhisper-mcp --dev
typewhisper-mcp --base-url http://127.0.0.1:8978 --api-token "$TYPEWHISPER_API_TOKEN"
The MCP server itself can run on any Node.js platform. TypeWhisper currently binds its API to the host's loopback interface, so connect remote clients through a private tunnel instead of exposing the API publicly.
For example, forward a local port from the agent machine to the TypeWhisper host:
ssh -N -L 18978:127.0.0.1:8978 user@typewhisper-host
Then start the MCP server with the forwarded URL and the bearer token from the TypeWhisper host's api-discovery.json:
TYPEWHISPER_API_BASE_URL=http://127.0.0.1:18978 \
TYPEWHISPER_API_TOKEN="your-token" \
typewhisper-mcp
For typewhisper_transcribe_file, the absolute path is resolved by the TypeWhisper host. Remote clients must therefore provide a path that exists on that host, for example through a shared or synchronized directory.
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_correctiontypewhisper_transcribe_file requires an absolute path on the TypeWhisper host because TypeWhisper runs as a separate 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-run
GPL-3.0-only
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows