Local Whisper

io.github.OrihuelaConde由 GitHub 账号 OrihuelaConde 发布v1.1.0更新于 Nov 4, 2026

Private audio and video transcription with Whisper on your own computer, on the GPU or CPU.

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

Local Whisper 在本机用 Whisper 转写音视频文件,让助手把语音备忘、会议和讲座私密地转成文字或字幕。

可以做什么
  • 把音频和视频文件转写为纯文本、SRT 字幕或带时间戳的 JSON 片段
  • 按请求选择模型、语言、输出格式、语音活动检测和专名提示
  • 查看当前使用的设备、已安装模型、进行中的下载、收件箱和允许的文件夹
  • 删除已下载的模型以释放磁盘空间
适用场景
适合希望助手转写语音备忘、会议、访谈或课堂录音,又不愿把音频上传到云端服务的场景,也适合有 GPU 的机器以加快速度。
运行要求
以本地可执行文件运行,支持 Windows 10 及以上(x64)、macOS(Apple Silicon 或 Intel)和 Linux(x64 或 arm64);x64 需支持 AVX2,Linux 需 OpenMP 运行库。使用 GPU 需 Vulkan 驱动或 Apple Silicon。ffmpeg 可选,用于 WAV、Ogg Opus 和 MP3 之外的格式。默认模型(约 900 MB)首次使用时从 Hugging Face 下载,可关闭。设置项为可选环境变量,如 LOCAL_WHISPER_MODEL、LOCAL_WHISPER_LANGUAGE 和 LOCAL_WHISPER_ALLOWED_ROOTS。
安装前请注意
服务器只读取允许文件夹和收件箱内的音频,并在转写后及存放超过一天后删除收件箱文件。除非将 LOCAL_WHISPER_AUTO_DOWNLOAD 设为 false,否则会联网从 Hugging Face 下载模型。日志记录耗时和错误而非转写内容,但错误条目可能包含失败文件的路径。发布文件未签名,macOS 上可能需要解除隔离。delete_models 会删除已下载的模型。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Local Whisper,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Local Whisper MCP]

Private, local audio transcription for Claude. Local Whisper is a Model Context Protocol (MCP) server that transcribes audio files with Whisper on your own computer, so voice notes, meetings, and lectures never leave it. It works in Claude Desktop, in Claude Code, and in claude.ai chats that run on your computer.

https://github.com/user-attachments/assets/dc71b178-b60d-457e-8f33-732696671c02

Features

  • Transcribes WAV, Ogg Opus (WhatsApp and Telegram voice notes), and MP3 files with no extra software. With ffmpeg on the PATH, it also reads M4A and FLAC.
  • Transcribes videos, such as MP4 and WebM files, when ffmpeg is installed: the server takes the audio track and ignores the picture. Turn a recorded meeting or class into text or subtitles without extracting the audio first.
  • Runs on the GPU through Vulkan on Windows and Linux and through Metal on Apple Silicon, and falls back to the CPU on its own. With the default model, large-v3-turbo-q8_0, an NVIDIA GeForce RTX 3080 transcribes a minute of audio in about one second.
  • Downloads the model the first time it's needed, checks it against the hash that Hugging Face publishes, and frees its memory, including GPU memory, after 5 minutes without use.
  • Returns plain text, SubRip subtitles (SRT), or JSON segments with timestamps.
  • Skips silence with voice activity detection on clean recordings, which keeps timestamps exact, and transcribes everything when background noise could hide quiet speech.
  • Ships as one native executable per platform: there's no Python or .NET runtime to install.

Install

Find your system in the following table, and download the file for the app where you use Claude. Each link downloads the file from the latest release.

SystemClaude DesktopClaude Code
Windows (x64)Download (.mcpb)Download (.zip)
macOS with Apple SiliconDownload (.mcpb)Download (.tar.gz)
macOS with an Intel processorDownload (.mcpb)Download (.tar.gz)
Linux (x64)Download (.mcpb)Download (.tar.gz)
Linux (arm64)Download (.mcpb)Download (.tar.gz)
Any system: the skill (optional)Download (.zip)Install the plugin

The skill tells Claude when and how to use the server. For more information, see The skill.

To check which Mac you have, choose Apple menu > About This Mac. A Chip line that starts with Apple, such as Apple M2, means Apple Silicon. A Processor line that names Intel means an Intel processor.

