Whisper Mcp

io.github.jwulff由 GitHub 账号 jwulff 发布v0.1.1更新于 Oct 24, 2026

Local audio transcription using whisper.cpp. Transcribe with OpenAI Whisper models.

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

概览

AI 生成的概览

使用 whisper.cpp 在本机把音频文件转成文字的本地 MCP 服务器,让助手直接调用 Whisper 模型生成逐字稿。

可以做什么
转写本机音频文件,可选择模型、语言与输出格式(纯文本、时间戳或 JSON)并取得逐字稿。列出可用的 Whisper 模型及其下载状态。下载指定的 Whisper 模型到本机供离线转写使用。
适用场景
适合在 macOS 上把本机音频文件(例如语音备忘录)转成文字,且不希望音频上传到云端的情况。搭配语音备忘录相关服务器可组成完整流程。
运行要求
本机运行,需 macOS(在 Apple Silicon 上测试)、Node.js 18 以上,以及通过 Homebrew 安装的 whisper-cpp 与 ffmpeg;模型需先下载,存放于用户主目录下的 .whisper 文件夹。
安装前请注意
转写前需下载模型,较大模型达数 GB,会占用磁盘与网络流量。工具需传入音频文件的绝对路径,助手因此可读取本机文件;转写内容可能含敏感信息,请留意输出存放位置。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Whisper MCP Server

A lightweight MCP (Model Context Protocol) server for local audio transcription using whisper.cpp. There are several Whisper MCP implementations out there. This one is minimal and pairs with apple-voice-memo-mcp for a complete voice memo workflow.

Features

  • Local transcription - All processing happens on your machine
  • Multiple models - Choose from tiny, base, small, medium, or large models
  • Various formats - Supports wav, mp3, m4a, and other audio formats
  • Timestamps - Get transcriptions with or without timestamps

Requirements

  • macOS (tested on Apple Silicon)
  • Node.js 18+
  • whisper-cpp: brew install whisper-cpp
  • ffmpeg: brew install ffmpeg

Installation

bash
npm install -g whisper-mcp

Or run directly:

bash
npx whisper-mcp

Configuration

Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

json
{  "mcpServers": {    "whisper-mcp": {      "command": "npx",      "args": ["-y", "whisper-mcp"]    }  }}

After editing, restart Claude Desktop.

Claude Code (CLI)

For Claude Code, add to your project's .mcp.json file:

json
{  "mcpServers": {    "whisper-mcp": {      "command": "npx",      "args": ["-y", "whisper-mcp"]    }  }}

Or for user-wide configuration, add to ~/.claude/settings.json:

json
{  "mcpServers": {    "whisper-mcp": {      "command": "npx",      "args": ["-y", "whisper-mcp"]    }  }}

Tip: Use /mcp in Claude Code to verify the server is connected.

Local Development Setup

If running from source instead of npm:

json
{  "mcpServers": {    "whisper-mcp": {      "command": "node",      "args": ["/path/to/whisper-mcp/dist/index.js"]    }  }}

With Apple Voice Memos MCP

For a complete voice memo workflow, use alongside apple-voice-memo-mcp:

json
{  "mcpServers": {    "apple-voice-memo-mcp": {      "command": "npx",      "args": ["-y", "apple-voice-memo-mcp"]    },    "whisper-mcp": {      "command": "npx",      "args": ["-y", "whisper-mcp"]    }  }}

MCP Tools

transcribe_audio

Transcribe an audio file using Whisper.

Parameters:

  • file_path (required): Absolute path to the audio file
  • model (optional): Model to use (tiny.en, base.en, small.en, medium.en, large). Default: base.en
  • language (optional): Language code. Default: en
  • output_format (optional): text, timestamps, or json. Default: text

Example:

json
{  "file_path": "/path/to/audio.m4a",  "model": "medium.en",  "output_format": "timestamps"}

list_whisper_models

List available Whisper models and their download status.

Returns:

json
{  "models": [    {      "name": "base.en",      "size": "142 MB",      "downloaded": true,      "path": "/Users/you/.whisper/ggml-base.en.bin"    }  ]}

download_whisper_model

Download a Whisper model for local use.

Parameters:

  • model (required): Model to download (tiny.en, base.en, small.en, medium.en, large)

Models

ModelSizeSpeedQuality
tiny.en75 MBFastestBasic
base.en142 MBFastGood
small.en466 MBMediumBetter
medium.en1.5 GBSlowGreat
large2.9 GBSlowestBest

Models are stored in ~/.whisper/.

Workflow Example

  1. List your voice memos: list_voice_memos
  2. Get audio path: get_audio with memo ID
  3. Transcribe: transcribe_audio with the file path
  4. Save to your vault

Development

bash
# Clone and installgit clone https://github.com/jwulff/whisper-mcp.gitcd whisper-mcpnpm install
# Buildnpm run build
# Test with MCP inspectornpm run inspector

License

MIT

来源:README.md,提交 ad01999

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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