Monitor logo

Monitor

by BetterDB-inc

Query BetterDB Monitor for Valkey and Redis metrics, slow commands, hot keys, client activity, and performance history through MCP.

Install Monitor

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for BetterDB-inc/monitor, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

BetterDB-inc/monitor exposes BetterDB Monitor’s Valkey and Redis observability data through an MCP server with 60 tools. It lets AI coding assistants query real-time and historical metrics, inspect slow commands, analyze hot keys, review client activity, and investigate performance issues. Run the MCP entry point with npx and authenticate with a token created in BetterDB Monitor; cloud deployments require a token, while self-hosted deployments can make it optional. Reach for it when an agent needs database performance context beyond the current application code or dashboard view.

Use cases

  • Investigate slow commands across a historical time range
  • Identify hot keys behind uneven database load
  • Trace client activity contributing to latency
  • Review cluster and per-thread resource metrics
  • Ask an AI assistant to diagnose Valkey or Redis performance issues

Key features

  • 60 MCP tools for BetterDB Monitor data
  • Valkey 8.x and Redis 6+ monitoring support
  • Historical metrics, slow-command, and command-pattern queries
  • Hot-key and client-activity analysis
  • Cluster, CPU, I/O thread, and ACL visibility
  • Stdio transport with MCP token authentication

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

28/28 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.3kStargazers on the source repository.
npm downloads771Package downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Monitor works

What BetterDB-inc/monitor does

BetterDB-inc/monitor connects MCP clients to BetterDB Monitor, an observability layer for Valkey and Redis. The service retains monitoring data that is commonly transient, including slow logs, command patterns, client activity, and anomaly signals. Through MCP, an AI assistant can inspect this information while diagnosing application or database behavior.

The underlying monitor supports Valkey 8.x natively and is Redis 6+ compatible for the supported functionality. Its monitoring scope includes real-time metrics, historical latency, slow commands, hot-key activity, client attribution, cluster state, CPU and I/O thread metrics, and ACL access history. The MCP package provides 60 tools for working with that monitoring surface.

How it works

The MCP process communicates over stdio and uses BetterDB Monitor as its data source. Start it with npx @betterdb/mcp, then configure an MCP-compatible client to launch the command. Authentication uses an MCP token created under BetterDB Monitor’s Settings → MCP Tokens. Tokens are required for cloud deployments and optional for self-hosted deployments.

Queries can combine live state with retained history, which supports investigations that span a time range rather than only the current database condition. The available monitoring data can help an agent relate slow commands, traffic patterns, client identity, and resource behavior when examining a performance issue.

Setup and configuration

The MCP entry point is available through the @betterdb/mcp package:

Terminal
npx @betterdb/mcp

Create an MCP token in BetterDB Monitor before connecting a client. The monitor itself can be deployed with Docker, Kubernetes and Helm, or the @betterdb/monitor CLI, but those deployment methods configure the monitoring service rather than the MCP transport. The monitor requires a Valkey or Redis instance to observe; its CLI requires Node.js 20 or newer.

The MCP server is listed for Claude Code, Cursor, and other MCP clients. Client configuration should launch the stdio command and provide the authentication details expected by the package.

Tools and capabilities

The MCP interface supports investigations such as:

  • Querying current and historical database metrics.
  • Reviewing slow commands and command-pattern data.
  • Finding hot keys and examining access-frequency changes.
  • Inspecting client activity and attributing behavior by client name and pattern.
  • Exploring cluster topology, slot statistics, CPU, and key distribution.
  • Examining per-thread CPU and I/O metrics available from Valkey.
  • Reviewing persisted ACL access activity.
  • Investigating anomalies, capacity projections, and related monitoring signals where those features are enabled in BetterDB Monitor.

BetterDB Monitor also includes monitoring for vector-search operations and AI traces, but the MCP tools expose the capabilities available through the connected monitor deployment and its enabled features.

Limitations and notes

The MCP server provides access to BetterDB Monitor rather than directly replacing the monitor’s database connection and storage configuration. Available results depend on the monitored Valkey or Redis version and on the features enabled in the BetterDB deployment. Valkey-specific capabilities, including native support for newer monitoring facilities, may not be available when connecting to Redis.

Cloud use requires an MCP token. Self-hosted use can omit the token according to the deployment configuration. The package communicates through stdio, so it is intended for MCP clients that can start local command-based servers.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Monitor

BetterDB-inc/monitor is an MCP server that connects AI clients to BetterDB Monitor for Valkey and Redis observability. Its 60 tools query real-time and historical metrics, inspect slow commands, analyze hot keys, review client activity, and investigate cluster and performance data through an MCP-compatible client.

Run `npx @betterdb/mcp` and configure your MCP client to launch the stdio process. Create an MCP token under Settings → MCP Tokens in BetterDB Monitor; cloud deployments require it, while self-hosted deployments can make it optional.

Yes, BetterDB-inc/monitor works with Cursor through its stdio MCP server. Configure Cursor to start `npx @betterdb/mcp` and provide the authentication details required by your BetterDB Monitor deployment.

BetterDB-inc/monitor supports Valkey 8.x and Redis 6+ for the supported monitoring functionality. Valkey receives native support for capabilities such as COMMANDLOG, cluster slot statistics, and per-thread I/O metrics.

The MCP server uses a token created in BetterDB Monitor under Settings → MCP Tokens. Tokens are required for cloud deployments and optional for self-hosted deployments.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMonitor AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/betterdb-inc-monitor?style=directory)](https://allmcps.com/mcp/betterdb-inc-monitor)
HTML Embed
<a href="https://allmcps.com/mcp/betterdb-inc-monitor"><img src="https://allmcps.com/api/badge/betterdb-inc-monitor?style=directory" alt="Monitor on AllMCPs" /></a>