Claude Desktop for Linux is a beta for Ubuntu and Debian.

To verify a download, compare its SHA-256 hash with the one in SHA256SUMS.txt, on the releases page.

Claude Desktop

To add Local Whisper to Claude Desktop, install its extension:

  1. Download the extension for your system from the table in Install.
  2. Open the file. Claude Desktop shows the extension's details.
  3. Click Install.
  4. Optional: In the extension's settings, choose the folders with your audio, the model, and the language.

Claude Code

To add Local Whisper to Claude Code, register the executable as an MCP server:

  1. Download the archive for your system from the table in Install, and extract it to a folder that you keep.

  2. Run the following command:

    bash
    claude mcp add local-whisper -- PATH_TO_EXECUTABLE

    Replace PATH_TO_EXECUTABLE with the full path of local-whisper-mcp (or local-whisper-mcp.exe on Windows) in that folder.

To change a setting, add it to the command as an environment variable, for example claude mcp add local-whisper -e LOCAL_WHISPER_LANGUAGE=es -- PATH_TO_EXECUTABLE.

claude.ai chats on your computer

A claude.ai chat reaches the server through the Claude desktop app on your computer:

  1. Install the extension in Claude Desktop, as described in Claude Desktop.
  2. When you start a chat in claude.ai, click + in the message box, choose Devices, and pick your computer under Run tasks on. The computer has to be on, with the Claude desktop app open.
  3. Attach the audio and ask Claude to transcribe it. Claude copies the file into the server's inbox folder, and the server deletes the copy after transcribing it.

The skill

The skill is optional, and recommended. The server works without it, but the skill tells Claude when to use the server, how to pass it a chat attachment, and what to tell you when the server isn't reachable. Without it, a claude.ai chat that doesn't run on your computer can't see the server and may try to transcribe the audio in the cloud instead of telling you how to connect it.

To add the skill to claude.ai and Claude Desktop, download local-whisper-skill.zip and upload it in Settings > Capabilities, under Skills.

To add the skill to Claude Code, install the local-whisper plugin from the orihuelaconde marketplace. First, add the marketplace:

bash
claude plugin marketplace add OrihuelaConde/claude-plugins

Then install the plugin:

bash
claude plugin install local-whisper@orihuelaconde

The plugin carries only the skill; register the server as described in Claude Code.

Use

Ask Claude in your own words. For example:

  • "Transcribe the voice note I just attached."
  • "Transcribe C:\Users\me\Recordings\meeting.m4a and summarize the decisions."
  • "Make Spanish subtitles for ~/Videos/class.mp4."
  • "Transcribe the interview with Mirtha Legrand from her lunch show."

Video files are much larger than audio files. When a video is already on your computer, give Claude its path instead of attaching it to the chat, so it doesn't have to travel through the chat and back.

The server provides three tools:

ToolWhat it does
transcribeTranscribes an audio or video file. Its parameters are path (absolute), model, language, format (txt, srt, or json), vad, and hints.
statusReports the device in use, the installed models and their sizes, downloads in progress, the inbox, the allowed folders, and the log folder.
delete_modelsDeletes downloaded models to free disk space. Its description tells Claude to confirm with you first.

When you name the people, places, or products in a recording, Claude can pass up to about eight of them to transcribe as hints, and Whisper spells them the way you wrote them. Hints help most with uncommon names, which Whisper otherwise spells by ear. The server takes hints from version 1.1.0.

Configure

The Claude Desktop extension shows these settings on its page. For Claude Code and other MCP clients, set them as environment variables:

