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.3K

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

A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
7.2K
5 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
7.5K
4 points
M
MCP Agent Mail
MCP Agent Mail is a mail - based coordination layer designed for AI programming agents, providing identity management, message sending and receiving, file reservation, and search functions, supporting asynchronous collaboration and conflict avoidance among multiple agents.
Python
9.4K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
12.7K
5 points
A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
10.6K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
9.9K
4 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
11.5K
5 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.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
19.0K
4.3 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
27.0K
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
16.4K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
53.9K
4.3 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#
23.7K
5 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
51.3K
4.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.1K
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
36.8K
4.8 points