播客转录服务器

Reader MCP是一个基于Apple Silicon优化的播客转录服务器,支持说话人日记、填充词去除和多种导出格式。

  • by chaodoze
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 chaodoze/transcriber

使用说明

MCP阅读器

一个MCP(模型上下文协议)服务器,用于播客转录和演讲者日记,针对Apple Silicon进行了优化。

特性

  • 快速转录 使用mlx耳语(苹果硅优化)
  • 说话人日志 使用pyannote音频
  • 填充词删除 (嗯,嗯,就像,你知道的,等等。)
  • 说话者姓名识别 根据上下文
  • 多种导出格式 (TXT、SRT、VTT)

安装

# Clone the repository
git clone https://github.com/your-username/transcriber.git
cd transcriber

# Install dependencies
uv sync

# Set up environment
cp .env.example .env
# Edit .env with your HuggingFace token

配置

您需要一个HuggingFace令牌用于pyannote日记模型:

  1. 在以下位置创建帐户https://huggingface.co
  2. 接受条款https://huggingface.co/pyannote/speaker-diarization-3.1
  3. 在以下位置创建令牌https://huggingface.co/settings/tokens
  4. 添加 .env: HF_TOKEN=your_token_here

用法

使用克劳德桌面

添加到您的Claude桌面配置(~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "transcriber": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/transcriber", "transcriber"],
      "env": {
        "HF_TOKEN": "your_hf_token_here"
      }
    }
  }
}

使用克劳德代码

claude mcp add transcriber -- uv run --directory /path/to/transcriber transcriber

工具

转录_播客

带有说话者日记的完整转录。

transcribe_podcast(
    audio_path: str,      # Path to audio file
    language: str = "en", # Language code
    remove_fillers: bool = True,
    identify_speakers: bool = True
)

转录_快速

快速转录,无腹泻。

export_transcript

导出为TXT、SRT或VTT格式。

许可证

麻省理工学院