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

mcp-rime

v0.1.0

Published

ModelContextProtocol server for Rime text-to-speech API

Readme

MCP Rime Server

A Model Context Protocol (MCP) server that provides text-to-speech capabilities using the Rime API. This server downloads audio and plays it using the system's native audio player.

Features

  • Exposes a speak tool that converts text to speech and plays it through system audio
  • Uses Rime's high-quality voice synthesis API
  • Supports various voice options and customization parameters
  • Cross-platform audio playback support

Requirements

  • Node.js 16.x or higher
  • A working audio output device
  • One of the following audio players (automatically detected):
    • Linux: mpg123, mplayer, aplay, or ffplay
    • macOS: Built-in afplay (included with macOS)
    • Windows: Built-in Media.SoundPlayer (PowerShell)

MCP Configuration

"ref": {
  "command": "npx",
  "args": ["rime-mcp"],
  "env": {
      RIME_API_KEY=your_api_key_here

      # Optional configuration
      RIME_GUIDANCE="<guide how the agent speaks>"
      RIME_WHO_TO_ADDRESS="<your name>"
      RIME_WHEN_TO_SPEAK="<tell the agent when to speak>"
      RIME_VOICE="cove" 
  }
}

All of the optional env vars are part of the tool definition and are prompts to

All voice options are listed here.

You can get your API key from the Rime Dashboard.

The following environment variables can be used to customize the behavior:

  • RIME_GUIDANCE: The main description of when and how to use the speak tool
  • RIME_WHO_TO_ADDRESS: Who the speech should address (default: "user")
  • RIME_WHEN_TO_SPEAK: When the tool should be used (default: "when asked to speak or when finishing a command")
  • RIME_VOICE: The default voice to use (default: "cove")

Example usage 1: Coding agent announcement

Have Cursor/Windsurf/Zed announce when multi-file changes it complete and list the files that were edited.

RIME_WHEN_TO_SPEAK="Speak when you complete a multi-file code change."
RIME_GUIDANCE="Say a 1 sentance overview of the change and list all files that were edited."

Example usage 2: Learn how the kids talk these days

Have Claude talk to you like you're Gen Alpha.

RIME_GUIDANCE="Use phrases and slang common among Gen Alpha."
RIME_WHO_TO_ADDRESS="Matt"
RIME_WHEN_TO_SPEAK="when asked to speak"

Usage

  1. Start the server:
npx mcp-rime
  1. The server exposes a speak tool with the following parameters:
  • text (required): The text to speak aloud
  • speaker (optional): The voice to use (defaults to "cove")
  • speedAlpha (optional): Speech speed multiplier (default: 1.0)
  • reduceLatency (optional): Whether to optimize for lower latency (default: false)
  1. When the speak tool is called, it will:
    • Connect to Rime's API and download the speech audio
    • Save the audio to a temporary file
    • Play the audio using your system's native audio player
    • Clean up temporary files automatically

How It Works

  1. The server makes an HTTP request to Rime's TTS API
  2. The audio data is streamed into a temporary file
  3. Once the download is complete, the appropriate audio player for your OS is used to play the file
  4. After playback is complete, temporary files are cleaned up

Development

  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Run in development mode with hot reload:
npm run dev

License

MIT