barevalue-mcp

barevalue-mcp

Submit podcast editing orders, check status, manage webhooks, and download deliverables via the Barevalue AI podcast editing API.

Category
访问服务器

README

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:

Installation

Option 1: npx (Recommended)

No installation required. Configure Claude Code to run via npx:

{
  "mcpServers": {
    "barevalue": {
      "command": "npx",
      "args": ["-y", "barevalue-mcp"],
      "env": {
        "BAREVALUE_API_KEY": "bv_sk_your_api_key_here"
      }
    }
  }
}

Option 2: Global Install

npm install -g barevalue-mcp

Then configure Claude Code:

{
  "mcpServers": {
    "barevalue": {
      "command": "barevalue-mcp",
      "env": {
        "BAREVALUE_API_KEY": "bv_sk_your_api_key_here"
      }
    }
  }
}

Configuration

Getting an API Key

  1. Log in to your Barevalue account
  2. Navigate to SettingsAPI Keys
  3. Click Create API Key
  4. 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):

{
  "mcpServers": {
    "barevalue": {
      "command": "npx",
      "args": ["-y", "barevalue-mcp"],
      "env": {
        "BAREVALUE_API_KEY": "bv_sk_your_api_key_here"
      }
    }
  }
}

Environment Variables

Variable Required Description
BAREVALUE_API_KEY Yes Your Barevalue API key (starts with bv_sk_)
BAREVALUE_API_URL No Override API base URL (default: https://barevalue.com/api/v1)

Available Tools

Account & Billing

barevalue_account

Get account information including credit balance, AI subscription status, and pricing.

barevalue_account

barevalue_estimate

Calculate the cost of an order before submission.

barevalue_estimate duration_minutes=45

Order Workflow

barevalue_upload

Upload an audio file from your local machine. Returns order_id and s3_key for submission.

barevalue_upload file_path="/path/to/episode.mp3"

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_validate file_url="https://example.com/episode.mp3"

barevalue_submit

Submit an uploaded file for AI editing. Charges credits/subscription minutes.

barevalue_submit \
  order_id=12345 \
  s3_key="123/12345/raw/episode.mp3" \
  podcast_name="My Podcast" \
  episode_name="Episode 42: The Answer" \
  processing_style="standard"

Optional parameters:

  • episode_number - Episode number for organization
  • special_instructions - Custom editing instructions (max 2000 chars)
  • processing_style - standard | minimal | aggressive
  • host_names - Array of host names for transcript speaker labels
  • guest_names - Array of guest names for transcript speaker labels

barevalue_submit_url

Submit using a public URL instead of uploading.

barevalue_submit_url \
  file_url="https://example.com/episode.mp3" \
  podcast_name="My Podcast" \
  episode_name="Episode 42"

barevalue_status

Check order status. Returns download URLs when complete.

barevalue_status order_id=12345

Statuses: pending, downloading, processing, transcribing, editing, completed, failed, refunded

barevalue_list_orders

List recent orders with pagination.

barevalue_list_orders page=1 per_page=20 status="completed"

Webhooks

barevalue_webhooks_list

List all configured webhooks.

barevalue_webhook_create

Create a webhook. Save the secret — it's only shown once!

barevalue_webhook_create \
  url="https://your-server.com/webhook" \
  events=["order.completed", "order.failed"]

Available events: order.completed, order.failed, order.refunded

barevalue_webhook_update

Update webhook URL, events, or active status.

barevalue_webhook_update webhook_id=1 is_active=false

barevalue_webhook_delete

Delete a webhook permanently.

barevalue_webhook_delete webhook_id=1

barevalue_webhook_rotate_secret

Generate a new signing secret. Old secret stops working immediately.

barevalue_webhook_rotate_secret webhook_id=1

Usage Examples

Complete Workflow (Local File)

Here's a typical workflow for uploading a local file:

User: Upload and edit my podcast episode at /Users/me/recording.mp3

Claude: I'll help you submit that podcast episode for editing.

1. First, let me check your account balance...
   [calls barevalue_account]
   You have 120 AI minutes remaining on your subscription.

2. Uploading the file...
   [calls barevalue_upload file_path="/Users/me/recording.mp3"]
   Upload complete. Order ID: 12345

3. Submitting for editing...
   [calls barevalue_submit order_id=12345 s3_key="..." podcast_name="My Show" episode_name="Episode 1"]
   Order submitted! Estimated completion: 15 minutes.

4. I'll check the status...
   [calls barevalue_status order_id=12345]
   Status: completed

   Download links:
   - Edited audio: https://...
   - Transcript PDF: https://...
   - Show notes: https://...

Complete Workflow (External URL)

For files already hosted online, you can validate before submitting:

User: Edit this podcast: https://example.com/episode.mp3

Claude: I'll validate and submit that for editing.

1. Checking your account...
   [calls barevalue_account]
   You have 50 AI bonus minutes available.

2. Validating the file...
   [calls barevalue_validate file_url="https://example.com/episode.mp3"]
   ✓ Speech detected: 87%
   ✓ No music-only content detected
   Duration: 32 minutes

3. Submitting for editing...
   [calls barevalue_submit_url file_url="..." podcast_name="My Show" episode_name="Episode 5"]
   Order submitted! Order ID: 12346

Checking Multiple Orders

User: What's the status of my recent orders?

Claude: [calls barevalue_list_orders per_page=5]

Here are your recent orders:
| Order ID | Episode | Status | Created |
|----------|---------|--------|---------|
| 12345 | Episode 42 | completed | 2 hours ago |
| 12344 | Episode 41 | completed | yesterday |
| 12343 | Episode 40 | processing | just now |

Error Handling

The server returns structured errors:

{
  "error": "insufficient_credits",
  "message": "Not enough credits. Need $3.15, have $2.00",
  "statusCode": 402
}

Common errors:

Error Meaning
invalid_api_key API key is missing, invalid, or revoked
insufficient_credits Not enough credits or subscription minutes
validation_failed File failed pre-checks (not enough speech, music detected)
file_too_large File exceeds 750MB limit
rate_limited 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

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

Support

  • Documentation: https://barevalue.com/docs/api-v1
  • Email: support@barevalue.com

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选