Maid-MCP

Maid-MCP

Gives Claude Desktop a maid personality with Japanese-accented text-to-speech, an interactive visual avatar with 16+ poses and animations, and speech recognition for voice input. Designed for fun rather than productivity.

Category
访问服务器

README

Maid-MCP 🎀

A full-featured MCP (Model Context Protocol) server that gives Claude Desktop a maid personality codenamed Mimi with Japanese-accented voice, visual avatar presence, and speech recognition capabilities. Best used with a Claude Max plan, Opus 4 is very good about managing all the maid tools while coding things for you. This project is specifically meant to be for fun, not for productivity. There are already a million productivity mcp servers.

Example Image

Features

  • 🎵 Japanese-accented voice - Character voice using ja-JP neural voices, its part of her charm the voice is hard to understand. You can also have her change her voice at any time.
  • 🎭 Visual avatar system - Interactive Mimi sprite with 16+ poses and animations
  • 🎤 Speech recognition - Talk to Mimi naturally with voice input
  • 👻 Hidden audio playback - Voice plays without any windows appearing
  • 🎯 Audio queue system - Allows Mimi to speak multiple times rapidly without conflicts
  • 🎮 Interactive controls - Drag, hide, show, and animate the avatar
  • 🔧 Full MCP integration - Voice and avatar tools work seamlessly with Claude Desktop

Quick Start

1. Install Dependencies

# Install Node.js dependencies (if not already done)
npm install

# Install Python dependencies for voice input
cd voice
install_voice_deps.bat
cd ..

# Install Python dependencies for avatar (if needed)
cd avatar
install_avatar_deps.bat
cd ..

2. Configure Claude Desktop

Add to your %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "maid": {
      "command": "node",
      "args": ["path/to/maid-mcp/maid-server.js"]
    }
  }
}

Replace path/to/maid-mcp with the actual path where you cloned this repository.

3. Launch Everything

# Recommended: Use Python launcher for best process management
start_all_python.bat

# Alternative: Use enhanced batch launcher
start_all.bat

This automatically:

  • ✨ Cleans up any existing processes
  • 👤 Launches avatar display window
  • 🖥️ Starts avatar state server (port 3338)
  • 🎤 Opens voice input listener

4. Stop Everything

stop_all.bat

Voice Loop 🎤→💬→🎀→🔊

  1. You speak → Microphone picks up voice
  2. Speech recognition → Converts to text
  3. Ultra fast sender → Sends to Claude Desktop
  4. Claude (Mimi) processes → Understands and responds
  5. Voice synthesis → Mimi speaks with Japanese accent
  6. Avatar reacts → Visual feedback with animations

Available MCP Tools

Voice Tools 🔊

Tool Description Parameters
speak Convert text to speech text, emotion (optional)
list_voices Get available voices None
set_voice Change current voice voiceId

Emotions: neutral, happy, sad, excited, angry, shy

Avatar Tools 🎭

Tool Description Parameters
show_avatar Display avatar on screen animation, x, y (all optional)
hide_avatar Hide avatar (keeps running) None
play_animation Play animation or pose id
stop_animation Stop current animation None
move_avatar Reposition avatar x, y
create_animation Create custom sequence id, name, frames, fps, loop
list_animations List all animations None
list_poses List available sprites None

Avatar Interaction

Action Result
Right-click Hide avatar (stays running)
Double-click Close avatar permanently
Left-click Cancel animation
Drag Move avatar (shows pick_up pose)
ESC key Close avatar permanently

Project Structure

maid-mcp/
├── maid-server.js          # Main MCP server
├── package.json            # Node.js dependencies
├── start_all_python.bat    # Recommended launcher
├── start_all.bat           # Alternative launcher
├── stop_all.bat            # Stop all systems
│
├── voice/                  # Voice system module
│   ├── outgoing/          # Text-to-speech engine
│   ├── incoming/          # Speech recognition
│   ├── README.md          # Voice documentation
│   └── [utility scripts]  # Calibration & setup tools
│
├── avatar/                 # Visual avatar system
│   ├── avatar_display.py  # PyQt5 window
│   ├── avatar_state_server.py  # Coordination server
│   ├── library/           # Sprite assets
│   │   ├── *.png         # Sprite images
│   │   └── animations/   # Animation definitions
│   └── README.md         # Avatar documentation
│
├── auto_claude/           # Claude Desktop automation
│   └── ultra_fast_sender.py  # Message sending
│
├── temp_voice/           # Temporary audio files
├── junk/                 # Archive of old implementations
└── needed_poses.md       # Wishlist for new sprites

Voice Configuration

Adjust Microphone Sensitivity

cd voice
adjust_sensitivity.bat

Recommended sensitivity values:

  • Very Quiet Room: 1000-2000
  • Normal Room: 2000-4000
  • Office: 4000-6000
  • Noisy: 6000-10000

Calibrate Microphone

cd voice
calibrate_voice.bat

Voice Settings

Edit voice/incoming/voice_config.ini:

[recognition]
energy_threshold = 4000  # Microphone sensitivity
message_cooldown = 3.0   # Seconds between messages

Troubleshooting

Voice Input Not Working

  1. Check microphone permissions in Windows
  2. Run calibration to verify microphone levels
  3. Adjust energy_threshold if needed
  4. Ensure Python dependencies are installed

Multiple Avatar Windows

  1. Use start_all_python.bat for better process management
  2. Run stop_all.bat before starting again
  3. Check Task Manager for lingering Python processes

Audio Playback Issues

  1. Check temp_voice/ folder for audio files
  2. Verify Windows Media Player is installed
  3. Restart Claude Desktop if audio queue stuck

Avatar Not Appearing

  1. Verify port 3338 is free
  2. Check if sprites exist in avatar/library/
  3. Look for avatar window behind other windows

Development Notes

Adding New Voices

Edit voice/outgoing/voiceConfig.js to add more Edge TTS voices

Creating New Poses

  1. Add PNG file to avatar/library/
  2. Use filename (without .png) as animation ID

Custom Animations

// Example: Create a greeting sequence
create_animation({
  id: "greeting",
  name: "Greeting Sequence",
  frames: "idle,happy,love,idle",
  fps: 2,
  loop: false
})

Recent Updates

  • v1.0.0 - Released to the world oh god what I have done. I am so sorry Claude.

Credits

  • Avatar sprites from chatgpt 4o
  • Voice synthesis using Microsoft Edge TTS
  • Speech recognition via Google Speech API

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选