Real-time system diagnostics for AI agents β CPU, RAM, disk, network, hardware health. 17 tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Real-time system intelligence for AI agents.
Give Claude, Cursor, and Windsurf eyes into your machine β CPU, RAM, disk, network, processes, hardware health, and more.
DivLens MCP is a high-performance Model Context Protocol (MCP) server written in Rust.
It bridges the gap between AI assistants and your machine β giving Claude, Cursor, Windsurf, and any other MCP-compatible agent live, structured access to hardware sensors, storage metrics, network diagnostics, process trees, developer runtimes, system logs, and more.
No cloud. No API keys. No configuration required. Just build and run.
| Category | Tool | What it returns |
|---|---|---|
| β‘ Performance | get_live_metrics | CPU %, RAM, swap, blocked processes, uptime |
| β‘ Performance | get_process_list | Top processes by CPU / RAM with PID |
| πΎ Storage | get_storage_health | Free/used/total per mount point |
| πΎ Storage | scan_storage_inventory | Full file-type inventory with sizes |
| πΎ Storage | get_file_type_summary | File counts and sizes by extension |
| πΎ Storage | get_specific_file_type | All files matching a specific extension |
| πΎ Storage | get_advanced_storage_stats | Top 50 largest files + stale data analysis |
| πΎ Storage | get_storage_diagnostics | IOPS, read/write latency, SMART status |
| π₯οΈ Hardware | get_hardware_diagnostics | CPU/GPU specs, battery %, temps, SMART |
| π Network | get_network_diagnostics | Throughput, active connections, signal |
| π Network | get_network_config | IP, DNS, interface config per adapter |
| π¬ Identity | get_system_dna | OS, hostname, uptime, machine fingerprint |
| π οΈ Dev Stack | get_dev_stack | Node, Python, Rust, Go, Java runtimes + packages |
| π οΈ Dev Stack | get_drivers | Kernel modules and device drivers |
| π Utility | scan_directory | Recursive directory listing with sizes |
| π§ Memory | recall_memory | Semantic search over past AI diagnoses |
| π Logs | get_system_logs | Recent OS/kernel errors clustered by pattern |
No Rust required. No compilation. No manual config editing. The installer downloads a pre-built binary and automatically configures your AI clients.
The installer will:
Then just restart your AI client and ask "What's using my CPU right now?"
Requires Rust 1.82+.
Config file:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)
or%APPDATA%\Claude\claude_desktop_config.json(Windows)
Quit and relaunch Claude Desktop. A π plug icon confirms the connection.
Config file:
~/.cursor/mcp.json
Cmd+Shift+P β Reload Window
Config file:
~/.codeium/windsurf/mcp_config.json
For complete setup details, see DEPLOYMENT.md.
Transport: Every MCP message is a newline-delimited JSON-RPC 2.0 object over stdio.
AI logic: DivLens never runs LLM inference β it only collects and returns raw system data.
Privacy: All data stays on your machine. Nothing is sent anywhere.
Enable the vector-memory feature to give recall_memory true semantic search using a local ONNX embedding model (no cloud, no API key):
When enabled, DivLens creates a local LanceDB vector store and uses fastembed to embed and recall past diagnoses semantically.
When disabled (default), recall_memory returns an empty list β no functionality is broken.
Test the MCP wire protocol without a client:
Licensed under the Apache License, Version 2.0.
See LICENSE for the full text.
Copyright Β© 2024 DivLens Contributors.
![]()
Built with β€οΈ in Rust Β· Zero cloud Β· AI-native diagnostics
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/divlens)<a href="https://allmcps.com/mcp/divlens"><img src="https://allmcps.com/api/badge/divlens?style=directory" alt="Divlens on AllMCPs" /></a>