Health Reminder MCP
H

Health Reminder MCP

A health reminder system based on the MCP protocol that provides timed system notification functions, supports custom reminder intervals and message content, and helps users take regular breaks to protect their health.
2 points
4.9K

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

๐Ÿš€ Health Reminder MCP System

A health reminder system based on the Model Context Protocol (MCP) that can pop up system notifications at regular intervals to remind you to get up and move, protecting your health.

โœจ Features

  • ๐Ÿ”” Scheduled Reminders: Pop up system notifications at specified intervals (default is 30 minutes).
  • โš™๏ธ Custom Configuration: Support customizing reminder intervals, message content, notification titles, and reminder sounds.
  • ๐Ÿ“Š Status Monitoring: View the running status and configuration information of reminders in real-time.
  • ๐ŸŽฏ Immediate Reminders: Support manually triggering immediate reminders.
  • ๐Ÿ–ฅ๏ธ Cross-Platform: Support system notifications on Windows, macOS, and Linux.
  • ๐Ÿ”Œ MCP Architecture: A complete Client-Server architecture, easy to integrate and expand.

๐Ÿ“ฆ Project Structure

health-reminder-mcp/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ server/
โ”‚   โ”‚   โ””โ”€โ”€ index.ts          # MCP Server implementation
โ”‚   โ””โ”€โ”€ client/
โ”‚       โ””โ”€โ”€ index.ts          # MCP Client implementation
โ”œโ”€โ”€ package.json              # Project configuration
โ”œโ”€โ”€ tsconfig.json             # TypeScript configuration
โ””โ”€โ”€ README.md                 # Documentation

๐Ÿš€ Quick Start

1. Install Dependencies

npm install

2. Compile the Project

npm run build

3. Running Modes

Mode 1: Run the Client (Recommended)

The Client will automatically connect to the Server and provide an interactive console:

npm run client

Mode 2: Run the Server and Client Separately

Terminal 1 - Start the Server:

npm run server

Terminal 2 - Start the Client:

npm run client

4. Development Mode

# Start the Server (Development Mode)
npm run dev:server

# Start the Client (Development Mode)
npm run dev:client

๐Ÿ’ก Usage Instructions

Interactive Console

After starting the Client, you will see the following menu:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘     Health Reminder MCP Client Console     โ•‘
โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
โ•‘  1. Start Health Reminder (Default 30 minutes)     โ•‘
โ•‘  2. Start Health Reminder (Custom Configuration)     โ•‘
โ•‘  3. Stop Health Reminder                   โ•‘
โ•‘  4. View Current Status                   โ•‘
โ•‘  5. Send an Immediate Reminder                   โ•‘
โ•‘  6. View Available Tools                   โ•‘
โ•‘  0. Exit the Program                       โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

Available Tools (MCP Tools)

The MCP Server provides the following tools:

1. start_reminder

Start the health reminder timer. Parameters:

  • interval (number): Reminder interval in minutes (default is 30).
  • message (string): Reminder message content.
  • title (string): Notification title (default is "Health Reminder").
  • sound (boolean): Whether to play a reminder sound (default is true).

2. stop_reminder

Stop the health reminder timer.

3. get_status

Get the current status and configuration of the health reminder.

4. send_immediate_reminder

Send a health reminder notification immediately (does not affect the timer). Parameters:

  • message (string): Reminder message content.
  • title (string): Notification title.
  • sound (boolean): Whether to play a reminder sound.

๐Ÿ’ป Usage Examples

Example 1: Use Default Configuration (Remind every 30 minutes)

  1. Run npm run client.
  2. Select option 1.
  3. The system will pop up a reminder notification every 30 minutes.

Example 2: Custom Configuration (Remind every hour with a custom message)

  1. Run npm run client.
  2. Select option 2.
  3. Enter the interval time: 60.
  4. Enter the title: Break Time.
  5. Enter the message: You've been working for an hour. It's time to take a break!.
  6. Select the reminder sound: y.

Example 3: Test the Notification Immediately

  1. Run npm run client.
  2. Select option 5.
  3. The system will pop up a notification immediately.

โš™๏ธ Customize Default Configuration

Three methods are supported to customize the default reminder time and message:

1. Configuration File (Recommended)

Edit config.json in the project root directory:

{
  "reminder": {
    "interval": 45,
    "message": "It's been 45 minutes. It's time to take a break!",
    "title": "Work Reminder",
    "sound": true
  }
}

2. Environment Variables

set REMINDER_INTERVAL=60
set REMINDER_MESSAGE=It's time to take a break!
npm run server

3. Pass Parameters When Calling

In Cursor: Start health reminder every 45 minutes. Configuration Priority: Call parameters > Environment variables > Configuration file > Built-in default values. For detailed configuration instructions, please refer to: Configuration Guide | Configuration Examples

