MCP Mac Monitor
Provides tools for monitoring and managing macOS system status, including battery, memory, CPU, GPU, disk, top processes, and energy usage, as well as scheduled or immediate power actions such as shutdown, restart, sleep, and lock screen.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Mac Monitor what's eating my battery?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Mac Monitor
A local MCP server that lets Claude (or any MCP client) check the status of your Mac — battery, memory, CPU, GPU, disk, and which apps are draining your battery — and shut it down, restart it, or put it to sleep.
Ask things like "How's my Mac doing?", "What's eating my battery?" or "Shut down my Mac in 30 minutes" — even from your phone, while Claude runs on the Mac.
Tools
Tool | What it does |
| Everything at once: system, battery, memory, CPU, disk, top processes |
| Charge %, charging state, time remaining, cycle count, health, temperature |
| RAM used/total, compressed, swap, memory pressure |
| Usage %, load average, thermal state |
| Free/used space per volume |
| Processes using the most CPU or RAM |
| Apps draining the most battery (energy impact + GPU %), with per-app CPU and GPU usage and total GPU usage |
| Model, chip, macOS version, uptime, local IP, current time |
| Shut down now or in X minutes. If shutdown gets blocked, the Mac goes to sleep after 2 minutes |
| Restart now or in X minutes |
| Sleep now or in X minutes |
| Turn the display off (locks it if a password is required on wake) |
| See / cancel a scheduled power action |
Related MCP server: AppleScript Automation MCP
Requirements
macOS (Apple Silicon recommended — per-app GPU usage needs an Apple GPU)
Node.js 18 or later
No
sudorequired
Installation
git clone https://github.com/Go-Business-Inc/MCP-MAC-Monitor.git
cd MCP-MAC-Monitor
npm installClaude Code
claude mcp add --scope user mac-monitor -- node /absolute/path/to/MCP-MAC-Monitor/src/index.jsClaude Desktop
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude:
{
"mcpServers": {
"mac-monitor": {
"command": "/usr/local/bin/node",
"args": ["/absolute/path/to/MCP-MAC-Monitor/src/index.js"]
}
}
}Use the output of which node as command — Claude Desktop doesn't load your shell's PATH.
Permissions
The first time the Mac shuts down or restarts, macOS asks for permission to let the app control System Events (System Settings → Privacy & Security → Automation).
Safety
60-second grace period. Every power action waits at least 60 s, so the reply reaches you and there's time to call
cancel_power_actionif it was a mistake.Survives Claude closing. Scheduled actions run in a separate process (state in
~/.mac-monitor/scheduled.json), so they execute even if Claude quits.Blocked shutdowns fall back to sleep. If an app refuses to quit (e.g. an unsaved document), the Mac sleeps after 2 minutes instead of draining the battery.
FileVault and remote restarts. With FileVault on, a restarted Mac stops at the disk-unlock screen until someone types the password — Claude won't be reachable remotely until then.
About the energy numbers
energy_impactis thePOWERvalue fromtop— the same kind of relative score as Activity Monitor's Energy Impact (not watts). It reflects CPU time and wakeups but not GPU work, soget_energyranks apps byenergy_impact + gpu_percent.Per-app GPU % comes from the GPU driver's per-process counters, sampled over ~2 seconds.
Real wattage would require
powermetrics, which needssudo; this server intentionally avoids it.
Configuration
Environment variable | Default | Purpose |
| — | Set to |
|
| Where scheduled-action state is stored |
|
| How long a blocked shutdown waits before sleeping the Mac |
Credits
Built by Go Business Inc.
Go Business Inc. helps companies transform their operations through digital automation: process-based CRM and sales pipelines, AI chatbots and agents, automated marketing journeys, customer self-service portals, business intelligence dashboards, hardware automation, and remote-work management.
Available Tools
14 toolscancel_power_actionCancelar apagado programadoAIdempotent
Cancela el apagado, reinicio o reposo programado, si todavía no se ejecutó.
Inputs: no named parameters.
get_batteryBateríaARead-only
Batería: porcentaje, si está cargando, fuente de energía, tiempo restante, ciclos, salud (capacidad máxima vs. de fábrica), condición y temperatura.
Inputs: no named parameters.
get_cpuCPUARead-only
CPU: chip, núcleos, uso actual (%), carga promedio 1/5/15 min y estado térmico.
Inputs: no named parameters.
get_diskDiscoARead-only
Espacio en disco: total, usado y libre del disco interno y de los discos externos montados.
Inputs: no named parameters.
get_energyConsumo de batería por programaARead-only
Qué programas consumen más batería ahora mismo. energy_impact es el puntaje POWER de top (CPU y despertares; relativo, no vatios) y NO incluye la GPU, por eso la lista se ordena por energy_impact + gpu_percent. Incluye % de CPU y de GPU de cada programa, el uso total de la GPU y los programas que más GPU usan. Mide durante ~2 s. Úsalo para '¿qué se come la batería?'.
Inputs: limit.
get_memoryMemoria RAMARead-only
Memoria RAM: total, usada, memoria de apps, wired, comprimida, caché, swap y presión de memoria (normal/warning/critical).
Inputs: no named parameters.
get_power_actionVer apagado programadoARead-only
Indica si hay un apagado/reinicio/reposo programado y cuánto falta.
Inputs: no named parameters.
get_snapshotEstado general de la MacARead-only
Resumen completo de la Mac en una sola llamada: sistema, batería, memoria, CPU, disco y los 5 procesos que más CPU usan. Úsalo para preguntas generales como '¿cómo está la compu?'.
Inputs: no named parameters.
get_system_infoInformación del sistemaARead-only
Nombre de la Mac, modelo, chip, versión de macOS, usuario, tiempo encendida, modo de bajo consumo, IP local y hora actual.
Inputs: no named parameters.
get_top_processesProcesos con más consumoARead-only
Procesos que más CPU o memoria consumen en este momento.
Inputs: limit, sort_by.
lock_screenApagar/bloquear pantallaA
Apaga la pantalla de inmediato. macOS la bloquea si está configurado para pedir contraseña al apagar la pantalla (por defecto sí). La Mac sigue encendida.
Inputs: no named parameters.
restartReiniciar la MacADestructive
Reinicia la Mac de forma normal, ahora o dentro de X minutos (mínimo 60 s). Cancelable con cancel_power_action.
Inputs: delay_minutes.
shutdownApagar la MacADestructive
Apaga la Mac de forma normal (como Menú Apple → Apagar), ahora o dentro de X minutos. Siempre espera al menos 60 s. Se puede cancelar con cancel_power_action mientras no se haya ejecutado. Si el apagado queda bloqueado (documento sin guardar, una app que no se cierra), la Mac entra en reposo después de 2 minutos para no gastar batería (fallback_to_sleep). Confirma con el usuario antes de usarlo si no lo pidió explícitamente.
Inputs: delay_minutes, fallback_to_sleep.
sleepPoner la Mac en reposoADestructive
Pone la Mac en reposo (sleep), ahora o dentro de X minutos (mínimo 60 s). Casi no gasta batería y no cierra las apps. Ojo: al dormir, Claude en esta Mac deja de responder hasta que alguien la despierte. Cancelable con cancel_power_action.
Inputs: delay_minutes.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target a distinct metric or action, but get_snapshot overlaps with the individual get_* monitoring calls, and get_top_processes/get_energy both report process-level usage. The descriptions clarify their intended use, so ambiguity remains limited.
Read operations consistently follow the get_<noun> pattern, while power actions use simple imperative verbs like shutdown, restart, sleep, and lock_screen. Everything uses lowercase snake_case, making the set highly predictable.
With 14 tools, the server is well-scoped: approximately nine monitoring read tools, four power/lock controls, and one pair for checking/canceling scheduled actions. Each tool earns its place without redundancy.
The tool surface fully covers the stated domain: battery, memory, CPU, disk, system info, processes, energy usage, and a complete power-control lifecycle including scheduling and cancellation. No obvious dead ends or missing core operations.
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
EXZA Remote — AI Computer Commander Your computer. Your control. Securely connect your own macOS, Windows or Linux computer to compatible AI clients, including ChatGPT and Claude. EXZA Remote provides 59 MCP tools for authorized file management, terminal operations, system monitoring, desktop automation and email workflows. GETTING STARTED 1. Create an EXZA Remote account. 2. Install the official computer connection client. 3. Pair your device using a temporary six-digit PIN. 4. Approve the connection on your computer. 5. Connect your preferred MCP client using EXZA OAuth. MCP ENDPOINT https://remote.exza.de/mcp TRANSPORT Streamable HTTP with OAuth 2.0 KEY FEATURES • 59 MCP tool interfaces • Secure computer and file access • Terminal commands and background jobs • File search, reading and editing • System monitoring and desktop automation • macOS, Windows and Linux support • Owner-controlled permissions and approvals COMPLETE INSTALLATION & DOCUMENTATION Detailed setup instructions, terminal installation commands, all 59 tools, troubleshooting and security information: https://github.com/exzade/EXZA-Remote/blob/main/docs/GLAMA_OVERVIEW.md Official website: https://remote.exza.de EXZA Remote is an independent, OAuth-protected service. Computer access requires individual account authorization and device-owner approval.
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that enables AI to fully control macOS — mouse, keyboard, terminal, screenshots, window management, UI element detection, and provides AI-optimized information reporting.3629 npmMIT
- AlicenseAqualityDmaintenanceA local MCP server that exposes macOS automation actions (AppleScript + CLIs) as tools, enabling MCP clients on your Mac to control apps, system settings, and more.39MIT
- AlicenseBqualityBmaintenanceEnables AI agents to directly access native macOS services, media, system health, and administration tools through a local MCP server.4018 npm1MIT
- AlicenseNot gradedqualityCmaintenanceActvt's embedded MCP server for macOS. 25 tools for live CPU, GPU, memory and network metrics, listening ports with a guarded port_kill, and Claude Code and Codex session analytics (cost, tokens, transcript search, error patterns). It ships inside the Actvt macOS app and binds to loopback on the user's machine, so it starts with the app, not as a standalone or containerised process.MIT