Audio Transcriber (OpenAI Whisper) MCP server

Provides speech-to-text transcription capabilities using OpenAI's Whisper API with configurable language settings and optional file saving
Back to servers
Provider
Ichigo3766
Release date
Mar 25, 2025
Language
TypeScript
Package
Stats
95 downloads
6 stars

This MCP server provides audio transcription capabilities by connecting to OpenAI's Speech-to-Text API. It allows you to easily transcribe audio files and configure output options through a standardized Model Context Protocol interface.

Installation

Prerequisites

  • Node.js installed on your system
  • An OpenAI API key

Setup Steps

  1. Clone the repository:

    git clone https://github.com/Ichigo3766/audio-transcriber-mcp.git
    cd audio-transcriber-mcp
    
  2. Install dependencies:

    npm install
    
  3. Build the server:

    npm run build
    
  4. Configure the server in your MCP environment:

    {
      "mcpServers": {
        "audio-transcriber": {
          "command": "node",
          "args": [
            "/path/to/audio-transcriber-mcp/build/index.js"
          ],
          "env": {
            "OPENAI_API_KEY": "your-openai-api-key-here",
            "OPENAI_BASE_URL": "", 
            "OPENAI_MODEL": "" 
          }
        }
      }
    }
    

    Note: Replace /path/to/audio-transcriber-mcp with the actual path where you cloned the repository. The OPENAI_BASE_URL and OPENAI_MODEL environment variables are optional.

Usage

Transcribing Audio Files

The server provides a single tool called transcribe_audio that can be used to transcribe audio files.

Basic Transcription

To transcribe an audio file, you need to provide the file path:

const transcription = await mcp.tool("transcribe_audio", {
  filepath: "/path/to/audio/file.mp3"
});

Advanced Options

You can customize the transcription with additional options:

const transcription = await mcp.tool("transcribe_audio", {
  filepath: "/path/to/audio/file.mp3",
  save_to_file: true,
  language: "es"
});

Available Parameters

  • filepath (required): Path to the audio file you want to transcribe
  • save_to_file (optional): Boolean flag to save the transcription to a file
  • language (optional): ISO-639-1 language code (e.g., "en" for English, "es" for Spanish)

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later