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

system-health-mcp

v1.0.4

Published

A local MCP server to give your LLM access to hardware information.

Readme

System Health MCP Server

A Model Context Protocol (MCP) server that provides real-time system health monitoring capabilities including CPU load, memory usage, and battery status.

Features

  • Real-time CPU monitoring: Get current CPU load percentage
  • Memory statistics: Track active and total memory usage
  • Battery information: Monitor battery level and charging status
  • Hardware details: GPU, network interfaces, disk usage, and Docker containers

Prerequisites

  • Node.js (v18 or higher recommended)
  • TypeScript
  • npm or yarn

Installation (from npm)

You can install and run this MCP server directly from npm:

npm install -g system-health-mcp

Then run the server:

system-health-mcp

Or, if you want to use it locally in a project:

npm install system-health-mcp

Then run:

npx system-health-mcp

You do not need to clone the repository if installing from npm.


Installation (from source)

git clone cd system-health-mcp

git clone https://github.com/jvdub/system-health-mcp.git
cd system-health-mcp
npm install
npx tsc

Configuration

To use this MCP server with an MCP-compatible client (like Claude Desktop), add the following configuration to your client's MCP settings file:

If installed globally from npm:

{
  "mcpServers": {
    "system-health": {
      "command": "system-health-mcp"
    }
  }
}

If installed locally in a project:

{
  "mcpServers": {
    "system-health": {
      "command": "npx",
      "args": ["system-health-mcp"]
    }
  }
}

If running from source:

{
  "mcpServers": {
    "system-health": {
      "command": "node",
      "args": ["/path/to/your/project/index.js"]
    }
  }
}

Important: For the source install, replace /path/to/your/project/index.js with the absolute path to the built index.js file in your cloned repository.

Example Configuration Locations

  • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
  • Claude Desktop (Linux): ~/.config/Claude/claude_desktop_config.json

After updating the configuration, restart your MCP client for the changes to take effect.

Usage

This MCP server exposes two tools for comprehensive system monitoring.

Running the Server

node index.js

The server communicates via stdio and is designed to be used with MCP-compatible clients.

Tool: get_system_stats

Returns real-time system health information.

Response:

  • cpuLoadPercentage: Current CPU load as a percentage
  • memoryUsedGB: Active memory in gigabytes
  • memoryTotalGB: Total system memory in gigabytes
  • batteryLevel: Battery percentage (or "No battery" if not applicable)
  • isCharging: Boolean indicating if the battery is currently charging

Example Response:

{
  "cpuLoadPercentage": "23.45",
  "memoryUsedGB": "8.42",
  "memoryTotalGB": "16.00",
  "batteryLevel": "85%",
  "isCharging": false
}

Tool: get_hardware_details

Returns detailed hardware information based on the specified category.

Parameters:

  • category (required): One of "graphics", "network", "disks", or "docker"

Categories:

  • graphics: GPU and graphics card information
  • network: Network interface configurations
  • disks: Disk usage and filesystem information
  • docker: Docker container details

Example Request:

{
  "category": "graphics"
}

Development

Project Structure

  • index.ts: Main server implementation
  • package.json: Project dependencies and configuration
  • tsconfig.json: TypeScript compiler configuration

Building

npx tsc

Type Checking

npx tsc --noEmit

Dependencies

  • @modelcontextprotocol/sdk: MCP SDK for building servers
  • systeminformation: Cross-platform system information library

License

ISC