๐Ÿ”ง Technical Stack

  • TypeScript: A type-safe superset of JavaScript.
  • Node.js: A JavaScript runtime environment.
  • @modelcontextprotocol/sdk: The official MCP SDK.
  • node-notifier: A cross-platform system notification library.

๐Ÿ”ง Configuration Instructions

Default Configuration

{
  interval: 30,           // 30 minutes
  message: "It's time to get up and move! Sitting for long periods is bad for your health. It is recommended to stand up and walk around.",
  title: "Health Reminder",
  sound: true            // Enable reminder sound
}

Custom Configuration

You can customize the configuration in the following ways:

  1. Through the interactive menu: Select option 2 and enter the configuration as prompted.
  2. Through MCP tool calls: Use the start_reminder tool and pass in parameters.

๐Ÿ“ฑ System Notification Support

  • Windows 10/11: Use the native notification center.
  • macOS: Use the native notification center.
  • Linux: Use libnotify (needs to be installed).

Install Notification Support on Linux

# Ubuntu/Debian
sudo apt-get install libnotify-bin

# Fedora
sudo dnf install libnotify

# Arch Linux
sudo pacman -S libnotify

๐Ÿ“š Documentation

Deployment Methods

  • Deployment Guide - Understand the differences between different deployment methods.
  • Publish to npm - ๐Ÿ“ฆ Recommended! Share your MCP Server like chrome-devtools-mcp.
  • Server Deployment - Cloud server deployment (for reference only, not recommended for this project).

Usage and Configuration

  • Cursor Configuration Guide - Use MCP in Cursor.
  • Configuration Instructions - Detailed configuration options.
  • API Documentation - MCP tool interface documentation.
  • Usage Tutorial - A complete usage tutorial.

๐Ÿค Integration into Other Applications

Since the MCP protocol is used, you can easily integrate this health reminder system into any application that supports MCP:

  1. Register the Server in the MCP configuration file.
  2. Connect using any MCP Client.
  3. Call the provided tools.

Share with Others

Want others to use your health reminder system? Check out the Publish to npm Guide.

๐Ÿ“„ License

MIT License

๐Ÿ™ Acknowledgments

๐Ÿ’ช Health Tips

  • It is recommended to get up and move for 5 - 10 minutes every 30 minutes.
  • You can do simple stretching exercises.
  • Look out of the window to relax your eyes.
  • Drink an appropriate amount of water to keep your body hydrated.
  • Maintain a good sitting posture and avoid looking down for long periods.

May you have a pleasant experience and good health! ๐ŸŒŸ

Alternatives

R
Rsdoctor
Rsdoctor is a build analysis tool specifically designed for the Rspack ecosystem, fully compatible with webpack. It provides visual build analysis, multi - dimensional performance diagnosis, and intelligent optimization suggestions to help developers improve build efficiency and engineering quality.
TypeScript
8.7K
5 points
N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
9.3K
5 points
T
Testkube
Testkube is a test orchestration and execution framework for cloud-native applications, providing a unified platform to define, run, and analyze tests. It supports existing testing tools and Kubernetes infrastructure.
Go
6.2K
5 points
M
MCP Windbg
An MCP server that integrates AI models with WinDbg/CDB for analyzing Windows crash dump files and remote debugging, supporting natural language interaction to execute debugging commands.
Python
8.6K
5 points
R
Runno
Runno is a collection of JavaScript toolkits for securely running code in multiple programming languages in environments such as browsers and Node.js. It achieves sandboxed execution through WebAssembly and WASI, supports languages such as Python, Ruby, JavaScript, SQLite, C/C++, and provides integration methods such as web components and MCP servers.
TypeScript
7.5K
5 points
N
Netdata
Netdata is an open-source real-time infrastructure monitoring platform that provides second-level metric collection, visualization, machine learning-driven anomaly detection, and automated alerts. It can achieve full-stack monitoring without complex configuration.
Go
9.6K
5 points
M
MCP Server
The Mapbox MCP Server is a model context protocol server implemented in Node.js, providing AI applications with access to Mapbox geospatial APIs, including functions such as geocoding, point - of - interest search, route planning, isochrone analysis, and static map generation.
TypeScript
6.7K
4 points
U
Uniprof
Uniprof is a tool that simplifies CPU performance analysis. It supports multiple programming languages and runtimes, does not require code modification or additional dependencies, and can perform one-click performance profiling and hotspot analysis through Docker containers or the host mode.
TypeScript
7.2K
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
18.9K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
32.1K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
20.6K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
63.0K
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
58.4K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
28.0K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
18.8K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
42.2K
4.8 points