# divlens

This MCP server gives AI agents live access to CPU, memory, storage, network, and hardware data for local system diagnosis.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 7
- Author: Lohithry
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Lohithry/divlens-mcp
- Updated: 2026-05-31
- HTML: https://affpapa.org/en/nevibecode/mcp/divlens

## What it does

divlens connects an MCP client to the host machine and exposes 17 diagnostic tools. An agent can inspect CPU and RAM usage, swap, processes, mounted storage, file types, network state, drivers, system logs, developer runtimes, and hardware health. It can also locate large files and search earlier diagnoses.

The server is written in Rust and communicates through newline-delimited JSON-RPC 2.0 over stdio. Its internals include a SQLite cache plus native system interfaces such as IOKit and WMI. Data stays on the machine, with no cloud service or API key involved. The installer fetches a prebuilt binary, checks its SHA-256 checksum, and configures supported AI clients.

Building from source requires Rust 1.82+. Restart the AI client after installation, or the new MCP connection will not become active.

## Requirements
- Needs: a prebuilt binary from the repository releases

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- inspect current CPU and RAM usage
- identify processes consuming system resources
- check storage capacity and SSD health
- review active network connections
- locate large or stale files

## Example prompts
- Show the current CPU and RAM load, then list the processes using the most resources.
- Use `get_hardware_diagnostics` and `get_storage_diagnostics` to check the drives.
- Find the largest files on this machine and explain where the storage is going.

## Similar
- [shell-scripting-pro](https://affpapa.org/en/nevibecode/agents/shell-scripting-pro.md) — subagent · 1479 installs
- [aube-package-manager](https://affpapa.org/en/nevibecode/skills/aube-package-manager.md) — skill · 392 installs
- [shell](https://affpapa.org/en/nevibecode/rules/shell.md) — rule · ★ 40451
- [littlesnitch-linux](https://affpapa.org/en/nevibecode/skills/littlesnitch-linux.md) — skill · 518 installs
- [golang-cli-cobra-viper](https://affpapa.org/en/nevibecode/skills/golang-cli-cobra-viper.md) — skill · 425 installs
- [golang-observability-opentelemetry](https://affpapa.org/en/nevibecode/skills/golang-observability-opentelemetry.md) — skill · 409 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
