cosmotop
by bjia56·★ 67·Score 46
Multiplatform system monitoring tool with MCP server mode exposing system metrics via Model Context Protocol.
Overview
Cosmotop is a fork of btop++ built with Cosmopolitan Libc, designed as a single executable that runs on multiple platforms. It provides comprehensive system monitoring capabilities including CPU, memory, disk, network, GPU, NPU, and container metrics. When started with the --mcp flag, it operates as an MCP server, exposing system information tools via the Model Context Protocol while disabling the graphical interface. The implementation uses the STDIO transport and supports protocol version 2024-11-05, making it suitable for integration with AI assistants and automation workflows.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose cosmotop when you need cross-platform system monitoring through MCP and value the single-executable distribution model that works across Linux, Windows, macOS, and BSD systems.
When NOT to choose this
Avoid cosmotop if you need deeply specialized monitoring metrics beyond its provided tools or if you require authentication for MCP server access, which isn't implemented.
Tools this server exposes
9 tools extracted from the READMEget_process_infoGet information about running processes
get_cpu_infoGet CPU information and usage statistics
get_memory_infoGet system memory information and usage statistics
get_network_infoGet network interface statistics and usage
get_disk_infoGet disk usage and I/O statistics
get_gpu_infoGet GPU information and usage statistics
get_npu_infoGet NPU information and usage statistics
get_container_infoGet container information and usage statistics
get_system_infoGet general system information
Comparable tools
Installation
Installation
Direct Download
Download the prebuilt binary from [GitHub releases](https://github.com/bjia56/cosmotop/releases/latest) and run it directly.
Homebrew
brew tap bjia56/tap
brew install cosmotopDocker
docker run -it --rm --net=host --pid=host ghcr.io/bjia56/cosmotop:latestMCP Server Setup
For use with Claude Desktop, add to Claude Desktop config:
{
"mcpServers": {
"cosmotop": {
"command": "path/to/cosmotop",
"args": ["--mcp"]
}
}
}Build from Source
Follow the README instructions for building with CMake and Cosmopolitan Libc.
FAQ
- What tools are exposed by cosmotop in MCP mode?
- Cosmotop exposes several tools: get_process_info, get_cpu_info, get_memory_info, get_network_info, get_disk_info, get_gpu_info, get_npu_info, get_container_info, and get_system_info. GPU and NPU tools are only available if the respective hardware is detected.
- Which platforms are supported by cosmotop?
- Cosmotop supports Linux (x86_64, i386, aarch64, etc.), Windows 10+, MacOS 13+, and various BSD distributions. Core platforms (Linux x86_64/aarch64, MacOS, Windows) are self-contained, while others require curl, wget, or python3 for plugin components.
Compare cosmotop with
Last updated · Auto-generated from public README + GitHub signals.