Speech Mine
FreeNot checkedWorking towards an MCP setup that allows humans to format audio with an agent in the loop. Useful for repetitive audio formatting tasks where the content is wel
About
Working towards an MCP setup that allows humans to format audio with an agent in the loop. Useful for repetitive audio formatting tasks where the content is well defined.
README
A Python toolkit for formatting audio snippets with an agent in the loop. Built on WhisperX; extract word-level, forced-aligned, speaker-labeled CSVs from audio, then search, format, and chunk them.
[!IMPORTANT] Versions below
1.0.0are considered unstable; APIs, CLI flags, and output formats may change without notice between releases. Pin an exact version if you need stability, and review the changelog before upgrading. Feedback, bug reports, and feature requests are very welcome; please open an issue.
Modules
| Module | Description | Docs |
|---|---|---|
extract |
Transcribe audio with speaker diarization | → |
format |
Format CSV transcripts into readable scripts | → |
chunk |
Split audio into segments via YAML config | → |
search |
Fuzzy search transcripts by word or phrase | → |
Installation
# Install uv (skip if already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone the repository
git clone https://github.com/beckettfrey/speech-mine
cd speech-mine
# Install dependencies into a local virtualenv
uv sync
[!IMPORTANT] A
.envfile (e.g. holdingHF_TOKENfor the integration test suite) is intended for local development only. Never feed.envcontents to an LLM, paste them into a chat, commit them, or expose them as MCP tool inputs. Tokens placed in conversation context can be logged, cached, or echoed back into tool calls.
Quick Start
# 1. (Optional) Chunk a long recording into segments
uv run speech-mine chunk recording.wav chunks.yaml chunks/
# 2. Extract a transcript
uv run speech-mine extract interview.mp3 output.csv \
--hf-token YOUR_TOKEN \
--num-speakers 2 \
--compute-type float32
# 3. Format into a readable script
uv run speech-mine format output.csv script.txt
# 4. Search it
uv run speech-mine search "topic of interest" output.csv --pretty
# 5. (Optional) Chunk the recording again around segments of interest
uv run speech-mine chunk recording.wav segments.yaml clips/
MCP Server
speech-mine includes an MCP server that exposes all tools to Claude Code and other MCP clients.
Install globally (no clone needed):
claude mcp add speech-mine --env HF_TOKEN=your_huggingface_token -- uvx --from speech-mine speech-mine-mcp
This pulls the latest published version from PyPI via uvx. After running it, restart Claude Code — the search_transcript, extract_audio, chunk_audio, and other tools will be available in your session.
Documentation
# Serve docs locally
uv run mkdocs serve
Or browse the docs/ folder directly.
License
MIT
Install Speech Mine in Claude Desktop, Claude Code & Cursor
unyly install speech-mineInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add speech-mine -- uvx --from git+https://github.com/WISCLab/speech-mine speech-mineStep-by-step: how to install Speech Mine
FAQ
Is Speech Mine MCP free?
Yes, Speech Mine MCP is free — one-click install via Unyly at no cost.
Does Speech Mine need an API key?
No, Speech Mine runs without API keys or environment variables.
Is Speech Mine hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Speech Mine in Claude Desktop, Claude Code or Cursor?
Open Speech Mine on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
by gpu-bridgehamflx/imagen3-mcp
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,
by hamflxmerterbak/Grok-MCP
MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
by SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
by YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
by AceDataCloudCompare Speech Mine with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
