npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nishant1195/system-monitor-chatbot

v1.0.1

Published

AI-powered CLI tool for system monitoring using Gemini AI and MCP

Readme

🤖 System Monitor AI Chatbot

An intelligent CLI tool that uses Google's Gemini AI to monitor and report on your system's health, performance, and status through natural language conversations.

npm version License: MIT

✨ Features

  • 💬 Natural Language Interface - Ask questions in plain English
  • 📊 Real-time Monitoring - CPU, memory, disk, and network statistics
  • 🔍 Process Analysis - Track resource-intensive processes
  • 📝 Report Generation - Create and save comprehensive system reports
  • 🤖 AI-Powered Insights - Get intelligent analysis and recommendations
  • 🛠️ MCP Integration - Built on Model Context Protocol for extensibility

📦 Installation

Global Installation (Recommended)

npm install -g @nishant1195/system-monitor-chatbot

Local Installation

npm install @nishant1195/system-monitor-chatbot

🚀 Setup

  1. Get a Gemini API Key

  2. Create a .env file in your project directory or home folder:

GEMINI_API_KEY=your_api_key_here
REPORTS_DIR=./reports
MAX_HISTORY=50

💻 Usage

If installed globally:

sysmon-ai

If installed locally:

npx @nishant1195/system-monitor-chatbot

🎯 Example Queries

Try these natural language questions:

  • "What's my current CPU usage?"
  • "Show me the top 10 processes by memory"
  • "Generate a complete system health report"
  • "Is my system running normally?"
  • "What's my disk space?"
  • "Save a system report to a file"
  • "How much RAM do I have free?"
  • "Which processes are using the most CPU?"

🛠️ Available Tools

The AI assistant has access to these monitoring tools:

| Tool | Description | |------|-------------| | get_system_info | OS, CPU, memory, and uptime information | | get_cpu_usage | Real-time CPU statistics and per-core usage | | get_memory_usage | RAM usage details and percentages | | list_processes | Top processes sorted by CPU and memory | | get_disk_usage | Disk space, mount points, and usage | | get_network_info | Network interfaces and transfer statistics | | store_in_file | Save reports and data to files |

📝 Special Commands

  • exit, quit, bye - Exit the application
  • clear - Clear the screen
  • history - Show conversation history

🏗️ Project Structure

system-monitor-chatbot/
├── src/
│   ├── index.js              # Main entry point
│   ├── chat/
│   │   └── chatInterface.js  # CLI interface
│   ├── mcp/
│   │   ├── server.js         # MCP server
│   │   └── tools.js          # Tool definitions
│   ├── tools/
│   │   └── systemTools.js    # System monitoring functions
│   └── ai/
│       └── gemini.js         # Gemini AI integration
├── reports/                   # Generated reports (auto-created)
└── .env                       # Configuration

🔧 Development

Clone the repository:

git clone https://github.com/Nishant1195/system-monitor-chatbot.git
cd system-monitor-chatbot

Install dependencies:

npm install

Run locally:

npm start

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📧 Contact

Nishant - @Nishant1195

Project Link: https://github.com/Nishant1195/system-monitor-chatbot


⭐ If you find this project useful, please consider giving it a star!