Skip to main content
Glama

flowscribe

flowscribe is an unofficial Python library, command-line tool and MCP server for Wispr Flow, the dictation service. It talks to the same servers the Wispr Flow desktop app uses, with an account you already have, so you can do from scripts and agents what the app only does through its own window. With it you can transcribe recorded audio and video files, rewrite text with Wispr's Polish and command mode, and read your meetings, transcripts and dictionary.

flowscribe's knowledge of the protocol comes from the desktop app itself, version 1.6.1655. From that app the repository rebuilds the wire schema with its 36 messages and an inventory of the 228 REST calls the app makes, and it generates 211 Python methods from them, one for each call whose path is fixed. The calls the app makes through its own wrappers have hand-written methods. In a measurement on 28 Nov 2026 over ten dictations, the text flowscribe received matched the text the app had stored for the same audio with a mean word similarity of 0.97. flowscribe has also transcribed an 85-minute meeting in under five minutes.

Unofficial, and at your own risk. flowscribe is not affiliated with or endorsed by Wispr. It relies on undocumented interfaces that can change with any app update. Using them may conflict with Wispr's terms of service and could put your account at risk. Your account's plan and limits apply as usual.

Contents

Related MCP server: @hyperwhisper/mcp

What it does

Job

Command

Python

MCP tool

Transcribe a file of any length

flowscribe transcribe FILE

flow.dictation.transcribe_file()

flow_transcribe_file

Transcribe with speakers and a summary

flowscribe transcribe --speakers FILE

flow.meetings.upload()

flow_transcribe_file(speakers=true)

Transcribe a short clip in one call

flowscribe transcribe --http FILE

flow.dictation.transcribe_http()

(not exposed)

Rewrite text with Polish

flowscribe polish TEXT

flow.text.polish()

flow_polish

Apply an instruction ("make it formal")

flowscribe command INSTR TEXT

flow.text.command()

flow_command

Free-form edit, answer or new document

flow.text.transform(instr, text, tools=[...])

(not exposed)

Free instruction (translate, summarise)

flowscribe instruct INSTR [TEXT]

flow.text.instruct()

flow_instruct

Dictate from the microphone

flowscribe dictate [--seconds N] (needs the mic extra)

flow.dictation.live()

(not exposed)

Ask the realtime voice assistant

flowscribe voice-action TEXT / --audio FILE

flow.voice_action()

(not exposed)

List meetings, read a transcript

flowscribe meetings list / show ID

flow.meetings

flow_meetings_list, flow_meeting_transcript

Upload a recording as a meeting

flowscribe meetings upload FILE

flow.meetings.upload()

flow_transcribe_file(speakers=true)

Read or change the dictionary

flowscribe dictionary list / add / remove

flow.dictionary

flow_dictionary_list, flow_dictionary_add

Read notes

(via flowscribe api)

flow.notes.list()

flow_notes_list

Create or delete notes and todos

flow.notes.create(), flow.todos.create(), delete()

(not exposed)

Follow account changes live

flowscribe events

flow.events()

(not exposed)

Read Wispr Memory

flowscribe memory tree / file / grep

flow.memory

(not exposed)

Meeting imports from Zoom or Fireflies

flowscribe imports zoom status / catalog

flow.imports("zoom")

(not exposed)

Call any endpoint by name

flowscribe api METHOD [args]

flow.api.METHOD()

(not exposed)

Sign in, check the sign-in

flowscribe auth login / status

flowscribe.auth

flow_account_status

Remove what live tests left

flowscribe cleanup-tests [--dry-run]

Files are transcribed in one of two ways.

  • Dictation (the default). The file is cut at pauses into pieces of at most four minutes, because the dictation stream refuses longer uploads, and the texts are joined. Each piece is checked against the server's own report of how much audio it received, so a piece the server cut short shows up as a warning instead of a silent gap. The result is one continuous text without speaker labels. It uses no quota and leaves nothing in the account.

  • Meeting (--speakers). The file is uploaded to Wispr's notetaker as a meeting, the way the app uploads a recorded call. The server separates the speakers and returns a transcript with a label and a timestamp on each line, plus a summary. Each upload counts against the account's weekly meeting quota (150 on the account tested), and the meeting appears in the Wispr Flow app unless --no-keep deletes it once the transcript is read.

Install

