jackai-stt-mcp
Transcribes audio files by referencing them in chat, using OpenAI's speech-to-text models locally without uploading audio, and supports speaker diarization.
README
jackai-stt-mcp
Transcribe audio by asking for it in plain language:
You: transcribe ~/Downloads/voice.opus
Claude: تمام تمام، موضوع اللغة العربية إن شاء الله محلول…
An MCP server that runs on your own machine, so the assistant can open the file directly. Nothing to run, no commands to memorise — you mention a file and the assistant does the rest.
No uploading, no copying, no base64. Your OpenAI key never leaves your computer.
Arabic works well, including dialect.
Install
Add this to your MCP client's config. uvx fetches and runs the package on
first use — nothing to install by hand.
{
"servers": {
"jackai-stt": {
"command": "uvx",
"args": ["jackai-stt-mcp"],
"env": {
"OPENAI_API_KEY": "sk-proj-..."
}
}
}
}
Where the config lives:
| Client | File |
|---|---|
| VS Code | ~/Library/Application Support/Code/User/mcp.json (macOS) |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Code | .mcp.json in the project, or claude mcp add |
| Cursor | ~/.cursor/mcp.json |
Restart the client, then ask it to transcribe something.
Get an API key at platform.openai.com/api-keys. The account needs credit; transcription runs about $0.0045 per minute.
Usage
Nothing to run, no syntax to learn. Talk to the assistant the way you normally would and mention the file:
transcribe ~/Downloads/voice.opus
what does the voice note on my desktop say?
read ./recordings/call.m4a and summarise what the client is asking for
transcribe meeting.mp3 and tell me who said what
The assistant recognises that it needs this tool and fills in the arguments from what you said. You never call it yourself or write out its parameters.
That last example needs speaker labels, which only one model produces. Mention it in passing and the assistant picks it:
transcribe meeting.mp3 with the diarize model
Same for a language it keeps mishearing ("it's Egyptian Arabic"), or names it should spell correctly ("the speakers are Ahmad and Sara"). Ordinary words — the table below is just what those words map onto.
What the assistant fills in
You don't set these by hand; this is here so you know what it can control.
| Argument | Default | Notes |
|---|---|---|
file_path |
— | Path on this machine. Absolute, relative, or ~/.... |
audio_url |
— | Public http(s) URL, downloaded then transcribed. |
audio_base64 |
— | For short clips. Prefer file_path. |
model |
gpt-transcribe |
See the table below. |
language |
auto-detect | ISO-639-1 (ar, en). Set only if detection is wrong. |
prompt |
— | Names or jargon likely in the audio, to steer spelling. |
Exactly one audio source per request.
Models
| Model | Cost/min | Speaker labels |
|---|---|---|
gpt-transcribe (default) |
$0.0045 | no |
gpt-4o-mini-transcribe |
$0.003 | no |
gpt-4o-transcribe |
$0.006 | no |
gpt-4o-transcribe-diarize |
$0.006 | yes |
whisper-1 |
$0.006 | no |
gpt-transcribe is OpenAI's recommended model: cheaper than whisper-1 and
more accurate. There is no reason to pick whisper-1 unless you need it
specifically.
Formats
flac m4a mp3 mp4 mpeg mpga oga ogg wav webm — up to 25 MB.
.opus files work too. OpenAI rejects that extension even though the bytes are
what it accepts as .ogg, so this server renames it in flight. WhatsApp voice
notes are all .opus, which is exactly the case that would otherwise fail.
Why it runs locally
A remote MCP server cannot read a file you attached in chat. There is no mechanism in the protocol that carries attachments to a server — it has been an open issue since early 2025, and the proposals to add one are still drafts. Base64 through a tool argument works in theory but dies on client argument-size limits after a second or two of audio.
Running on your machine avoids all of it. The server is a process you own, reading a file you own, with a key you hold.
Development
git clone https://github.com/jack-ai-net/stt-mcp
cd stt-mcp
python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"
.venv/bin/python -m pytest
Tests stub the OpenAI call, so they need no API key and cost nothing.
License
MIT — see LICENSE.
Built by JackAI.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。