ListenHub MCP Server
Enables AI-powered podcast generation with single or dual speakers, FlowSpeech audio creation from text/URLs, speaker voice library management, and subscription tracking for ListenHub Pro users.
README
<h1 align="center">ListenHub MCP Server</h1>
Official MCP Server for ListenHub, supporting AI podcast generation (single or dual-speaker), FlowSpeech creation, and more. Available for ListenHub Pro plan and above.
<p align="center"> <a href="https://listenhub.ai"><img alt="ListenHub website" src="https://img.shields.io/badge/Made%20by%20ListenHub-000?logo=listenhub&logoColor=fff&logoSize=auto" /></a> <a href="https://discord.gg/ZbwA7g2guU"><img alt="Discord" src="https://img.shields.io/discord/1365293903405645886?label=Discord&logo=discord&color=eee&labelColor=5865f2&logoColor=fff" /></a> <a href="https://x.com/ListenHub"><img alt="ListenHub X/Twitter" src="https://img.shields.io/twitter/follow/ListenHub?logo=x" /></a> <br /> <a href="https://www.npmjs.com/package/%40marswave%2Flistenhub-mcp-server"><img alt="npm version" src="https://img.shields.io/npm/v/%40marswave%2Flistenhub-mcp-server?logo=npm" /></a> <a href="https://github.com/marswaveai/listenhub-mcp-server/blob/main/LICENSE"><img alt="license" src="https://img.shields.io/npm/l/%40marswave%2Flistenhub-mcp-server?color=blue" /></a> </p>
English | 简体中文
Quick Start
Environment Configuration
Installing Node.js
This server requires Node.js version 18 or higher. If you haven't installed Node.js yet, please follow the instructions below:
- macOS
Method 1: Using Official Installer
- Visit the Node.js official website and download the Node.js Long Term Support version, such as v24.11.0(LTS)
- Open the downloaded
.pkgfile and follow the installation wizard - Open Terminal and run the following commands to verify installation:
Method 2: Using Homebrew If you don't have Homebrew installed, use the following script to install it:node --version npm --version/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Then verify the installation:# After successful installation, use brew to download Node.js brew install nodenode --version npm --version - Windows
Method 1: Using Official Installer
- Visit the Node.js official website
- Download the LTS (Long Term Support) version for Windows
- Run the downloaded
.msiinstaller - Follow the installation wizard
- Open PowerShell and run the following commands to verify installation:
Method 2: Using winget (Windows Package Manager) If you're using Windows 10 version 1809 or higher:node --version npm --version
Then verify the installation:winget install OpenJS.NodeJS.LTS
Method 3: Using Chocolatey If you have Chocolatey installed:node --version npm --version
Then verify the installation:choco install nodejs-ltsnode --version npm --version - Linux
Ubuntu/Debian
Fedora/RHEL/CentOS# Install Node.js 20.x (LTS) curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get install -y nodejsVerify the installation:# Install Node.js 20.x (LTS) curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash - sudo yum install -y nodejsnode --version npm --version
Get ListenHub API Key
Get your API key from the ListenHub API Keys Settings page and use it as the value for the LISTENHUB_API_KEY environment variable.
Configuration Methods for Each Client
- Claude Desktop
Edit your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%\Claude\claude_desktop_config.jsonAdd the following configuration:Replace{ "mcpServers": { "listenhub": { "command": "npx", "args": ["-y", "@marswave/listenhub-mcp-server@latest"], "env": { "LISTENHUB_API_KEY": "your_api_key_here" } } } }your_api_key_herewith your actual API key obtained from ListenHub. - Cursor
- Open Cursor Settings
- Navigate to Features → Model Context Protocol
- Click Add MCP Server or directly edit the configuration file Configuration file location:
- macOS/Linux:
~/.cursor/mcp.json - Windows:
%APPDATA%\Cursor\mcp.jsonAdd the following configuration:
Replace{ "mcpServers": { "listenhub": { "command": "npx", "args": ["-y", "@marswave/listenhub-mcp-server@latest"], "env": { "LISTENHUB_API_KEY": "your_api_key_here" } } } }your_api_key_herewith your actual API key obtained from ListenHub. Optional: HTTP Mode To use HTTP transport, manually start the server:Then configure Cursor:export LISTENHUB_API_KEY="your_api_key_here" npx @marswave/listenhub-mcp-server --transport http --port 3000{ "mcpServers": { "listenhub": { "url": "http://localhost:3000/mcp" } } } - Windsurf
- Open Windsurf Settings
- Navigate to the MCP Servers section
- Add new server configuration Configuration file location:
- macOS/Linux:
~/.windsurf/mcp_server_config.json - Windows:
%APPDATA%\Windsurf\mcp_server_config.jsonAdd the following configuration:
Replace{ "mcpServers": { "listenhub": { "command": "npx", "args": ["-y", "@marswave/listenhub-mcp-server@latest"], "env": { "LISTENHUB_API_KEY": "your_api_key_here" } } } }your_api_key_herewith your actual API key obtained from ListenHub. - VS Code (via Cline Extension)
- Install the Cline Extension from VS Code Marketplace
- Open VS Code Settings
- Search for "Cline: MCP Settings"
- Click "Edit in settings.json" Add the following configuration:
Replace{ "cline.mcpServers": { "listenhub": { "command": "npx", "args": ["-y", "@marswave/listenhub-mcp-server@latest"], "env": { "LISTENHUB_API_KEY": "your_api_key_here" } } } }your_api_key_herewith your actual API key obtained from ListenHub. - Zed Editor
- Open Zed Settings
- Navigate to the MCP section
- Edit the configuration file Configuration file location:
- macOS/Linux:
~/.config/zed/mcp.json - Windows:
%APPDATA%\Zed\mcp.jsonAdd the following configuration:
Replace{ "mcpServers": { "listenhub": { "command": "npx", "args": ["-y", "@marswave/listenhub-mcp-server@latest"], "env": { "LISTENHUB_API_KEY": "your_api_key_here" } } } }your_api_key_herewith your actual API key obtained from ListenHub. - Claude CLI
Run the following command in your terminal:
Replaceclaude mcp add listenhub --env LISTENHUB_API_KEY=<insert-your-api-key-here> -- npx -y @marswave/listenhub-mcp-server<insert-your-api-key-here>with your actual API key obtained from ListenHub. - Codex CLI
Run the following command in your terminal:
Replacecodex mcp add listenhub --env LISTENHUB_API_KEY=<insert-your-api-key-here> -- npx -y @marswave/listenhub-mcp-server<insert-your-api-key-here>with your actual API key obtained from ListenHub. - ChatWise
- Open ChatWise Settings, select MCP, click "+" to add a new MCP service
- Fill in the following information in the MCP configuration module:
- Command:
npx -y @marswave/listenhub-mcp-server@latest - Environment Variables: Add
LISTENHUB_API_KEYwith your API key as the value
- Command:
- Enable the tool below the chat input box to start using it
- Other MCP Clients
For other MCP-compatible clients, use the standard MCP configuration format:
Replace{ "mcpServers": { "listenhub": { "command": "npx", "args": ["-y", "@marswave/listenhub-mcp-server@latest"], "env": { "LISTENHUB_API_KEY": "your_api_key_here" } } } }your_api_key_herewith your actual API key obtained from ListenHub.
Usage Examples
Generate English Podcast

