Use Claude Code or Codex CLI for Mac Dictation Cleanup
If you already pay for a coding-tool subscription on your Mac, turning rough speech into clear text doesn’t have to mean adding another monthly dictation bill or managing a separate polishing API key.
Developers who dictate prompts, PR comments, Slack replies, or design notes often hit an odd friction: they already pay for Claude or ChatGPT every month for coding agents, yet most AI dictation apps ask for either a second monthly subscription or a freshly funded developer API key just to polish short bursts of speech. MeerKatta’s Mac pipeline splits transcription from polishing so you can plug the coding CLI you already use into the cleanup step.
Two separate jobs: speech recognition vs. AI cleanup
Your CLI receives text, not audio. Speech-to-text happens first using whichever Transcribing provider you select. MeerKatta then sends that transcript to Claude Code or Codex CLI together with relevant personalization and request context—such as your vocabulary, writing preferences (tone, style, or approved writing samples), the active app name, and prior text when applicable—so the cleaned draft fits where you’re working.
1. Transcribe
Turn spoken audio into raw text on Mac.Use a cloud transcription API (such as Groq, OpenRouter, or DeepInfra) for stronger accuracy, or pick built-in offline Apple Speech or On-device Whisper when you want zero extra API keys or have no network.
2. Polish via CLI
Your installed Claude Code or Codex CLI cleans the transcript.Removes filler words, resolves mid-sentence restarts, and preserves constraints and custom terms—invoked from a temporary working directory for plain-text cleanup rather than an interactive coding session.
3. Review & insert
Editable text lands at your cursor or in your Library.Works in Claude Code, Codex, your editor, Slack, or email. Always review file paths, flags, numbers, and commitments before hitting Enter.
Actual Mac Providers & Keys screen: Transcribing and Polishing are chosen independently, so you can pair either built-in offline transcription or a cloud speech API with auto-detected Codex CLI or Claude Code cleanup.
How MeerKatta keeps CLI cleanup focused on text
A coding agent shouldn’t act like an agent while cleaning up a sentence. If you dictate “refactor the retry middleware and delete the unused helper” into your terminal, you want clean prompt text to inspect—not an interactive agent editing project files or loading your coding rules. Here is how MeerKatta configures each CLI for text cleanup:
Detail
Claude Code (claude)
Codex CLI (codex)
Auto-detected locations
/usr/local/bin/claude, /opt/homebrew/bin/claude, ~/.npm-global/bin/claude, ~/.local/bin/claude, CLAUDE_CLI_PATH, or PATH
Persistent background stream-json process reused across dictations to skip repeated cold starts; session files aren’t saved to disk (the warm process stays in memory until shutdown or restart)
One-shot non-interactive codex exec reading the prompt from stdin and returning the final message via a temporary file deleted immediately after
Cleanup guardrails
Runs from macOS’s temporary directory with built-in tools disabled (--tools ""), empty strict MCP config, --max-turns 1, --disable-slash-commands, --no-chrome, and --no-session-persistence
Runs from macOS’s temporary directory with --sandbox read-only, --ask-for-approval never, --ephemeral (no session files saved), --skip-git-repo-check, --ignore-user-config, --ignore-rules, and low reasoning effort
Auth & billing check
Probes claude auth status --json and warns if ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN is set (which may incur separate API charges)
Probes codex login status and requires ChatGPT account login; API-key mode is blocked on this route so you aren’t billed on an API key by mistake
Fallback if CLI fails
Falls back cleanly to the raw transcript if missing, signed out, timed out, or returning an error line
Falls back cleanly to the raw transcript if missing, signed out, timed out, failing validation, or returning an error
1. Spoken into a prompt boxRaw speech with a restart and a constraint
“In auth middleware, uh, don’t rewrite the token parser, actually just add a five second timeout on the refresh call and return the existing error type so the caller tests don’t break.”
2. Cleaned text at your cursorReady to review before pressing Enter
In the auth middleware, don’t rewrite the token parser. Just add a 5-second timeout on the refresh call and return the existing error type so the caller tests don’t break.
Illustrative example, not recorded app output. MeerKatta cleans the spoken prompt; it does not execute code changes or verify technical accuracy.
How to set up Claude Code or Codex CLI cleanup on Mac
Credentials stay with your CLI, never inside MeerKatta. MeerKatta does not ask you to paste OAuth tokens or sign into Anthropic or OpenAI inside the app. You sign in through the CLI itself, then verify the connection in MeerKatta.
01
Install and verify sign-in in Terminal
Make sure the CLI works on its own and check which account or billing method it reports before opening MeerKatta.
Claude Code
claude auth login
claude auth status
Codex CLI (ChatGPT account)
codex login
codex login status
For Codex CLI, choose Sign in with ChatGPT rather than an OpenAI API key—MeerKatta’s Codex CLI route uses ChatGPT account access only.
02
Open Settings → Providers & Keys in MeerKatta
Installed Codex CLI and Claude Code binaries appear automatically under Polishing. If you just installed a CLI while MeerKatta was open, restart MeerKatta or click + Add provider to add it.
03
Run Test, review the detected auth mode, then Save
Click the Claude Code or Codex CLI tile to open its setup sheet. MeerKatta displays the authentication state it detected, then runs a real short polish test when you click Test. Once the test succeeds, click Save and hover the tile to make it your primary polishing provider.
04
Pick your Transcribing provider above it
Choose built-in offline Apple Speech or On-device Whisper if you want no API keys at all, or add a cloud transcription key (such as Groq, OpenRouter, or DeepInfra) for stronger raw recognition when you’re online.
Three practical Mac pairings
Because Transcribing and Polishing are independent, you can match your stack to what you already pay for—and switch transcription anytime without touching your cleanup setup.
Zero API keys
Local transcription + CLI cleanup
Pair Apple Speech or On-device Whisper with Claude Code or Codex CLI. Nothing else to sign up for—just keep in mind on-device speech recognition is less accurate than large cloud models on uncommon names or noisy rooms.
Best online accuracy
Cloud speech API + CLI cleanup
Use a cloud transcription key (such as Groq or OpenRouter) for sharper raw transcripts while letting your existing Claude Code or Codex CLI handle cleanup.
No network
Offline raw dictation
On an airplane or offline Wi-Fi, CLI cleanup can’t reach Anthropic or OpenAI—so MeerKatta falls back to raw text from Apple Speech or On-device Whisper, or you can turn polishing off temporarily.
Usage limits, billing caveats, and honest boundaries
Shared subscription quota, never “unlimited”: Non-interactive calls via claude -p or codex exec count toward your existing provider plan’s usage allowance (such as rolling session/weekly limits on Claude or shared token allowances on ChatGPT/Codex) under that provider’s current terms. Short dictation cleanups are small compared to multi-step coding sessions, but they are still metered by your provider.
Check environment variables on Claude Code: If ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN is exported in your environment, Claude Code may route through API billing instead of your Claude subscription. MeerKatta’s setup sheet checks for API credentials and flags them when detected; verify with claude auth status.
Cloud processing still applies: Calling a locally installed CLI does not make AI cleanup offline. Your transcript and relevant cleanup context (such as active app name, vocabulary, writing preferences, or prior text when applicable) still go to Anthropic or OpenAI under your existing account terms and data policy.
Mac-only for CLI polishing: Local CLI tools run on macOS, so Codex CLI and Claude Code cleanup are Mac-only features. One eligible purchase unlocks MeerKatta on iPhone, iPad, and Apple Watch too, where mobile devices use managed AI or supported cloud API keys.
Not a universal guarantee for every tier: Plan eligibility, rate limits, and CLI authentication rules are controlled by Anthropic and OpenAI and can change over time. Always verify with the built-in Test button during your 7-day Mac trial before buying Lifetime.
Frequently asked questions
Does MeerKatta store my Claude or ChatGPT login credentials?
No. CLI authentication stays entirely inside Claude Code or Codex CLI. MeerKatta only probes auth status during setup and invokes the local CLI binary—it never stores or displays your raw credentials or OAuth tokens.
Will Claude Code or Codex CLI run coding tasks or save dictation sessions to disk?
MeerKatta invokes both CLIs from macOS’s temporary working directory solely for text cleanup, with session-file persistence turned off so dictations don’t pile up as saved sessions on disk. On Claude Code, built-in tools (--tools ""), MCP servers, and slash commands are explicitly disabled (the background process stays warm in memory across dictations until shutdown or restart). On Codex CLI, MeerKatta runs non-interactive codex exec with --sandbox read-only, --ephemeral, --ask-for-approval never, and user configs and rules ignored.
Does CLI cleanup count against my subscription limits?
Yes. Dictation cleanup through Claude Code or Codex CLI uses your existing provider plan’s allowance and remains subject to Anthropic’s or OpenAI’s current terms and limits. It is not separate free or unlimited inference.
Do I still need a separate transcription provider?
Yes. Speech-to-text and text cleanup are separate stages. On Mac, you can pair CLI cleanup with built-in offline Apple Speech or On-device Whisper (no extra API keys), or with a cloud speech API like Groq, OpenRouter, or DeepInfra for higher raw accuracy.
Does CLI cleanup work on iPhone, iPad, or Apple Watch?
No. CLI cleanup depends on local macOS CLI binaries, so it is available on Mac only. An eligible purchase still unlocks MeerKatta across your Apple devices, where iPhone, iPad, and Apple Watch use managed AI or supported cloud API keys.
Try it with your existing CLI
Test CLI cleanup during the 7-day Mac trial first.
Download MeerKatta on Mac, open Providers & Keys, run Test on your installed Claude Code or Codex CLI, and dictate a real prompt or reply before deciding on Lifetime ($33 launch / $49 regular) or Managed Subscription.