barevalue-mcp
MCP (Model Context Protocol) server for the Barevalue AI podcast editing API. Allows Claude Code and other MCP-compatible tools to submit and manage podcast editing orders programmatically.
Features
Upload audio files directly from your local machine
Submit orders for AI-powered podcast editing
Check order status and download completed files
Manage webhooks for automated notifications
Pre-validate URLs before submission to catch issues early
Prerequisites
You need a Barevalue account to submit orders via MCP. The Basic plan is free and includes minutes and orders each month. Paid plans (Starter, Creator, Pro) include more minutes, more orders, and additional features.
Orders use your subscription minutes. If your account has insufficient minutes, submission will fail with insufficient_credits error.
To get started:
Sign up free at barevalue.com/register
Or view plans at barevalue.com/pricing
Installation
Option 1: npx (Recommended)
No installation required. Configure Claude Code to run via npx:
Option 2: Global Install
Then configure Claude Code:
Configuration
Getting an API Key
Log in to your Barevalue account
Navigate to Settings → API Keys
Click Create API Key
Copy the key (starts with
bv_sk_) — it's only shown once!
Claude Code Setup
Add to your Claude Code settings file (~/.claude/settings.json):
Environment Variables
Variable | Required | Description |
| Yes | Your Barevalue API key (starts with |
| No | Override API base URL (default: |
Available Tools
Account & Billing
barevalue_account
Get account information including credit balance, AI subscription status, and pricing.
barevalue_estimate
Calculate the cost of an order before submission.
Order Workflow
barevalue_upload
Upload an audio file from your local machine. Returns order_id and s3_key for submission.
Supported formats: mp3, wav, m4a, flac, aac, ogg Maximum file size: 750MB
barevalue_validate
Pre-check a file from a public URL before submission. Validates speech content (minimum 10%) and detects music-only content. Does NOT charge credits.
Note: This is for external URLs only. Files uploaded via barevalue_upload don't need validation - go directly to barevalue_submit.
barevalue_submit
Submit an uploaded file for AI editing. Charges credits/subscription minutes.
Optional parameters:
episode_number- Episode number for organizationspecial_instructions- Custom editing instructions (max 2000 chars)processing_style-standard|minimal|aggressivehost_names- Array of host names for transcript speaker labelsguest_names- Array of guest names for transcript speaker labels
barevalue_submit_url
Submit using a public URL instead of uploading.
barevalue_status
Check order status. Returns download URLs when complete.
Statuses: pending, downloading, processing, transcribing, editing, completed, failed, refunded
barevalue_list_orders
List recent orders with pagination.
Webhooks
barevalue_webhooks_list
List all configured webhooks.
barevalue_webhook_create
Create a webhook. Save the secret — it's only shown once!
Available events: order.completed, order.failed, order.refunded
barevalue_webhook_update
Update webhook URL, events, or active status.
barevalue_webhook_delete
Delete a webhook permanently.
barevalue_webhook_rotate_secret
Generate a new signing secret. Old secret stops working immediately.
Usage Examples
Complete Workflow (Local File)
Here's a typical workflow for uploading a local file:
Complete Workflow (External URL)
For files already hosted online, you can validate before submitting:
Checking Multiple Orders
Error Handling
The server returns structured errors:
Common errors:
Error | Meaning |
| API key is missing, invalid, or revoked |
| Not enough credits or subscription minutes |
| File failed pre-checks (not enough speech, music detected) |
| File exceeds 750MB limit |
| Too many requests (limit: 10/minute) |
Pricing
MCP orders use your subscription minutes — the same balance you'd use on barevalue.com. The Basic plan is free and includes minutes and orders each month. Paid plans include more minutes, orders, and features.
What's included with every order:
Edited audio file (filler words, long pauses, false starts removed)
Transcript (PDF and DOCX)
Show notes with timestamps
Social media clips (AI-selected highlights)
Use barevalue_estimate to check your available minutes before submitting. View plans at barevalue.com/pricing.
Rate Limits
10 requests per minute per API key
File uploads have a 5-minute timeout
Order processing typically completes in 10-30 minutes
Security
API keys are transmitted via environment variable, never hardcoded
All API communication uses HTTPS
Webhook signatures use HMAC-SHA256 for verification
Presigned S3 URLs expire after 30 minutes
Development
Support
Documentation: https://barevalue.com/docs/api-v1
Email: support@barevalue.com
License
MIT