br0ski777 avatar

Text to Speech API

br0ski777/text-to-speech-x402

Connects Claude to a text-to-speech API that generates MP3 audio files from text in over 50 languages. Uses the x402 micropayment system, so you'll need to handle payment integration to use the service. The server runs remotely at text-to-speech.api.klymax402.com via SSE transport, which means you don't need to host anything locally. Reach for this when you need to add voice output to workflows, generate audio content in multiple languages, or build accessibility features. The GitHub repo is pretty bare on documentation, so you'll likely need to experiment with the API directly to understand available voices, language codes, and pricing structure.

tool
1
transport
SSE
last updated
May 16, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

media_text_to_speechUse this when you need to convert text to speech audio. Returns base64-encoded MP3 audio in JSON. Returns: 1. audio (base64 MP3 data) 2. language used 3. textLength (character count) 4. durationEstim2 params

Use this when you need to convert text to speech audio. Returns base64-encoded MP3 audio in JSON. Returns: 1. audio (base64 MP3 data) 2. language used 3. textLength (character count) 4. durationEstim

Parameters* required
languagestring
Language code: en, fr, es, de, it, pt, ja, ko, zh, ar, ru, hi, etc. (default: en)
textstring
The text to convert to speech (max 200 characters per request)

Sponsors

Readme

Text to Speech API

MCP Server x402 License: MIT

Convert text to speech audio -- 20+ languages, base64 MP3 output. Google TTS engine, fast and reliable. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "text-to-speech": {
      "url": "https://text-to-speech.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl -X POST "https://text-to-speech.api.klymax402.com/api/speak" \
  -H "Content-Type: application/json" \
  -d '{"text":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

View the full README on GitHub

Details

Repository
github.com/br0ski777/text-to-speech-x402
Website
github.com/Br0ski777/text-to-speech-x402
Category
Media & Entertainment
Transport
SSE
Registry
MCP registry, active

More from br0ski777

Related Media & Entertainment MCP servers

View all
1markswendsen-code avatarSpotifymarkswendsen-code/mcp-spotifyMCP server for Spotify - let AI agents control playback, search music, and manage playlists0stars
2rty2345rr avatarTTS MCP Serverrty2345rr/miragea-voice-mcpText-to-speech, AI voiceover, voice cloning and SRT/VTT subtitles for AI agents.0stars
3mambalabsdev avatarMcp Multi Platform Social Posts Commentsmambalabsdev/mcp-multi-platform-social-posts-commentsPublic posts and comments from Bluesky, Hacker News, Mastodon, Lemmy, Reddit, and YouTube0stars
4mambalabsdev avatarMcp Streaming Subscription Prices By Countrymambalabsdev/mcp-streaming-subscription-prices-by-countrySpotify and Netflix monthly plan prices in local currency, one row per plan per country.0stars
5peterkolbe avatarAbleton for AIpeterkolbe/ableton-for-aiBridge between Ableton Live and AI. Inspect, analyze audio, and control mixing via MCP.0stars
6rty2345rr avatarYouTube Dubbing MCPrty2345rr/youtube-dubbing-mcpAI dubbing for YouTube videos: one cloned voice per speaker, synced SRT, YouTube audio tracks.0stars