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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Audio RAG ServerWhat were the main points discussed about the budget in yesterday's meeting recording?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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).Last updated3146MIT
- FlicenseBqualityDmaintenanceEnables audio file analysis using Google's Gemini multimodal models with support for additional context and system instructions to guide the model's behavior.Last updated1
- AlicenseAqualityDmaintenanceEnables 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.Last updated856MIT
- FlicenseAquality-maintenanceProvides access to Whissle AI services for speech-to-text, speaker diarization, translation, and text summarization. It enables users to process various audio formats and manage text content through natural language tools.Last updated5
Related MCP Connectors
Search 4M+ podcasts & YouTube, transcribe any episode, search transcripts, generate AI lessons.
AI-manageable audio CDN: upload, transcode, normalize, stream & deliver audio, plus grounded docs.
Search recordings, summarize meetings, create clips, and automate workflows from your AI assistant.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matheusslg/mcp-audio-rag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server