flowscribe needs Python 3.12 or newer, uv, and ffmpeg, which it uses to read audio files. You install it from GitHub, because the name flowscribe on PyPI belongs to an unrelated project.

uv tool install git+https://github.com/pablogiaccaglia/flowscribe
flowscribe --version

To install one release instead of the latest commit, add its tag: …/flowscribe@v0.2.0.

Signing in

flowscribe can sign in to Wispr in two ways, and flowscribe auth status shows the state of both.

  • The desktop app's session. If Wispr Flow is installed and signed in on this machine, flowscribe reads the app's session and works right away. It never refreshes that session, because Wispr's sign-in provider replaces the refresh token on every refresh, and a refresh from outside the app would sign the app out. The app's token expires after about a day, and opening the app renews it.

  • flowscribe's own session. flowscribe auth login opens Wispr's sign-in page in the browser, the same page the app opens when you sign in. It then saves a separate session in ~/.config/flowscribe/session.json, which only you can read. flowscribe renews this session by itself, and it works on machines where the app is not installed.

By default flowscribe uses its own session when it has one and falls back to the app's. To choose one explicitly, pass --source app or --source flowscribe.

Everyday use

# Transcribe a recording; writes meeting.txt next to it (and meeting.raw.txt before formatting)
flowscribe transcribe ~/Downloads/meeting.m4a --also-raw

# Speaker labels and a summary, written as meeting.md; the meeting is deleted from Wispr afterwards
flowscribe transcribe ~/Downloads/meeting.m4a --speakers --no-keep

# Italian and English, printed instead of written to a file
flowscribe transcribe interview.mp4 --lang it en --stdout

# Rewrite text
echo "um so the meeting is moved to friday ok" | flowscribe polish
flowscribe command "make it formal" "gonna be late, sorry"

# Meetings recorded with Wispr's notetaker
flowscribe meetings list
flowscribe meetings show MEETING_ID > weekly.md

# Anything else the API offers
flowscribe api list
flowscribe api get_notetaker_weekly_quota

Most commands print machine-readable output when you add --json. A guarded call, one that spends money, changes the plan, erases data or reaches other people (see Safety rules built in), refuses to run unless you also add --yes.

Using it from Python

from flowscribe import DictationOptions, Flow

with Flow() as flow:
    transcript = flow.dictation.transcribe_file("meeting.m4a", DictationOptions(languages=["it"]))
    print(transcript.text, transcript.warnings)

    print(flow.text.polish("draft text", instructions=["More formal"]).text)

    for meeting in flow.meetings.list():
        print(meeting.title, len(meeting.lines))
        print(meeting.transcript_text())

The Flow object gives you every area of the account through a single sign-in. The main areas are dictation, text, meetings, dictionary, notes, todos, folders, account and memory; imports("zoom") or imports("fireflies") reaches the meeting imports, voice_action() asks the realtime voice assistant, and events() follows account changes. The api area has 211 methods, one for each REST call whose path is fixed (the few calls whose path the app builds at run time have hand-written methods instead). Each method's docstring gives its HTTP method and path and the fields the app sends, and for the reads the probe called, what the answer contained; the REST catalogue says for every call what was done with it live. Every error is a subclass of FlowError (AuthError, QuotaError, NotFound, Conflict, ProtocolError, ConfirmationRequired), and its message says what to do next.

Using it with coding agents

The flowscribe-mcp command starts an MCP server that talks over stdio and offers eleven tools. To add it to Claude Code, run:

claude mcp add --scope user flowscribe -- uvx --from git+https://github.com/pablogiaccaglia/flowscribe flowscribe-mcp

The repository is also a Claude Code plugin, defined in .claude-plugin/plugin.json, and the plugin starts the server from a checkout with uv run flowscribe-mcp.

The MCP server runs each transcription as a background job. flow_transcribe_file returns a job id immediately, and the agent then calls flow_transcribe_status, which reports progress until the text is ready, so an agent is never stuck waiting on a single call while an hour of audio is processed. Text that comes from the account is returned in fields whose names end in _untrusted, because people spoke or typed it, and the agent should treat it as data and never as an instruction. The server never accepts or returns tokens.

