clr-librenms-mcp
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., "@clr-librenms-mcplist all down devices"
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.
clr-librenms-mcp
MCP server for LibreNMS network monitoring — query devices, alerts, sensors, ports, and more through AI assistants like Claude.
Features
Device monitoring — list devices, health summary, availability, outages, down devices
Alert management — list, filter, acknowledge alerts, alert rules
Sensor data — health sensors by device and type (temperature, voltage, fan, etc.)
Port/interface info — list ports, search by name, find by MAC address
ARP & FDB lookups — resolve IPs to MACs, find MAC on switch ports
Hardware inventory — chassis, modules, power supplies, serial numbers
IP address management — list IPs assigned to devices
Token-based auth — simple X-Auth-Token authentication
Related MCP server: librenms-mcp
Installation
pip install clr-librenms-mcp
# or
uvx clr-librenms-mcpConfiguration
Preferred: Configuration file at ~/.config/librenms/credentials.json (chmod 600):
{
"url": "https://librenms.example.com",
"token": "your-api-token"
}Alternative: Environment variables are also supported:
Variable | Description | Example |
| LibreNMS base URL |
|
| API token (generate in LibreNMS UI under API Settings) |
|
Optional:
Variable | Description | Default |
| Run in read-only mode |
|
| Transport protocol ( |
|
| Log level |
|
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"librenms": {
"command": "uvx",
"args": ["clr-librenms-mcp"]
}
}
}Claude Code
Add via CLI:
claude mcp add librenms -- uvx clr-librenms-mcpOr add to your .mcp.json:
{
"librenms": {
"command": "uvx",
"args": ["clr-librenms-mcp"]
}
}VS Code
Add to your VS Code settings or .vscode/mcp.json:
{
"mcp": {
"servers": {
"librenms": {
"command": "uvx",
"args": ["clr-librenms-mcp"]
}
}
}
}Note: Configuration is read from ~/.config/librenms/credentials.json or environment variables. No need to specify credentials in MCP config files.
HTTP Transport
To run as a standalone HTTP server:
clr-librenms-mcp --transport http --host 0.0.0.0 --port 8000Tools
System
Tool | Description |
| Get LibreNMS version and system information |
Devices
Tool | Description | Parameters |
| List all monitored devices |
|
| Get full detail for a single device |
|
| List all devices currently down | — |
| Aggregate status summary (up/down/disabled) | — |
| Availability percentages (24h, 7d, 30d, 365d) |
|
| Outage history for a device |
|
| IP addresses assigned to a device |
|
| Hardware inventory (chassis, modules, PSUs) |
|
Alerts
Tool | Description | Parameters |
| List alerts with optional filters |
|
| Get full detail for a single alert |
|
| Alert count by state and severity | — |
| Acknowledge an alert |
|
| List all alert rules | — |
Alert filter values:
Parameter | Accepted values |
|
|
|
|
Sensors & Health
Tool | Description | Parameters |
| List all sensors or filter by device |
|
| Health sensors for a device by type |
|
Health types: temperature, voltage, fanspeed, power, humidity, state, and more.
Ports & Interfaces
Tool | Description | Parameters |
| List ports/interfaces for a device |
|
| Search ports by name, alias, or description |
|
| Find port(s) by MAC address |
|
Network Lookups
Tool | Description | Parameters |
| ARP lookup by IP, MAC, or CIDR |
|
| MAC/FDB table for a device |
|
Example Usage
Once connected, you can ask your AI assistant things like:
"Are any devices down in LibreNMS?"
"Show me all critical alerts"
"What are the temperature sensors on router01?"
"Find which switch port has MAC aa:bb:cc:dd:ee:ff"
"What's the availability for switch01 over the last 30 days?"
"Acknowledge alert 42"
"Show me the ARP table for 10.0.0.0/24"
"List the hardware inventory for core-switch"
Safety
All tools are read-only except ack_alert, which is a non-destructive write operation — it marks an alert as acknowledged but does not modify device configuration or monitoring state.
Technical Notes
Auth: Token-based via X-Auth-Token header (generate tokens in LibreNMS under API Settings)
API version: Uses LibreNMS REST API v0
Device parameter: Most tools accept hostname, IP address, or device_id interchangeably
Sensors: Use
device_healthwithhealth_typefor filtered sensor views, orlist_sensorsfor all sensors across all devices
Development
git clone https://github.com/clearminds/clr-librenms-mcp.git
cd clr-librenms-mcp
uv sync
uv run clr-librenms-mcpLicense
MIT — see LICENSE for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
- sentinelOAuthio.rootstuff
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
- mttrlyOAuthcom.mttrly
AI-powered incident management and server monitoring via MCP.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
- mcpOAuthcom.gibsonai
GibsonAI MCP server: manage your databases with natural language
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for Domotz network monitoring and management. Enables AI assistants to query network devices, alerts, and topology via the Domotz API.215 npmApache 2.0
- AlicenseCqualityAmaintenanceLibreNMS MCP Server is a Python-based Model Context Protocol (MCP) server designed to provide advanced, programmable access to LibreNMS network monitoring data and management features, enabling querying devices, ports, alerts, inventory, and more.1101,279 PyPI41MIT
- AlicenseAqualityCmaintenanceMCP server that turns Claude into a UniFi network specialist. Manage devices, optimize WiFi, audit security, and troubleshoot your network through natural language.3115 npm2MIT
- AlicenseAqualityCmaintenanceMCP server enabling AI assistants to interact with your LogicMonitor, providing 125 tools for comprehensive monitoring and management operations.7076 npm13AGPL 3.0