Skip to main content
Glama
dropbox-transcripts-mcp

dropbox-transcripts-mcp

by pedraum

dropbox-transcripts-mcp

一个 MCP 服务器,用于索引存储在 Dropbox 中的纯文本播客转录稿,并使其能够在 Claude Code 中进行搜索。当添加新的转录稿时会自动同步。

功能

  • 将 Dropbox 文件夹中的所有 .txt 转录稿缓存到本地 SQLite 数据库中,并支持全文搜索 (FTS5)

  • 每隔 N 小时轮询一次 Dropbox,并自动索引新增或更改的文件

  • 为 Claude Code 提供四个工具:列出、检索、搜索和手动同步

Related MCP server: transcript-search

前置要求

  • Python 3.10+

  • uv (macOS 上使用 brew install uv)

  • 一个 Dropbox 账户,且转录稿存放在某个文件夹中(默认:/Podcasts/Lenny)

设置

1. 创建 Dropbox 应用

  1. 前往 https://www.dropbox.com/developers/apps

  2. 点击 Create app

  3. 选择 Scoped access 和 Full Dropbox

  4. 随意命名(例如 transcripts-mcp)

  5. 在 Permissions 选项卡下,启用:

    • files.metadata.read

    • files.content.read

  6. 从 Settings 选项卡复制 App Key 和 App Secret

2. 运行身份验证设置

uvx --from git+https://github.com/YOUR_USERNAME/dropbox-transcripts-mcp dropbox-transcripts-setup

这将引导你完成 OAuth 流程并打印出你的 DROPBOX_REFRESH_TOKEN。它还会打印出需要粘贴到 Claude Code 设置中的确切 MCP 配置块。

3. 添加到 Claude Code

编辑 ~/.claude/settings.json 并添加:

{
  "mcpServers": {
    "transcripts": {
      "command": "uvx",
      "args": [
        "--from", "git+https://github.com/YOUR_USERNAME/dropbox-transcripts-mcp",
        "dropbox-transcripts-mcp"
      ],
      "env": {
        "DROPBOX_APP_KEY": "your_app_key",
        "DROPBOX_APP_SECRET": "your_app_secret",
        "DROPBOX_REFRESH_TOKEN": "your_refresh_token",
        "DROPBOX_FOLDER_PATH": "/Podcasts/Lenny"
      }
    }
  }
}

Claude Code 首次启动服务器时,它将同步 Dropbox 中的所有转录稿。后续同步会在后台每 6 小时(可配置)自动进行一次。

配置

所有配置均通过环境变量进行:

变量

必需

默认值

描述

DROPBOX_APP_KEY

是

Dropbox 应用密钥

DROPBOX_APP_SECRET

是

Dropbox 应用密钥密码

DROPBOX_REFRESH_TOKEN

是

OAuth 刷新令牌

DROPBOX_FOLDER_PATH

否

/Podcasts/Lenny

Dropbox 中转录稿文件夹的路径

SYNC_INTERVAL_HOURS

否

6

轮询 Dropbox 更改的频率

DB_PATH

否

~/.dropbox-transcripts-mcp/transcripts.db

本地 SQLite 数据库路径

文件命名规范

转录稿文件应命名为 Guest Name.txt。文件名(不含 .txt)将成为 get_episode 使用的剧集标识符,并显示在 list_episodes 中。

示例:Adam Fishman.txt, Elena Verna 2.0.txt

可用工具

工具

描述

list_episodes_tool

列出所有已索引的剧集及上次同步时间

get_episode_tool

按嘉宾姓名获取完整转录稿(支持部分匹配)

search_transcripts_tool

带有高亮片段的全文搜索。支持带引号的短语、AND/OR 逻辑、前缀通配符 (retain*)

sync_tool

手动触发 Dropbox 同步

许可证

MIT

Available Tools

4 tools
get_episode_toolA

Get the full transcript for an episode by guest name. Supports partial matches: 'Fishman' will find 'Adam Fishman'.

Inputs: name (required). Returns: result

list_episodes_toolA

List all available podcast transcript episodes.

Inputs: no named parameters. Returns: result

search_transcripts_toolA

Full-text search across all transcript content. Returns matching episodes with highlighted snippets. Supports quoted phrases, AND/OR operators, and prefix wildcards (e.g. 'retain*').

Inputs: query (required), limit. Returns: result

sync_toolA

Manually trigger a sync from Dropbox to update the local transcript index.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: listing episodes, retrieving a specific transcript, full-text search, and triggering a sync. No overlap or ambiguity.

    Naming Consistency4/5

    Most tools follow a verb_noun_tool pattern (get_episode_tool, list_episodes_tool, search_transcripts_tool, sync_tool). However, there is inconsistency in pluralization: 'get_episode' (singular) vs. 'list_episodes' and 'search_transcripts' (plural).

    Tool Count5/5

    Four tools is well-scoped for a server focused on podcast transcripts. Each tool serves a necessary function without redundancy or deficiency.

    Completeness5/5

    The tool set covers all core operations for a transcript reader: listing available episodes, retrieving a specific transcript, searching across content, and syncing the index. No obvious gaps for the intended use case.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      An MCP server that makes Claude Code conversation history searchable and proactively useful by indexing past sessions with hybrid BM25+TF-IDF search, extracting decisions and solutions, and auto-injecting relevant project context at session start.
      9
      10 npm
      69
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server that indexes Claude.ai chats and local Claude Code sessions, enabling semantic and keyword search across all your conversations with Claude.
      6
      53 PyPI
      5
      MIT