Skip to main content

MCP server for processing audio and video files using Google's Gemini multimodal models

Project description

Gemini Audio MCP

A dedicated Model Context Protocol (MCP) server that provides high-quality audio and video transcription, summarization, and reasoning using Google's native multimodal Gemini models (gemini-1.5-flash).

Why this exists?

Most AI assistants (like Claude Code, Cursor, or local agents) rely on text inputs. If you want them to transcribe or process audio, you usually have to run local STT (Speech-to-Text) models like Whisper, which can be inaccurate, slow, or resource-heavy.

This MCP server connects your AI assistant directly to Google's Gemini 1.5 Flash multimodal API. Instead of just transcribing text, the file is processed natively by Gemini, allowing you to ask complex queries about the audio or video content (e.g., "Transcribe this", "Extract the action items", "Translate this Polish audio to an English summary").

Features

  • Native Multimodal Support: Uses gemini-1.5-flash to process the audio/video file directly.
  • Fast and Cheap: gemini-1.5-flash provides exceptional transcription quality without burning through API limits or hallucinating wildly.
  • Custom Prompts: Don't just transcribe – tell the model exactly what to extract from the audio.

Installation & Usage

You can use this MCP server with any compatible client (Claude Code, Cursor, Windsurf, etc.) using uvx.

1. Claude Code

Run the following command to add the server to Claude Code globally:

claude mcp add gemini-audio uvx gemini-audio-mcp

2. Cursor / Windsurf / Generic MCP Client

Add the following configuration to your client's MCP settings file (usually settings.json or claude.json):

{
  "mcpServers": {
    "gemini-audio": {
      "command": "uvx",
      "args": ["gemini-audio-mcp"],
      "env": {
        "GEMINI_API_KEY": "your_gemini_api_key_here"
      }
    }
  }
}

Environment Variables

The server requires a Google Gemini API key to function. Set the GEMINI_API_KEY environment variable in your terminal before launching your agent, or define it in your MCP configuration file.

Provided Tools

process_audio

Processes an audio or video file using Google's Gemini models.

Parameters:

  • file_path (string, required): The absolute path to the local audio or video file.
  • prompt (string, optional): Instructions for the model. Default is "Please transcribe this audio exactly as spoken."
  • model_name (string, optional): The Gemini model to use. Default is "models/gemini-1.5-flash".

License

Open Source (MIT)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemini_audio_mcp-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemini_audio_mcp-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file gemini_audio_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: gemini_audio_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gemini_audio_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 206600363f728cc8b928f44d46aeb0e1a2c462111e9201e3c9a801b7955b4c41
MD5 7e749d96a1f89948a8042f01145845f1
BLAKE2b-256 4dc1b13ef3e75c2eb896e3b7841e28dd7655d0a3ca97aa6f9e3133cb29e97be6

See more details on using hashes here.

File details

Details for the file gemini_audio_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gemini_audio_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gemini_audio_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19b31e0b813b38f4dcf75b55023274d000585d52b1e645c72cfeeab2363498ed
MD5 da961205d89eaa1378d4b770fcf7eb14
BLAKE2b-256 8d5995723afdb548b3d4227402eeb319201ff3a664db5a75780e763d98fc4e54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page