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 🙏

© 2025 – Pkg Stats / Ryan Hefner

fr3kr3achy

v0.1.0

Published

MCP server for Reachy Mini robot control with pluggable TTS

Readme

fr3kr3achy - MCP Server for Reachy Mini Robot Control

Give your AI a body. This MCP server enables AI systems (Claude, Gemini, GPT, etc.) to control the Pollen Robotics Reachy Mini robot through speech, movement, and emotional expression.

Features

  • 7 MCP Tools: Complete robot control with token-efficient tool names
  • Pluggable TTS: Deepgram, OpenAI, ElevenLabs, or local (Piper/Coqui)
  • Dual Transport: stdio (CLI clients) or HTTP (remote deployment)
  • Safe Movement: Built-in joint limits and safety clamping
  • Expression System: 12 built-in emotions + support for recorded moves
  • Camera Integration: Base64 image capture from robot camera
  • Zero Robotics Expertise: Works with simulator or real hardware

Quick Start

Installation

# Install globally
npm install -g fr3kr3achy

# Or use with npx (no installation needed)
npx fr3kr3achy

Configuration

  1. Copy .env.example to .env:
cp .env.example .env
  1. Configure your environment variables:
# Required for TTS
export DEEPGRAM_API_KEY=your_key_here
# or
export OPENAI_API_KEY=your_key_here

# Optional: Reachy daemon URL (default: http://localhost:8000)
export REACHY_API_URL=http://localhost:8000

Start the Server

stdio mode (for Claude Code, OpenCode, Gemini CLI):

npx fr3kr3achy

HTTP mode (for remote deployment):

npx fr3kr3achy --http:3000

MCP Tools

| Tool | Description | Parameters | |------|-------------|------------| | get_robot_state | Get robot health and joint state | includeJointState? | | move_head | Move head to specific angles | pitch, roll, yaw, speed? | | set_expression | Set facial expression or play move | emotion, intensity?, duration? | | stop_all_movements | Stop movements and set pose | mode? | | get_camera_image | Capture camera image | format?, quality? | | get_antennas_state | Get antenna angles and status | - | | tts_speak | Text-to-speech output | text, provider? | | speak_and_express | Speak while expressing emotion | text, emotion, intensity?, provider? |

Built-in Emotions

  • neutral, curious, uncertain, recognition, joy
  • thinking, listening, agreeing, disagreeing, sleepy
  • surprised, focused

Or use any recorded move name from the Reachy Mini library.

Claude Code Integration

Add to ~/.claude.json:

{
  "mcpServers": {
    "fr3kr3achy": {
      "command": "npx",
      "args": ["fr3kr3achy"],
      "env": {
        "DEEPGRAM_API_KEY": "your_key_here",
        "REACHY_API_URL": "http://localhost:8000"
      }
    }
  }
}

Gemini CLI Integration

Configure in your Gemini CLI config:

mcpServers.fr3kr3achy=http://localhost:3000

Vercel Deployment

Deploy to Vercel for remote access:

vercel add fr3kr3achy
cd fr3kr3achy
vercel --prod

Your MCP endpoint will be available at: https://your-app.vercel.app/mcp

Configuration File

Create fr3kr3achy.config.json:

{
  "reachy": {
    "apiUrl": "http://localhost:8000"
  },
  "tts": {
    "provider": "deepgram",
    "deepgram": {
      "apiKey": "your_key",
      "voice": "aura-neutral-en"
    }
  },
  "server": {
    "httpPort": 3000,
    "logLevel": "info"
  }
}

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | REACHY_API_URL | No | http://localhost:8000 | Reachy daemon endpoint | | TTS_PROVIDER | No | local | TTS provider to use | | DEEPGRAM_API_KEY | No* | - | Deepgram API key | | OPENAI_API_KEY | No* | - | OpenAI API key | | ELEVENLABS_API_KEY | No* | - | ElevenLabs API key | | LOCAL_TTS_COMMAND | No | - | Local TTS command | | HTTP_PORT | No | 3000 | HTTP server port |

*Required if that provider is selected

Example Usage

Basic Movement

// Look curious
await move_head({ pitch: 10, roll: 5, yaw: 15, speed: 0.7 })

// Show joy
await set_expression({ emotion: 'joy', intensity: 1.0, duration: 3.0 })

Speech with Expression

// Speak while looking happy
await speak_and_express({
  text: "Hello! It's great to see you!",
  emotion: 'joy',
  expressionIntensity: 0.8,
  provider: 'deepgram'
})

Camera Capture

// Get image from robot camera
const image = await get_camera_image({ format: 'jpeg', quality: 90 })
// Returns base64 encoded image

Safety

All joint movements are automatically clamped to safe ranges:

  • Pitch: -30° to 30°
  • Roll: -20° to 20°
  • Yaw: -60° to 60°

Emergency stop: Use stop_all_movements({ mode: 'emergency' })

Development

# Clone repository
git clone https://github.com/your-org/fr3kr3achy
cd fr3kr3achy

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run tests
npm test

Troubleshooting

Connection Issues

Problem: "Cannot connect to Reachy daemon"

Solutions:

  1. Ensure Reachy daemon is running: curl http://localhost:8000/api/state/full
  2. Check firewall settings
  3. Verify REACHY_API_URL is correct

TTS Not Working

Problem: "API key not configured"

Solutions:

  1. Set appropriate API key in environment
  2. Verify TTS_PROVIDER matches available credentials
  3. For local TTS, ensure piper or coqui is installed

MCP Client Not Seeing Tools

Problem: "No tools available"

Solutions:

  1. Check server is running in correct mode (stdio vs HTTP)
  2. Verify client configuration matches server mode
  3. Check logs: server.logLevel = 'debug' in config

License

MIT License - see LICENSE file

Acknowledgments

Links