mcp-notify
Provides sound alerts, voice messages, and macOS notifications for Claude Code and other MCP-compatible AI assistants.
README
MCP Notify
A Model Context Protocol (MCP) server that provides sound alerts, voice messages, and macOS notifications for Claude Code and other MCP-compatible AI assistants.
Get notified when Claude needs your attention - perfect for long-running tasks, when you step away, or when Claude hits a blocker.
Features
- Sound alerts - Play native macOS system sounds
- Voice messages - Text-to-speech using macOS voices
- Desktop notifications - Native macOS notification center
- Zero external dependencies - Uses only built-in macOS tools
Requirements
- macOS (uses native
afplay,say, andosascript) - Node.js 18+
- Claude Code CLI or any MCP-compatible client
Installation
Option 1: Install from npm (recommended)
npm install -g mcp-notify
Option 2: Clone from GitHub
git clone https://github.com/dbreugne/mcp-notify.git
cd mcp-notify
npm install
Configuration
Add to your Claude Code configuration (~/.claude.json):
{
"mcpServers": {
"mcp-notify": {
"command": "npx",
"args": ["-y", "mcp-notify"]
}
}
}
Or if installed locally:
{
"mcpServers": {
"mcp-notify": {
"command": "node",
"args": ["/path/to/mcp-notify/index.js"]
}
}
}
After adding, restart Claude Code for the changes to take effect.
Tools
play_sound
Play a system sound. Great for simple audio alerts.
Parameters:
sound(optional): Sound name from/System/Library/Sounds/. Default:Blow
Example usage in Claude:
"Play a sound when you're done"
speak_to_user
Speak a message aloud without showing a notification.
Parameters:
message(required): The message to speakvoice(optional): macOS voice to use. Default:Samantha
Example usage in Claude:
"Tell me out loud when the build is complete"
notify_user
Full notification with sound, desktop notification, and optional voice.
Parameters:
message(required): The message to display and optionally speaktitle(optional): Notification title. Default:Claude needs youurgency(optional):normalorurgent. Urgent plays sound twicevoice(optional): Set totrueto also speak the message
Example usage in Claude:
"Notify me when you need my input"
Available Sounds
These sounds are available on all macOS systems:
| Sound | Description |
|---|---|
| Blow | Default notification sound |
| Basso | Deep, attention-grabbing |
| Bottle | Soft pop |
| Frog | Quirky ribbit |
| Funk | Funky alert |
| Glass | Crystal clear ding |
| Hero | Triumphant fanfare |
| Morse | Dot-dash beep |
| Ping | Simple ping |
| Pop | Quick pop |
| Purr | Gentle purr |
| Sosumi | Classic Mac sound |
| Submarine | Sonar ping |
| Tink | Light tap |
Available Voices
Run say -v ? in Terminal to see all available voices on your system. Common ones:
Samantha(default) - American English femaleAlex- American English maleVictoria- American English femaleDaniel- British English maleKaren- Australian English female
Tips
Best sound for "your turn" notifications
Through testing, Glass works well as a non-intrusive "your turn" notification sound.
Use with hooks
You can also set up a Claude Code hook to automatically play a sound when Claude finishes:
Add to ~/.claude/settings.local.json:
{
"hooks": {
"Stop": [
{
"type": "command",
"command": "afplay /System/Library/Sounds/Glass.aiff"
}
]
}
}
Troubleshooting
Sound not playing
- Check your system volume
- Ensure the sound file exists:
ls /System/Library/Sounds/ - Test manually:
afplay /System/Library/Sounds/Glass.aiff
Notifications not showing
- Check System Preferences > Notifications
- Ensure Terminal/your IDE has notification permissions
Voice not working
- Test manually:
say "Hello" - Check available voices:
say -v ?
License
MIT License - see LICENSE file.
Contributing
Contributions welcome! Please open an issue or PR on GitHub.
Author
Created for use with Claude Code.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.