local-process-intelligence-server

mattialoszach/local-process-intelligence-server

3.2

If you are the rightful owner of local-process-intelligence-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Local Process Intelligence MCP Server is a local, intelligent monitoring server designed for the Model Context Protocol (MCP). It provides comprehensive insights into system and process states, enabling a local LLM agent to perform diagnostics and suggest optimizations.

๐Ÿง  Local Process Intelligence MCP Server

This is a local, intelligent monitoring server built for the Model Context Protocol (MCP). It provides deep insight into your system and running processes, enabling a local LLM agent to analyze the machineโ€™s state, perform diagnostics, suggest optimizations, and offer real-time solutions.

[!NOTE]

โš™๏ธ Compatibility

This project was tested on the latest versions of macOS. While most features work reliably on this version, compatibility with other operating systems (Linux/Windows) is not always guaranteed.

What It Can Do

This project provides tools to:

  • ๐Ÿ”ง Retrieve a full system summary (OS, CPU, RAM, Disk, Boot Time)
  • ๐Ÿ“Š Monitor CPU usage in real time
  • ๐Ÿ’พ Track RAM and swap memory usage
  • ๐Ÿ’ฝ Check disk usage (total, used, free, % used)
  • ๐Ÿงฉ Analyze top processes sorted by CPU load
  • ๐Ÿ”Ž Search for running processes by name
  • ๐ŸŒฒ Explore the process tree of a given PID
  • โš ๏ธ Detect anomalies like:
  • High memory + low CPU (e.g., memory leaks)
  • Zombie/defunct processes
  • Resource usage spikes above a threshold
  • ๐Ÿง  Deliver actionable warnings and insights

This allows a local agent to not only observe, but also understand whatโ€™s happening on your machine โ€” and provide real-time, specific solutions based on the actual system state.

๐Ÿš€ Quick Start

๐Ÿ“ฆ Installation

It is recommended using uv, so make sure you have uv installed. Generally, for more information regarding MCP checkout MCP Python SDK.

Clone this repo then:

uv sync

โ–ถ๏ธ Running the Server / Adding to Claude Desktop Config

With uv:

uv run mcp install main.py

Or directly:

mcp install main.py

To test in development mode with logging:

mcp dev main.py

[!NOTE] ๐Ÿง  Note: When using Claude Desktop, ensure the app is properly restarted after installing a new server.

Find more information on MCP Quickstart

๐Ÿšง Future Work

The project lays the foundation for a powerful local system intelligence layer. In future versions, one could:

  • Expand full cross-platform support
  • Add background process logging
  • Integrate energy usage and thermal monitoring
  • Allow custom alert thresholds and scheduled diagnostics
  • Let agents make automated corrective actions