Core Features
- Podcast Generation:
- Support for full generation (text + audio) or text-only generation
- Support for 1-2 speakers with customizable voices
- Multiple generation modes: Quick Listen, Deep Exploration, Debate
- Support for two-stage generation
- Support for text and URL content sources
- Query podcast generation status
- Access audio files, titles, scripts, and outlines
- Track credit consumption
- FlowSpeech Voice Generation:
- Convert written content from text or URLs into single-speaker conversational audio
- Support for Smart mode (AI-enhanced reading) or Direct mode (verbatim reading)
- Query FlowSpeech generation status
- Access audio files, titles, scripts, and outlines
- Track credit consumption
- Speaker Management:
- Browse available speakers/voice library
- Filter by language and speaker attributes
- Get speaker ID, name, language, gender, and demo audio
- User Account Management:
- Query subscription status and plan information
- View credit usage: monthly credits, permanent credits, and limited-time credits
- Monitor total available credits and renewal status
- View subscription start/expiration dates
- Multiple Transport Modes: Support for Stdio, HTTP SSE, and HTTP Streamable transport methods for flexible integration
Transport Modes
The server supports multiple transport modes to suit different use cases.
Stdio Mode (Default)
Standard input/output communication. This is the default mode used by most MCP clients (such as Claude Desktop, Cursor, etc.).
All configuration examples above use stdio mode by default, requiring no additional setup.
HTTP/SSE Mode
For advanced use cases, you can run the server in HTTP mode, providing both HTTP streaming and Server-Sent Events (SSE) endpoints.
Start the server in HTTP mode:
# macOS/Linux
export LISTENHUB_API_KEY="your_api_key_here"
npx @marswave/listenhub-mcp-server --transport http --port 3000
# Windows
set LISTENHUB_API_KEY=your_api_key_here
npx @marswave/listenhub-mcp-server --transport http --port 3000
Available endpoints:
- HTTP Streaming:
http://localhost:3000/mcp - Server-Sent Events:
http://localhost:3000/sse
Configure your MCP client to use HTTP endpoint:
{
"mcpServers": {
"listenhub": {
"url": "http://localhost:3000/mcp"
}
}
}
Available Tools
Speaker Query
- get_speakers - Get a list of available speakers for podcast generation. Returns speaker ID, name, language, gender, and demo audio link.
language: Filter by language code (zh/en) (string, optional)
Podcast Generation
- create_podcast - Create a podcast with full generation (text + audio). Supports 1-2 speakers. Automatically polls until completion (may take several minutes).
query: Content or topic (string, optional)sources: Array of text/URL sources (array, optional)speakerIds: Array of 1-2 speaker IDs (array, required)language: Language code - zh or en (string, optional, default: en)mode: Generation mode - quick, deep, or debate (string, optional, default: quick)
- get_podcast_status - Query detailed information about a podcast. Returns current status immediately without polling.
episodeId: Podcast ID (string, required)
- create_podcast_text_only - Create a podcast with text content only (no audio). First stage of two-stage generation.
query: Content or topic (string, optional)sources: Array of text/URL sources (array, optional)speakerIds: Array of 1-2 speaker IDs (array, required)language: Language code - zh or en (string, required)mode: Generation mode - quick, deep, or debate (string, optional, default: quick)waitForCompletion: Wait for generation to complete (boolean, optional, default: true)
- generate_podcast_audio - Generate audio for a podcast with existing text content. Second stage of two-stage generation.
episodeId: Podcast ID (string, required)customScripts: Array of custom scripts (array, optional)waitForCompletion: Wait for generation to complete (boolean, optional, default: true)
FlowSpeech Generation
- create_flowspeech - Convert text or URL content to speech, creating FlowSpeech. Supports Smart mode (AI-enhanced) and Direct mode (no modifications).
sourceType: Source type - text or url (string, required)sourceContent: Source content (text or URL) (string, required)speakerId: Speaker ID for narration (string, required)language: Language code - zh or en (string, optional)mode: Generation mode - smart or direct (string, optional, default: smart)
- get_flowspeech_status - Query detailed information about FlowSpeech. Returns current status immediately without polling.
episodeId: FlowSpeech ID (string, required)
User Account Query
- get_user_subscription - Get current user's subscription information, including subscription status, credit usage, plan details, and renewal status.
Thank you for using ListenHub MCP Server!
If you have any questions, please feel free to contact us: support@marswave.ai
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。