Whisper

v1.0.0Communicationstable

Enables advanced audio transcription, text-to-speech generation, and audio processing using OpenAI's Whisper and GPT-4o models with support for multiple audio formats, file management, and parallel processing.

mcp-server-whispermcpai-integration
Share:
54
Stars
0
Downloads
0
Weekly
0/5

What is Whisper?

Whisper is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables advanced audio transcription, text-to-speech generation, and audio processing using openai's whisper and gpt-4o models with support for multiple audio formats, file management, and parallel pr...

Enables advanced audio transcription, text-to-speech generation, and audio processing using OpenAI's Whisper and GPT-4o models with support for multiple audio formats, file management, and parallel processing.

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables advanced audio transcription, text-to-speech generat

Use Cases

Transcribe audio with OpenAI's Whisper model. Generate speech from text using GPT-4o audio capabilities.
arcaputo3

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 13, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-server-whisper

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Whisper

MCP Server Whisper is a Model Context Protocol server that exposes OpenAI's Whisper and GPT-4o audio models as AI-assistant tools for transcription, enhanced transcription, interactive audio chat, and text-to-speech generation. It supports all OpenAI audio formats (mp3, mp4, wav, webm, flac, ogg, m4a), automatic file compression for files over 25 MB, parallel tool calls, and multiple voice and speed options for TTS. Developers, content creators, and researchers use it to give Claude or other AI clients a full audio processing pipeline from a single, standardized interface.

Prerequisites

  • Python 3.10+ with uv installed
  • An OpenAI API key with access to Whisper and GPT-4o audio models
  • A directory of audio files accessible from the server's filesystem
  • An MCP-compatible client such as Claude Desktop
1

Clone the repository

Clone the mcp-server-whisper repository and change into the project directory.

git clone https://github.com/arcaputo3/mcp-server-whisper.git
cd mcp-server-whisper
2

Install dependencies with uv

Use uv to sync the project dependencies from the lock file.

uv sync
3

Create the .env file

Copy the provided example and fill in your OpenAI API key and the path to your audio files directory.

cp .env.example .env
# Edit .env:
# OPENAI_API_KEY=sk-...
# AUDIO_FILES_PATH=/path/to/your/audio/files
4

Launch Claude with environment variables loaded

The included .mcp.json config is designed for local development. Use dotenv-cli to load the .env file and launch Claude with the MCP server active.

bunx dotenv-cli -- claude
5

Add to Claude Desktop config for permanent setup

For Claude Desktop, add the server block to claude_desktop_config.json, supplying the env variables directly.

{
  "mcpServers": {
    "whisper": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-server-whisper",
        "run",
        "mcp-server-whisper"
      ],
      "env": {
        "OPENAI_API_KEY": "sk-your_openai_api_key",
        "AUDIO_FILES_PATH": "/path/to/your/audio/files"
      }
    }
  }
}

Whisper Examples

Client configuration

Claude Desktop config to run mcp-server-whisper with uv, passing the OpenAI key and audio directory path as environment variables.

{
  "mcpServers": {
    "whisper": {
      "command": "uv",
      "args": [
        "--directory",
        "/home/user/mcp-server-whisper",
        "run",
        "mcp-server-whisper"
      ],
      "env": {
        "OPENAI_API_KEY": "sk-your_openai_api_key",
        "AUDIO_FILES_PATH": "/home/user/audio"
      }
    }
  }
}

Prompts to try

Sample prompts that exercise the transcription, chat, and TTS tools.

- "Transcribe my latest audio file with detailed insights including tone and emotion."
- "List all MP3 files in my audio directory that are longer than 5 minutes."
- "Transcribe interview_2025.wav using the gpt-4o-transcribe model with word-level timestamps."
- "Chat with the audio file meeting.mp3 and summarize the key action items discussed."
- "Generate a text-to-speech audio file from this text using the 'alloy' voice at 1.2x speed: 'Welcome to our quarterly review.'"
- "Transcribe all files with 'podcast' in the filename and create professional transcripts for each."

Troubleshooting Whisper

Transcription fails with 'File too large' error

Files over 25 MB are automatically compressed by the compress_audio tool before transcription. If the error persists, call compress_audio explicitly on the file first, then transcribe the compressed output.

OPENAI_API_KEY not found at runtime

Environment variables must be present when Claude Desktop spawns the server process. Set them in the 'env' block of the MCP config, not only in your shell profile. Verify with: echo $OPENAI_API_KEY in your shell.

Audio chat tool returns 'Model not supported' for gpt-4o-mini-audio-preview

The README notes that gpt-4o-mini-audio-preview has limitations with audio chat and is not recommended. Use gpt-4o-audio-preview (the default) instead for the chat_with_audio tool.

Frequently Asked Questions about Whisper

What is Whisper?

Whisper is a Model Context Protocol (MCP) server that enables advanced audio transcription, text-to-speech generation, and audio processing using openai's whisper and gpt-4o models with support for multiple audio formats, file management, and parallel processing. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Whisper?

Follow the installation instructions on the Whisper GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Whisper?

Whisper works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Whisper free to use?

Yes, Whisper is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

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

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Whisper?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides