@heardraft/mcp
by victor0210
README.md
# `@heardraft/mcp` & HearDraft Agent Skills
Standalone Model Context Protocol (`stdio`) server and reusable `SKILL.md` playbooks for turning audio/video recordings and HearDraft exports into source-grounded deliverables inside **Claude Code**, **Cursor**, **Codex**, and **Claude Desktop**.
Documentation: [https://heardraft.com/developers/mcp/](https://heardraft.com/developers/mcp/) · Standalone repository: [https://github.com/victor0210/heardraft-mcp](https://github.com/victor0210/heardraft-mcp)
## Capability Modes (Important)
`@heardraft/mcp` splits cleanly into two sets of tools:
1. **Offline Transcript & Subtitle Tools (No API key required — works on any HearDraft plan, including Free)**
- `heardraft_search_exported_transcripts`: Search across locally exported `.json`, `.srt`, `.vtt`, `.md`, and `.txt` files with timestamps and surrounding context.
- `heardraft_inspect_subtitles`: QA `.srt` or `.vtt` subtitle files for overlapping cues, broken timecodes, empty cues, lines > 42 characters, and reading speeds > 22 chars/sec.
- `heardraft_convert_transcript`: Convert HearDraft JSON (workspace export or API v1 JSON), SRT, or VTT into timestamped Markdown, plain TXT, SRT, or WebVTT.
2. **Cloud Transcription Tools (Requires `HEARDRAFT_API_KEY` from an active annual Starter or Team plan)**
- `heardraft_submit_transcription`: Upload a local audio/video file (up to 100 MB) to `POST /api/v1/transcriptions`, sync it into your HearDraft web workspace, and optionally wait for completion.
- `heardraft_get_transcription`: Fetch status and millisecond-timestamped segments from `GET /api/v1/transcriptions/{id}`.
> **Plan boundary**: HearDraft API v1 keys require an active paid **annual** Starter (`$96/yr`) or Team (`$239.40/seat/yr`) plan. If you use HearDraft Free or monthly plans, transcribe and export JSON/SRT/VTT/Markdown from the web workspace and point `@heardraft/mcp`'s offline tools at your export folder.
---
## Quick Setup
Requires **Node.js >= 24.0.0**.
### Build locally from this monorepo
```bash
npm run build --workspace=@heardraft/mcp
```
### Claude Code, Cursor & Claude Desktop (`mcpServers`)
```json
{
"mcpServers": {
"heardraft": {
"command": "npx",
"args": ["-y", "@heardraft/mcp"],
"env": {
"HEARDRAFT_API_KEY": "hd_live_your_workspace_key"
}
}
}
}
```
When developing inside this repository before publishing to npm, point `command` and `args` directly at the compiled CLI:
```json
{
"mcpServers": {
"heardraft": {
"command": "node",
"args": ["/ABS/PATH/TO/vcrib/packages/mcp/dist/cli.js"],
"env": {
"HEARDRAFT_API_KEY": "hd_live_your_workspace_key"
}
}
}
}
```
### Codex (`~/.codex/config.toml`)
```toml
[mcp_servers.heardraft]
command = "npx"
args = ["-y", "@heardraft/mcp"]
[mcp_servers.heardraft.env]
HEARDRAFT_API_KEY = "hd_live_your_workspace_key"
```
*(Omit `HEARDRAFT_API_KEY` if you only need the offline export-search, subtitle-QA, and transcript-conversion tools.)*
---
## Included Agent Skills (`packages/mcp/skills/`)
Copy any folder from `packages/mcp/skills/` into your agent's skills directory (for example `~/.codex/skills/`, `~/.claude/skills/`, or `.agents/skills/`):
1. `interview-evidence-brief`: Synthesize multiple exported or API-transcribed interviews into an evidence matrix with verbatim quotes, participant attribution, explicit gaps, and timestamps.
2. `podcast-publishing-pack`: Turn one episode transcript into timestamped chapters, show notes, verified guest pull-quotes, and QA-checked SRT/VTT captions.
3. `meeting-decision-audit`: Separate confirmed decisions, owners, and deadlines from tentative discussion points, citing exact timestamps so teammates can replay the recording before sharing.
4. `subtitle-qa-and-translation`: Inspect SRT/VTT files for cue overlaps, reading speed, and line wrapping before and after translating captions across languages.
---
## Publishing Checklist
- Official MCP Registry manifest template: `packages/mcp/server.json` (namespace `com.heardraft/mcp`, verify ownership with `heardraft.com` DNS TXT record before running `mcp-publisher publish`).
- Official API documentation: [HearDraft API Docs](https://docs.heardraft.com/guides/introduction)
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues