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.0.tar.gz (121.0 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.0-py3-none-any.whl (85.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plaud_tools-0.2.0.tar.gz
  • Upload date:
  • Size: 121.0 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.0.tar.gz
Algorithm Hash digest
SHA256 6548c919116e42c1f4020bce2ab2c1090290da12052b51f17e24e56ad13d0c4c
MD5 899e40fa486352df9631af2195777474
BLAKE2b-256 683e3268ef2f422b9b1fc6e2b028b573ffa1ce77a8e84f09a0ecd5b8193f9806

See more details on using hashes here.

Provenance

The following attestation bundles were made for plaud_tools-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: plaud_tools-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 85.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f459a9873e6cf0d78d85072131c5d501abecf981693bf395dfa6adca16bc1d7
MD5 786fc477be4c16fb899d9c3ff1007d30
BLAKE2b-256 469fc362c2b0b9508c2f4b25f2e367edcd861ebae63209b6ddbcf834b43c835e

See more details on using hashes here.

Provenance

The following attestation bundles were made for plaud_tools-0.2.0-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