Telegram Reminder MCP

Telegram Reminder MCP

Enables users to manage Telegram reminders via natural language or commands, with features like setting, updating, deleting, and listing reminders, while ensuring multi-user privacy.

Category
Visit Server

README

Telegram Reminder MCP

Uploading image.png…

A context-aware, secure, and intuitive Telegram Reminder Bot powered by FastMCP and SQLite3. Set, view, modify, and delete reminders using simple conversational phrases or standard commands.

🤖 Live Bot & Web Preview


✨ Features

  1. Natural Language Parsing: Recognizes relative phrases to set reminders (e.g., in 5 minutes, after 2 hours, in 3 days).
  2. Full CRUD Capabilities: View, update, or cancel your reminders directly from Telegram chat messages.
  3. Strict Privacy & Multi-User Isolation: Reminders are strictly isolated using Telegram chat_id. A user can never view, edit, or delete reminders belonging to another Telegram user.
  4. Local Timezone Alignment: Configured specifically to calculate and store times in the Asia/Kolkata (IST) timezone.
  5. Robust Cron Engine: A background worker polls the database every 5 seconds to ensure alerts are dispatched down to the second.
  6. Voice Message Support & Normalization: Send voice notes directly in Telegram to set, list, edit, or delete reminders. Spoken number words (like "five" or "twenty-three") are automatically normalized to digits (like "5" or "23") to integrate seamlessly with the command parser.

💬 Sentence Tips & Parser Syntax

The bot supports natural conversational inputs. The syntax parser uses flexible regular expressions under the hood.

Setting a Reminder

You can set reminders using two main sentence structures:

  • remind me after [number] [unit] to [action]
    • Example: remind me after 15 minutes to drink water
    • Example: remind me after 1 hr to stretch
  • remind me to [action] in [number] [unit]
    • Example: remind me to call dad in 2 days
    • Example: remind me to stretch in 30 seconds

Supported Units: sec, second, seconds, min, minute, minutes, hr, hour, hours, day, days.

Voice Message Commands

You can tap the microphone icon in Telegram to speak any command. Spoken numbers are converted to digits automatically:

  • Voice Input: "remind me in ten minutes to do yoga" -> bot normalizes to "remind me in 10 minutes to do yoga" and schedules it.
  • Voice Input: "list reminders" -> bot transcribes and returns active reminders.
  • Voice Input: "delete reminder four" -> bot normalizes to "delete reminder 4" and deletes it.
  • Voice Input: "edit reminder five to walk dog in twenty minutes" -> bot normalizes to "edit reminder 5 to walk dog in 20 minutes" and updates it.

Updating a Reminder via Chat

  • edit reminder [id] to [new text] or edit [id] to [new text]
    • Example: edit reminder 11 to go to gym in 5 minutes
    • Example: edit 11 to buy juice

Deleting a Reminder via Chat

  • delete reminder [id], delete [id], or remove [id]
    • Example: delete reminder 11

Listing Reminders via Chat

  • list reminders, list, list all, or show reminders

🛠️ Command Reference

For users who prefer classic bot commands:

Command Usage Description
/start /start Welcomes the user and lists available options.
/help /help Displays the usage guidelines and tips.
/list /list Displays a detailed list of all your active reminders and their remaining time.
/delete /delete <id> Instantly cancels and removes the specified reminder from the database.
/edit /edit <id> <new text and/or time> Modifies the task text or time offset for an active reminder.

🔒 Security & Multi-User Privacy Check

All reminder actions (reading, updating, deleting) are secured on the FastMCP Server by verifying that the requesting user's Telegram chat_id matches the owner of the target reminder ID in the database.

  • Isolation Test: If User A attempts to run delete reminder 5 or /delete 5, but the reminder belongs to User B, the server returns an Unauthorized error and blocks the transaction.
  • Result: Reminders are strictly confidential, and no cross-user visibility is possible.

🚀 Technical Setup (Local Deployment)

1. Requirements

  • Python 3.9+
  • FastMCP
  • SQLite3

2. Configuration

Copy the .env.template to .env and fill in your details:

TELEGRAM_BOT_TOKEN=your_telegram_bot_token
MCP_SERVER_URL=http://127.0.0.1:9876/mcp

3. Run Server

Start the database server:

python3 server.py

4. Run Client

Start the Telegram Bot polling and background cron checker:

python3 client.py

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

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.

Official
Featured