npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

agent-tts-free-mcp

v1.0.0

Published

Zero-cost, unlimited neural voice generator & MCP server for AI coding agents and autonomous content pipelines. Powered by Edge neural speech.

Readme

agent-tts-free-mcp

Zero-cost, unlimited neural voice generator & MCP server for AI coding agents, autonomous content creators, and automation pipelines. Powered by Edge neural speech synthesis.

npm version License: MIT


Why agent-tts-free-mcp?

Commercial TTS APIs (ElevenLabs, OpenAI Audio, Google Cloud TTS) charge high per-character or per-minute fees, rate-limit agents, and require API keys.

agent-tts-free-mcp provides:

  • Zero API keys required: Completely free and ready to use immediately out of the box.
  • Natural Neural Audio: Crisp 24kHz 48kbps MP3 speech powered by Microsoft Edge Neural voices.
  • Multi-lingual: Premium natural voices for Korean (ko-KR-SunHiNeural, ko-KR-InJoonNeural, etc.), English (en-US-JennyNeural, en-US-GuyNeural), Japanese (ja-JP-NanamiNeural), and more.
  • Dual Interface:
    • Standard MCP Server for Claude Code, Cursor, Windsurf, Antigravity, and AI agents.
    • Fast CLI & Programmatic Library for bash scripts, build pipelines, and video rendering automations.

1. Quick Start (CLI)

# List available neural voices
npx agent-tts list-voices

# Synthesize speech to MP3
npx agent-tts say "안녕하세요. 오늘 전해드릴 경제 뉴스는 다음과 같습니다." -o news.mp3

# Use a specific voice with customized speech rate
npx agent-tts say "Hello world from autonomous AI agent!" --voice en-US-JennyNeural --rate +10% -o welcome.mp3

2. MCP Server Setup for AI Agents

Add to your MCP configuration (~/.claude/settings.json, Cursor MCP settings, or Antigravity config):

{
  "mcpServers": {
    "agent-tts": {
      "command": "npx",
      "args": ["-y", "agent-tts-free-mcp"]
    }
  }
}

Available MCP Tools:

  1. generate_speech_mp3
    • Synthesizes text into high-quality neural MP3 audio file.
    • Arguments:
      • text (string, required): Text content to speak.
      • outputPath (string, optional): Target file path (e.g. ./output.mp3). Defaults to a temporary file.
      • voice (string, optional): Neural voice ID (default: ko-KR-SunHiNeural).
      • rate (string, optional): Prosody rate adjustment (e.g. +10%, -5%).
      • pitch (string, optional): Prosody pitch adjustment (e.g. +0Hz, +50Hz).
  2. list_voices
    • Lists available neural voices and filters by language code.
    • Arguments:
      • language (string, optional): Filter code like ko-KR, en-US, ja-JP.

3. Programmatic Usage (Node.js / TypeScript)

import { synthesizeSpeech, buildSsml, listVoices } from 'agent-tts-free-mcp';
import * as fs from 'fs';

// 1. Check supported voices
const koreanVoices = listVoices('ko-KR');

// 2. Synthesize audio buffer
const audioBuffer = await synthesizeSpeech('자동화 파이프라인에서 생성된 음성입니다.', {
  voice: 'ko-KR-SunHiNeural',
  rate: '+5%',
});

// 3. Save to disk
fs.writeFileSync('output.mp3', audioBuffer);
console.log(`Saved ${audioBuffer.length} bytes of MP3 audio!`);

Supported Voices (Highlights)

| Voice ID | Name | Gender | Language | Recommended Use Case | |---|---|---|---|---| | ko-KR-SunHiNeural | 선희 (Sun-Hi) | Female | ko-KR | YouTube Shorts, Documentaries, Calm Narration | | ko-KR-InJoonNeural | 인준 (In-Joon) | Male | ko-KR | News, Explainer Videos, Technical Briefings | | ko-KR-HyunsuNeural | 현수 (Hyun-su) | Male | ko-KR | Conversational, Podcast dialogues | | en-US-JennyNeural | Jenny | Female | en-US | Modern US English female narration | | en-US-GuyNeural | Guy | Male | en-US | Authoritative tech / corporate voice | | ja-JP-NanamiNeural | 七海 (Nanami) | Female | ja-JP | Clear natural Japanese narration |


License

MIT © OIYO Lab