System Resource Monitor MCP server

Provides real-time system monitoring metrics including CPU, memory, disk, network, battery, and internet speed through both comprehensive snapshots and targeted tools for diagnosing performance issues without leaving conversations.
Back to servers
Setup instructions
Provider
Abhinav
Release date
Mar 22, 2025
Language
TypeScript
Stats
1 star

This MCP server provides real-time system monitoring capabilities for Claude, allowing it to check CPU, memory, disk, network, battery, and internet speed metrics using the systeminformation library and multi-source speed tests.

Installation Guide

Prerequisites

  • Node.js installed on your system
  • Claude Desktop application

Installing the MCP Server

  1. Clone the repository:
git clone [email protected]:abhinav7895/system-mcp.git
  1. Navigate to the directory and install dependencies:
cd system-resource-monitor && npm install
  1. Build the project:
npm run build

This compiles the TypeScript code and generates the dist/index.js file that will run as an MCP server.

Configuring Claude Desktop

  1. Download Claude Desktop from claude.ai/download if you haven't already.

  2. Add this MCP server to your Claude Desktop configuration file:

{
  "mcpServers": {
    "system-resource-monitor": {
      "command": "node",
      "args": ["/absolute/path/to/dist/index.js"]
    }
  }
}
  1. To access the config file on macOS:
vim ~/Library/Application\ Support/Claude/claude_desktop_config.json

Note: Make sure to replace /absolute/path/to/dist/index.js with the actual absolute path to your compiled index.js file.

Using the MCP Server

Available Monitoring Tools

The server provides six monitoring tools:

  • CPU Usage - Shows overall and per-core CPU load
  • Memory Usage - Reports total, used, and free memory
  • Disk Space - Displays usage for the largest drive
  • Network Usage - Shows real-time network traffic rates
  • Battery Status - Provides battery charge and status information
  • Internet Speed - Measures download and upload speeds

Accessing the Tools in Claude

  1. Launch Claude Desktop after configuring the MCP server.

  2. Look for the hammer icon in the interface, which indicates available tools.

  3. Click the hammer icon to see the list of system monitoring tools.

  4. All six tools (get_cpu_usage, get_memory_usage, etc.) should appear in the list.

Example Queries

You can ask Claude questions like:

  • "What's my current CPU usage?"
  • "How much memory is my system using?"
  • "Check my disk space please"
  • "What's my network usage right now?"
  • "What's my battery status?"
  • "Run an internet speed test"

Troubleshooting

Common Issues

  • Tools not appearing:

    • Verify the server is running properly
    • Check that the path in the configuration file is correct
    • Restart Claude Desktop after making configuration changes
  • Internet speed test errors:

    • Ensure you have an active internet connection
    • Verify the test URLs are accessible from your network
    • Check console logs for specific error messages
  • General problems:

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "system-resource-monitor" '{"command":"node","args":["/absolute/path/to/dist/index.js"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "system-resource-monitor": {
            "command": "node",
            "args": [
                "/absolute/path/to/dist/index.js"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

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

2. Add this to your configuration file:

{
    "mcpServers": {
        "system-resource-monitor": {
            "command": "node",
            "args": [
                "/absolute/path/to/dist/index.js"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later