Speech Mine
БесплатноНе проверен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 wel
Описание
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
Установить Speech Mine в Claude Desktop, Claude Code, Cursor
unyly install speech-mineСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add speech-mine -- uvx --from git+https://github.com/WISCLab/speech-mine speech-mineПошаговые гайды: как установить Speech Mine
FAQ
Speech Mine MCP бесплатный?
Да, Speech Mine MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Speech Mine?
Нет, Speech Mine работает без API-ключей и переменных окружения.
Speech Mine — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Speech Mine в Claude Desktop, Claude Code или Cursor?
Открой Speech Mine на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
ARA
Generate images, video and audio from any AI agent — one connector.
автор: 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/
автор: buildwithtazaYouTube
Transcripts, channel stats, search
автор: YouTubeEverArt
AI image generation using various models.
автор: 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
автор: 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,
автор: 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.
автор: merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
автор: SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
автор: YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
автор: AceDataCloudCompare Speech Mine with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории media
