MCP Audio RAG Server
Uses Google's Gemini AI models to transcribe audio files into text, with multiple model options available for different quality and speed requirements.
Stores audio transcriptions in a Supabase database with pgvector for semantic search capabilities, enabling natural language queries across transcribed audio content.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Audio RAG Server
Transform your audio files into a searchable knowledge base using AI. Ask Claude questions about your meetings, podcasts, lectures, or any audio content.
What is this?
This is an MCP (Model Context Protocol) server that lets you:
Transcribe any audio file using Google's Gemini AI
Store the transcriptions in a searchable database
Search through all your audio content using natural language
Once set up, you can simply ask Claude things like:
"What did they discuss about the budget in my meeting recording?"
"Find mentions of machine learning in my podcast collection"
"What were the key points from yesterday's lecture?"
Related MCP server: Gemini Audio Upload
How It Works
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Audio File │ ──▶ │ Gemini │ ──▶ │ Chunking │ ──▶ │ Supabase │
│ (.mp3, etc) │ │ Transcribe │ │ + Embedding │ │ (pgvector) │
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
│
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ Claude │ ◀── │ Results │ ◀── │ Search │ ◀──────────┘
│ Response │ │ + Snippets │ │ Query │
└─────────────┘ └─────────────┘ └─────────────┘Quick Start
Prerequisites
Node.js 18+ - Download here
Gemini API Key - Get one free
Supabase Account - Sign up free
Step 1: Clone & Install
git clone https://github.com/matheusslg/mcp-audio-rag.git
cd mcp-audio-rag
npm installStep 2: Set Up Supabase Database
Create a new project at supabase.com
Go to SQL Editor in your dashboard
Paste and run the contents of
supabase/schema.sql
Step 3: Get Your API Keys
Supabase (Settings → API):
Copy Project URL →
SUPABASE_URLCopy service_role key →
SUPABASE_SERVICE_KEY
Google AI Studio:
Create key at aistudio.google.com/apikey →
GEMINI_API_KEY
Step 4: Configure
cp .env.example .envEdit .env:
GEMINI_API_KEY=your-key-here
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_KEY=your-service-role-keyStep 5: Add to Claude
For Claude Code CLI (~/.claude.json):
{
"mcpServers": {
"audio-rag": {
"command": "npx",
"args": ["tsx", "/full/path/to/mcp-audio-rag/src/server.ts"],
"env": {
"GEMINI_API_KEY": "your-key",
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_SERVICE_KEY": "your-service-role-key"
}
}
}
}For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):
Same config as above.
Usage
Transcribe Audio
Just tell Claude to transcribe a file:
Transcribe /path/to/meeting.mp3Want to use a specific model? Just ask:
Transcribe /path/to/lecture.m4a using gemini-2.5-proSearch Your Audio
Ask natural questions:
What did they say about the project timeline?
Search for mentions of "budget" in my recordings
Find discussions about AI in my podcastsManage Your Library
List all my transcribed audio files
Delete the recording from last week
Get the full transcript of meeting.mp3
Summarize the podcast episodeAvailable Models
Model | Best For |
| Default - Fast & accurate, great balance |
| Fastest, cheapest - good for bulk processing |
| Best quality - complex audio, multiple speakers |
| Newest - cutting edge capabilities |
| Reliable - previous generation |
| Fast - previous generation |
Supported Audio Formats
.mp3 .mp4 .m4a .wav .webm .mpeg .mpga
Available Tools
Tool | Description |
| Transcribe and store an audio file |
| Search through your audio using natural language |
| List all transcribed audio files |
| Get the complete transcript of a file |
| Generate an AI summary of a transcript |
| Remove a transcribed file from the database |
Troubleshooting
Problem | Solution |
"No relevant segments found" | Try rephrasing your search, or check if audio was ingested |
"Missing environment variable" | Check your |
Supabase errors | Make sure you're using |
Slow transcription | Use |
Support This Project
If this project saved you time or helped you out, consider buying me a coffee!
License
MIT - Use it however you want!
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Transcribe audio and video files. Search, read, export and translate your transcripts.
Transcribe audio, video and YouTube links, then search, summarize and export your transcripts.
Turn YouTube videos and audio or video files into searchable, exportable transcripts.
Search speech in podcasts, government meetings, and your own audio: speakers, entities, timestamps.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables creation and querying of knowledge bases using Google's Gemini API File Search feature, allowing AI applications to upload documents and retrieve information through RAG (Retrieval-Augmented Generation).312 npm6MIT
- FlicenseBqualityDmaintenanceEnables audio file analysis using Google's Gemini multimodal models with support for additional context and system instructions to guide the model's behavior.1-

Diktuy MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables assistants to search meetings, transcripts and dictations, gather decisions and action items by person and deadline, locate who said what and when, and transcribe audio or video from links or files. Sign-in is via OAuth account access, with reading free and transcription charged per minute.MIT- AlicenseAqualityCmaintenanceEnables Claude Desktop to ask natural-language questions about local audio and video files by sending them to Google Gemini for analysis.2MIT