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 分