Skip to main content

Python rewrite for Plaud CLI and MCP workflows.

Project description

plaud-tools

Bridge your Plaud recordings into AI assistants via a Python CLI and an MCP server.

CI Bundle smoke PyPI status: alpha Python License: LGPL-3.0-or-later

Alpha software. This project is pre-1.0. APIs, tool names, and CLI flags may change between minor versions. Pin a known-good version in production wiring and review the CHANGELOG before upgrading.

Unofficial — not affiliated with Plaud. The Plaud API is reverse-engineered from the Plaud web app. "Plaud" is a trademark of Plaud Inc.; this project is not affiliated with, endorsed by, or sponsored by Plaud. Use at your own risk: Plaud's Terms of Service may restrict reverse-engineering and automated access, and your account could be rate-limited or suspended. You still need a real Plaud account; this package does not replace the Plaud mobile or web apps.

Install

From PyPI:

pip install plaud-tools

Windows users can grab a bundled tray app + frozen CLI + MCP server (no Python install required). Recommended one-liner:

irm https://raw.githubusercontent.com/massive-value/plaud-tools/main/scripts/install.ps1 | iex

Or download PlaudTools.zip from the latest release and unzip manually. See docs/INSTALL.md for the full walkthrough.

Quickstart

# Sign in once. Region is `us` or `eu`; auto-detected on first API call.
plaud-tools login --email you@example.com --region us

# Recent recordings
plaud-tools list

# Full detail for one recording (title, date, duration, headline)
plaud-tools show <recording-id>

The CLI ships as both plaud-tools and the shorter alias pt. Run plaud-tools --help for the full subcommand list.

Wire the MCP server into your AI client

Log in via the CLI before starting the AI client; the MCP server reads the saved session automatically.

Claude Desktop — add to claude_desktop_config.json (Windows: %APPDATA%\Claude\claude_desktop_config.json; macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "plaud": {
      "command": "plaud-mcp"
    }
  }
}

Claude Code — same JSON block, in ~/.claude.json (user-level) or .claude.json at the project root.

Codex CLI — in ~/.codex/config.toml:

[mcp_servers.plaud]
command = "plaud-mcp"

Fully quit and relaunch the AI client after editing the config — MCP servers are loaded once at startup. Full wiring details, troubleshooting, and tray bundle install steps live in docs/INSTALL.md.

What's in the box

Entry point What it is
plaud-tools / pt Python CLI — list, search, transcribe, upload, rename, trash, merge recordings
plaud-mcp MCP server (stdio transport) — exposes the tool surface below to AI clients
plaud-tray (optional, pip install plaud-tools[tray]) Windows system-tray app for one-click sign-in and MCP wiring

MCP tool surface

The MCP server exposes 7 workflow-oriented tools (canonical list in src/plaud_tools/server.py):

Tool What it does
browse_recordings List and filter recordings by date, title, folder
get_recording Full detail for one recording; opt in to transcript / speakers / summary
mutate_recording Rename, trash, restore, delete, move to folder, rename speaker
upload_recording Upload a local audio file (transcodes via ffmpeg if needed)
process_recording Trigger transcription + summarization; block until both complete
list_folders List Plaud folders (id, name, color, icon)
merge_recordings Merge two or more recordings into a single new recording

Develop

git clone https://github.com/massive-value/plaud-tools.git
cd plaud-tools
pip install -e ".[dev]"
pytest -q

See CONTRIBUTING.md for the full contributor workflow, including the PLAUD_LIVE_READS=1 live-test gate.

Token & secrets

Plaud JWTs last ~300 days. When the stored token is within 30 days of expiry, plaud-tools will raise a session-expired error and prompt you to sign in again — run plaud-tools login to refresh your credentials. Sessions are stored in the OS keyring when available, with a mode-600 fallback at ~/.config/plaud-tools/session.json.

Docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plaud_tools-0.2.3.tar.gz (129.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plaud_tools-0.2.3-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

Details for the file plaud_tools-0.2.3.tar.gz.

File metadata

  • Download URL: plaud_tools-0.2.3.tar.gz
  • Upload date:
  • Size: 129.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for plaud_tools-0.2.3.tar.gz
Algorithm Hash digest
SHA256 fe1ea4a00d42a630b409ed611867c5fea112dc6e9b88d351df4d1a437fc30806
MD5 995f1bd2ce3137e8e6beabd44b11be39
BLAKE2b-256 ffd377774b0adfad51761f25c316a9447735d9044bf80ed55429cc6fd9b109c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for plaud_tools-0.2.3.tar.gz:

Publisher: release.yml on massive-value/plaud-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file plaud_tools-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: plaud_tools-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 89.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for plaud_tools-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f00299e2f8737cdb2f7720d2350af15705db6814bb18196358155e710853730
MD5 87953809c2e8b3672f0d5c63d635db21
BLAKE2b-256 f4272679ec2f230a613429f5820903870990fbc5f8ffa6c45d123b0970577fc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for plaud_tools-0.2.3-py3-none-any.whl:

Publisher: release.yml on massive-value/plaud-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page