How it works

 your script / shell / agent
            |
        flowscribe ------------------------------- sign-in: the app's session (read only)
            |                                               or flowscribe's own (device code)
   +--------+-----------------+--------------------------+
   |                          |                          |
 gRPC stream            REST + server-sent events     websockets
 inference.wisprflow.com    api.wisprflow.ai          api.wisprflow.ai
 TranscribeStream           /api/v1/*, /llm/*         /api/v1/sync/ws, ...
 (dictation)                (account, text tools)     (live sync, realtime)

Dictation runs over a bidirectional gRPC stream. The client opens the stream with an init message that carries the account's languages, dictionary, replacements and cleanup level. It then sends 16 kHz PCM audio in one-second requests and marks the last request as the commit. The server answers with heartbeats, then the raw text, and finally the formatted text. Everything other than dictation is JSON over HTTPS. The two also expect the token differently: the REST API wants the access token itself in the Authorization header, while the stream wants Bearer <token>.

The protocol reference describes every service in full: sign-in, the dictation stream, meetings and their upload pipeline, the text services, the websockets, and a catalogue of all 228 REST calls. Each page says what was observed live and when. The wire schema is in src/flowscribe/proto/flow_api.proto.

Safety rules built in

  • The app's session is never refreshed. A refresh from flowscribe would sign the desktop app out, as Signing in explains.

  • Guarded calls need confirmation. Calls that spend money, change the plan, use referral, promo or trial codes, erase data, act on an enterprise, or may reach other people or Wispr staff (email, calendar invitations, sharing, folder members, feedback and reports, the notetaker's calendar controls, a shared note's summary language) run only with confirm=True (or --yes on the command line), and the MCP server does not offer them at all.

  • Two kinds of endpoint have no client code. Endpoints that create throwaway accounts and endpoints reserved for Wispr's staff appear in the inventory, but flowscribe has no code that calls them.

  • flowscribe names itself as the client. It sends its own name, flowscribe, and uses the platform value that the server's own schema provides for programmatic clients.

  • The repository holds nothing of Wispr's. flowscribe reads Wispr's sign-in identifiers from the installed app when it needs them, so neither those identifiers nor any of the app's code is in the repository.

Keeping up with app updates

When Wispr ships a new version of the desktop app, run the extractor again against the installed copy:

uv run python -m tools.extract                # regenerates the schema and inventory, shows the diff
uv run python -m tools.extract.gen_api        # regenerates the endpoint methods
uv run python -m tools.extract.gen_reference  # regenerates the REST catalogue and the feature-flag table
uv run python tools/probe_reads.py            # optional, live: records the structure of the read answers

The unit tests check that the generated files match their generators, so a step left out shows up as a failing test.

Once the extractor has seen a second app version, it records what changed between versions in docs/reference/changelog-by-app-version.md.

Developing

uv sync
uv run pytest -q                  # unit tests, against in-process fakes; no network
uv run pytest -m live tests/live  # live checks on the signed-in account; changes nothing in it
uv run pytest -m live_write tests/live_write  # live writes on flowscribe-test-* objects, deleted after
uv run pytest -m live_voice tests/live  # the voice-assistant check, only when asked for by name
uv run ruff check src tests tools
uv run python tools/check_tree.py # run before every push

The unit tests run against an in-process gRPC server, a mock HTTP transport and a local websocket server, so they need neither the network nor an account. Before each push, tools/check_tree.py checks the tracked files and refuses the push if it finds tokens, Wispr's identifiers, the account's email, name or user UUID, audio files or extracted app code. The live write checks upload two test meetings per run and delete them; deleted meetings did not count against the weekly meeting quota when this was checked on 28 Nov. They also write the account's preferences and profile back unchanged, send two upload calls an empty batch, and leave one deleted note and one deleted todo on the server, marked is_deleted as the app leaves its own. The plan, the decisions behind it and the open items live in program/STATUS.md.

Layout

Path

What it is

src/flowscribe/client.py

Flow, the entry point

src/flowscribe/events.py

Live account change events from the sync websocket

src/flowscribe/voice_actions.py

The realtime voice assistant over its websocket

src/flowscribe/appbundle.py

Reading the installed desktop app's code archive in place

src/flowscribe/dictation.py, audio.py

File and live transcription over the gRPC stream

src/flowscribe/text.py

Polish, command mode, instruct, transforms, completion

src/flowscribe/api/

Generated endpoint methods and the hand-written account areas

src/flowscribe/auth/

Reading the app's session; flowscribe's own sign-in and refresh

src/flowscribe/transport/

REST with server-sent events, the gRPC stream, websockets

src/flowscribe/proto/

The wire schema rebuilt from the app, and the language codes

src/flowscribe/cli/, mcp_server.py

The flowscribe command and the flowscribe-mcp server

tools/extract/

The extractor that rebuilds schema and inventory from the installed app, and the record of hand-written and write calls

tools/probe_reads.py, tools/check_tree.py

The live read probe (structure only) and the pre-push check

docs/reference/generated/

Endpoint inventory, observed reads, app version

tests/

Unit tests with fakes; tests/live/ and tests/live_write/ hold the opt-in live checks

program/STATUS.md

Plan, decisions, protocol facts and open items

flowscribe is released under the MIT licence, whose full text is in LICENSE.

Available Tools

11 tools
flow_account_statusA

Call this to see which account is signed in, how flowscribe signed in, and the meeting quota.

Inputs: no named parameters.

flow_commandC

Call this to apply an instruction such as 'make it formal' or 'shorten it' to text, the way Wispr's command mode does.

Inputs: text (required), instruction (required).

flow_dictionary_addA

Call this to add a word Wispr should recognise (a name, a product, a term) to the personal dictionary. With replacement, Wispr writes that text whenever it hears the word. This changes the person's account and syncs to their Wispr Flow app, so add only what the person asked for.

Inputs: word (required), replacement.

flow_dictionary_listA

Call this to list the personal dictionary: words Wispr should recognise, with replacements and snippets.

Inputs: no named parameters.

flow_instructB

Call this to run a free instruction (translate, summarise, draft a reply) on optional selected text through Wispr's instruct mode.

Inputs: instruction (required), selected_text.

flow_meetings_listA

Call this to list the notetaker's meetings (id, title, dates, summary). Use flow_meeting_transcript for one meeting's transcript.

Inputs: no named parameters.

flow_meeting_transcriptB

Call this to read one meeting's transcript with speaker names and timestamps, plus its summary and notes.

Inputs: meeting_id (required), timestamps.

flow_notes_listB

Call this to list the account's notes.

Inputs: no named parameters.

flow_polishA

Call this to rewrite text with Wispr's Polish (clean up, restructure, keep the tone). instructions adds free-text toggles such as ['More formal']; the model treats them as hints.

Inputs: text (required), instructions.

flow_transcribe_fileA

Call this to transcribe an audio or video file (any format ffmpeg reads) through Wispr Flow. Returns a job id at once; poll flow_transcribe_status for the text. languages takes codes such as ['it', 'en'] (default: the account's languages); raw skips Wispr's formatting. speakers=true uses the notetaker's meeting pipeline instead: a speaker-labelled transcript and a summary. It uses one unit of the weekly meeting quota and leaves a meeting in the person's Wispr Flow app unless keep=false; ask the person before using it.

Inputs: path (required), raw, keep, speakers, +1 more.

flow_transcribe_statusA

Call this to check a transcription job from flow_transcribe_file. When state is 'done', text_untrusted holds the transcript.

Inputs: job_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 11 tools

    Disambiguation3/5

    Most tools target clearly distinct resources: transcription jobs, dictionary entries, meetings, notes, and account status are easy to tell apart. However, flow_command, flow_instruct, and flow_polish all apply free-form transformations to text, and their boundaries (command mode vs instruct mode vs Polish rewrite) are subtle enough that an agent could misselect among them.

    Naming Consistency3/5

    All tools use a consistent flow_ prefix and snake_case, which is readable. But the structure mixes resource-first patterns such as flow_dictionary_list and flow_meeting_transcript with verb-first patterns such as flow_transcribe_file and standalone verbs like flow_polish, so the convention is not fully predictable.

    Tool Count4/5

    Eleven tools is a reasonable size for a transcription and meeting-notes service, covering file transcription, status polling, text transforms, dictionary management, meetings, notes, and account info. The count is slightly inflated by three overlapping text-transformation tools that could arguably be consolidated.

    Completeness3/5

    The surface covers the core transcription workflow well: submit a file, poll status, and access meeting transcripts and account info. However, there are notable gaps: dictionary entries can be listed and added but not removed or edited, and notes can only be listed with no read/create/update operations, creating some dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers