Skip to main content

Wyoming MLX Whisper

PyPI Python License Pre-commit

Wyoming protocol server for mlx-whisper speech-to-text on Apple Silicon.

Uses mlx-community/whisper-large-v3-turbo by default, which runs near real-time on M1 Pro and newer.

Available Models

Model Size Speed Quality
mlx-community/whisper-tiny 75 MB ⚡⚡⚡ Fastest Basic
mlx-community/whisper-small-mlx 481 MB ⚡⚡ Fast Good
mlx-community/whisper-large-v3-turbo 1.6 GB ⚡⚡ Near real-time Best (default)
mlx-community/whisper-large-v3-turbo-q4 464 MB ⚡⚡ Near real-time Near-best

Use --model <name> to select a different model. Use --initial-prompt <text> to guide recognition with custom vocabulary.

[ToC] 📚

Requirements

  • macOS with Apple Silicon (M1/M2/M3/M4)
  • Python 3.10-3.13 (3.14 not yet supported by numba)
  • uv (recommended) or pip

Installation

Using uvx (recommended, no install needed)

uvx --python 3.12 wyoming-mlx-whisper

Using pip

pip install wyoming-mlx-whisper
wyoming-mlx-whisper

Usage

Run directly

# With uvx (no install needed)
uvx --python 3.12 wyoming-mlx-whisper

# Or if installed with pip
wyoming-mlx-whisper

Run as macOS service (launchd)

Download and run the install script:

curl -fsSL https://raw.githubusercontent.com/basnijholt/wyoming-mlx-whisper/main/scripts/install_service.sh | bash

The server runs at tcp://localhost:10300 by default.

Uninstall the service:

curl -fsSL https://raw.githubusercontent.com/basnijholt/wyoming-mlx-whisper/main/scripts/uninstall_service.sh | bash

View logs:

tail -f ~/Library/Logs/wyoming-mlx-whisper/*.log

Options

See the output of wyoming-mlx-whisper --help

 Usage: wyoming-mlx-whisper [OPTIONS]

 Run the Wyoming MLX Whisper server.

╭─ Options ──────────────────────────────────────────────────────────────────────────────╮
│ --uri                               TEXT  unix:// or tcp://                            │
│                                           [env var: WHISPER_URI]                       │
│                                           [default: tcp://0.0.0.0:10300]               │
│ --model                             TEXT  Name of MLX Whisper model to use             │
│                                           [env var: WHISPER_MODEL]                     │
│                                           [default:                                    │
│                                           mlx-community/whisper-large-v3-turbo]        │
│ --language                          TEXT  Language code (e.g., 'en')                   │
│                                           [env var: WHISPER_LANGUAGE]                  │
│ --initial-prompt                    TEXT  Initial prompt to guide Whisper recognition  │
│                                           [env var: WHISPER_INITIAL_PROMPT]            │
│ --debug               --no-debug          Log DEBUG messages  [env var: WHISPER_DEBUG] │
│                                           [default: no-debug]                          │
│ --version                                 Print version and exit                       │
│ --help            -h                      Show this message and exit.                  │
╰────────────────────────────────────────────────────────────────────────────────────────╯

Home Assistant Integration

  1. Start the server (using any method above)
  2. In Home Assistant, go to Settings → Devices & Services → Add Integration
  3. Search for "Wyoming Protocol"
  4. Enter localhost (or your Mac's IP) and port 10300

The Whisper STT service will now be available for voice assistants.

Related Projects

  • agent-cli - Local-first AI-powered CLI agents for voice transcription, autocorrect, voice editing, and more. Uses wyoming-mlx-whisper as its default ASR backend on Apple Silicon.

Development

uv sync
uv run pre-commit install

Acknowledgements

Metadata

Release files for wyoming-mlx-whisper 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wyoming-mlx-whisper 1.5.0
File Size Uploaded
wyoming_mlx_whisper-1.5.0.tar.gz 104.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wyoming-mlx-whisper 1.5.0
File Interpreter ABI Platform
wyoming_mlx_whisper-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 114.1 kB

Release files / wyoming_mlx_whisper-1.5.0.tar.gz

Download URL wyoming_mlx_whisper-1.5.0.tar.gz
Size 104.7 kB
Tags Source
SHA-256 checksum
How to use checksums
81be86d1c4bbe346856e1b598590fc5693cbab50ec6e33312bbf21a0e53dd443
BLAKE2b-256 checksum
How to use checksums
a2190842f2d493c9b560bb600b7939821da37ea148ce9d17b07800bcd697620c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Release files / wyoming_mlx_whisper-1.5.0-py3-none-any.whl

Download URL wyoming_mlx_whisper-1.5.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6a93ef93b22217e99e63b62499618ccc0fb6dff598e6da24e59598a2d3fb5db
BLAKE2b-256 checksum
How to use checksums
0f26e39334ced10c577d9ceef684df034989e3b200043bbce878a64366638994
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page