VariableDefaultDescription
LOCAL_WHISPER_MODELlarge-v3-turbo-q8_0Any model from whisper.cpp's model list, by name (base) or file name (ggml-base.bin).
LOCAL_WHISPER_LANGUAGEautoA language code such as en or es, or auto to detect it.
LOCAL_WHISPER_USE_GPUtruefalse runs only on the CPU.
LOCAL_WHISPER_RUNTIMEautoauto, cpu, or vulkan. A runtime that can't load falls back to the CPU.
LOCAL_WHISPER_IDLE_MINUTES5Minutes without use before the model leaves memory. 0 frees it after every transcription.
LOCAL_WHISPER_ALLOWED_ROOTSYour user folderFolders the server may read audio from, separated by ; on Windows and : elsewhere. The --allowed-roots DIR... option replaces it.
LOCAL_WHISPER_INBOX_DIR~/.local-whisper-mcp/inboxFolder for audio that clients copy to the computer. The server deletes each file there after transcribing it.
LOCAL_WHISPER_MODELS_DIR~/.local-whisper-mcp/modelsFolder for the downloaded models.
LOCAL_WHISPER_AUTO_DOWNLOADtruefalse stops the server from downloading missing models.
LOCAL_WHISPER_THREADSUp to 8CPU threads for transcription.
LOCAL_WHISPER_FFMPEGFound automaticallyFull path of the ffmpeg executable. Without it, the server looks on the PATH and in the folders of winget, Scoop, Chocolatey, Homebrew, and MacPorts.

To download a model before its first use, for example on a slow connection, run the executable with the download command:

bash
local-whisper-mcp download large-v3-turbo-q8_0

Privacy

  • Transcription runs on your computer. The server goes online only to download models from Hugging Face, which you can turn off with LOCAL_WHISPER_AUTO_DOWNLOAD=false.
  • The server reads audio only inside the allowed folders and the inbox, and it deletes only files in the inbox: each one after transcribing it, and any left there for more than a day.
  • The log in ~/.local-whisper-mcp/logs records timings, settings, and errors, never transcripts. Routine entries leave out file names, but an error entry can include the path of the file that failed, so review the log before you share it. The server keeps a week of logs.

Requirements

  • Windows 10 or later (x64), macOS (Apple Silicon or Intel), or Linux (x64 or arm64).
  • On x64, a processor with AVX2.
  • For the GPU: a Vulkan driver on Windows and Linux x64, or Apple Silicon for Metal. Without one, the server uses the CPU.
  • On Linux, the OpenMP runtime: sudo apt install libgomp1 on Debian and Ubuntu.
  • Optional: ffmpeg, for formats other than WAV, Ogg Opus, and MP3.

The release files aren't signed. On macOS, if Gatekeeper blocks the executable from the archive, allow it with xattr -dr com.apple.quarantine FOLDER, where FOLDER is the extracted folder.

Troubleshoot

  • The first transcription takes minutes. The server is downloading the model, about 900 MB for the default one. Claude can follow the download with the status tool.
  • The first transcription on a Mac with Apple Silicon takes about 15 seconds more. macOS compiles the GPU shaders once per computer.
  • Parts of a recording are missing. Ask Claude to transcribe it again with vad set to false.
  • A long recording repeats a phrase over and over in the transcript. If Claude passed hints, ask it to transcribe the recording again without them.
  • Something else fails. Check today's file in ~/.local-whisper-mcp/logs.

Build from source

You need the .NET 10 SDK and the Native AOT prerequisites for your system. To run the tests, publish the server, and pack the Claude Desktop extension, run these commands from the repository root:

bash
dotnet test --project tests/LocalWhisperMcp.Tests
bash
dotnet publish src/LocalWhisperMcp -c Release -r win-x64 -o out
bash
pwsh packaging/mcpb/pack.ps1 -Rid win-x64 -PublishDir out

Replace win-x64 with the runtime identifier of your system: osx-arm64, osx-x64, linux-x64, or linux-arm64. Native AOT builds only for the system it runs on.

Design notes

The measurements behind the server's design are in the repository:

  • Proof-of-concept results: why the server is a C# Native AOT executable with Whisper.net, and how the default model, the GPU backend, and the audio decoders were chosen.
  • Gemma 4 as an alternative engine: Gemma 4 E2B, E4B, and 12B compared with Whisper on public test sets with reference transcripts. Whisper stays the only engine: it makes fewer errors, and on computers without a GPU the Whisper small model matches Gemma 4.
  • Hints: what passing the names in a recording as a Whisper prompt does to the transcript, and why the list is limited to 120 characters.

License

Local Whisper is released under the MIT License. It includes components under their own licenses, listed in THIRD-PARTY-NOTICES.txt.

Local Whisper is an independent project, not affiliated with or endorsed by Anthropic or OpenAI. Claude is a trademark of Anthropic, PBC, and this project uses the name only to say which apps it works with.

来源:README.md,提交 00ead94

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

2
  1. v1.1.0最新Nov 4, 2026
  2. v1.0.0Oct 9, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分