Skip to main content
Glama
Hardware Inventory MCP

Hardware Inventory MCP

by Ahmad-1276

Hardware Inventory MCP

Build a structured inventory of CPUs, memory, storage, PCI, USB, and motherboard hardware.

Python MCP License

Tools

Tool

Description

get_hardware_summary

High-level CPU, memory, storage, GPU, and motherboard summary

get_cpu_hardware

CPU model, sockets, cores, threads, frequency, and cache

get_memory_hardware

Memory totals plus DIMM slots when available

get_storage_devices

Block devices, models, sizes, mount points, and rotational flags

get_pci_devices

PCI devices from lspci

get_usb_devices

USB devices from lsusb

get_motherboard_info

Motherboard vendor, model, version, and serial when available

Related MCP server: mcp-system-info

Requirements

  • Python 3.10+

  • pip install -e .

Install

git clone https://github.com/Ahmad-1276/hardware-inventory-mcp.git
cd hardware-inventory-mcp

python3 -m venv .venv
source .venv/bin/activate        # Windows: .venv\Scripts\activate

pip install -e .

Run

hardware-inventory-mcp
# or
python -m hardware_inventory_mcp.server

The server speaks the MCP stdio protocol and waits for a client.

Connect an MCP client

Add this to your client's MCP config (Claude Desktop, Cursor, VS Code, etc.):

{
  "mcpServers": {
    "hardware-inventory": {
      "command": "/absolute/path/to/.venv/bin/hardware-inventory-mcp",
      "args": []
    }
  }
}

Use the absolute path to the executable inside your virtual environment. On Windows the path is .venv\Scripts\hardware-inventory-mcp.exe.

Example prompts

  • Summarize this machine's hardware.

  • How many RAM slots are populated?

  • List storage devices and models.

  • What USB devices are connected?

Notes

Some details require root (dmidecode) or platform tools (lspci, lsusb). Missing data is reported with available: false instead of failing the whole tool.

Development

pip install -e ".[dev]"
pytest -q

License

MIT — see LICENSE.

Available Tools

7 tools
get_cpu_hardwareA

Return CPU model, sockets, cores, threads, frequency, and cache.

Inputs: no named parameters. Returns: object

get_hardware_summaryA

Return a high-level CPU, memory, storage, GPU, and motherboard summary.

Inputs: no named parameters. Returns: object

get_memory_hardwareB

Return memory totals plus DIMM slots when available.

Inputs: no named parameters. Returns: object

get_motherboard_infoA

Return motherboard vendor, model, version, and serial when available.

Inputs: no named parameters. Returns: object

get_pci_devicesB

Return PCI devices from lspci.

Inputs: no named parameters. Returns: object

get_storage_devicesA

Return block devices, models, sizes, mount points, and rotational flags.

Inputs: no named parameters. Returns: object

get_usb_devicesA

Return USB devices from lsusb.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool maps cleanly to one hardware category (CPU, memory, storage, PCI, USB, motherboard), so there is no realistic misselection. The summary tool overlaps in content with the individual getters but is clearly signposted as a high-level aggregate.

    Naming Consistency4/5

    All tools follow a get_<subject> pattern, which makes the set very predictable. Minor inconsistency in the noun suffixes (get_cpu_hardware vs. get_motherboard_info vs. get_hardware_summary) is cosmetic rather than confusing.

    Tool Count5/5

    Seven tools is a well-scoped set for a read-only hardware inventory server, and every tool covers a distinct physical component category plus a summary. Nothing feels padded or missing at the count level.

    Completeness4/5

    Coverage of core inventory (CPU, memory, storage, PCI, USB, motherboard, summary) is solid, but GPU and network interface detail are only reachable through the summary or not at all, leaving a small dead end. The summary explicitly includes GPU, yet no dedicated get_gpu tool exists.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A lightweight MCP server that provides real-time hardware statistics including CPU, memory, disk, and NVIDIA GPU usage. It enables users to monitor system performance and retrieve comprehensive host machine specifications through a standardized interface.
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides system hardware information (CPU, memory, storage, etc.) and system status (OS, network, resource usage) via MCP tools.
      2
      10 npm
      ISC
    • A
      license
      A
      quality
      C
      maintenance
      Hardware probe MCP server that provides deep hardware inventory and live sensor telemetry for AI agents, including CPU, memory, disk, GPU, and sensor data across platforms.
      6
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP-compatible clients to inspect the local machine's CPU, memory, and disk information through tools, a structured resource, and an upgrade-assessment prompt.
      -