Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Monitor

by BetterDB-incversion 1.6.0i★ 1,309 (Stars for the whole repo)iRuns on your computerRepository ↗
Registry nameio.github.BetterDB-inc/monitor

How to install

What it does

BetterDB MCP server - Valkey and Redis observability for Claude Code and other MCP clients

  • Connects Runs on your computer
  • Account or key Needs BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

by morluto★ 470,1651 skills

Skill · How-to guide

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

by multica-ai★ 234,5281 skills

Skill · How-to guideNo license stated

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

by Graphify-Labs★ 150,6951 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity34/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score46/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: 7 (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Monitor. Follow https://mcp.popnx.com/i/betterdb-inc-monitor.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Monitor for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "monitor": { "command": "npx", "args": [ "-y", "@betterdb/mcp" ], "env": { "BETTERDB_TOKEN": "your-value", "BETTERDB_LOCAL_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Monitor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Monitor key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "monitor": {
          "command": "npx",
          "args": [
            "-y",
            "@betterdb/mcp"
          ],
          "env": {
            "BETTERDB_TOKEN": "your-value",
            "BETTERDB_LOCAL_TOKEN": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Monitor and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Monitor or shows a Monitor tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • BETTERDB_URL URL of the BetterDB monitor instance
  • BETTERDB_INSTANCE_ID Instance ID to target when using multi-instance cloud deployments
  • BETTERDB_MCP_TELEMETRY Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is off
  • BETTERDB_TELEMETRY Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Monitor yet

Monitor runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Monitor

  • You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Monitor for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user monitor --env BETTERDB_TOKEN=your-value --env BETTERDB_LOCAL_TOKEN=your-value -- npx -y @betterdb/mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Monitor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Monitor key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user monitor --env BETTERDB_TOKEN=your-value --env BETTERDB_LOCAL_TOKEN=your-value -- npx -y @betterdb/mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Monitor listed as connected

  6. Try it

    Use Monitor and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Monitor or shows a Monitor tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • BETTERDB_URL URL of the BetterDB monitor instance
  • BETTERDB_INSTANCE_ID Instance ID to target when using multi-instance cloud deployments
  • BETTERDB_MCP_TELEMETRY Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is off
  • BETTERDB_TELEMETRY Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Monitor for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "monitor": { "command": "npx", "args": [ "-y", "@betterdb/mcp" ], "env": { "BETTERDB_TOKEN": "your-value", "BETTERDB_LOCAL_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Monitor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Monitor key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Monitor settings, BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Monitor and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Monitor or shows a Monitor tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • BETTERDB_URL URL of the BetterDB monitor instance
  • BETTERDB_INSTANCE_ID Instance ID to target when using multi-instance cloud deployments
  • BETTERDB_MCP_TELEMETRY Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is off
  • BETTERDB_TELEMETRY Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Monitor key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Monitor for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "monitor": { "type": "stdio", "command": "npx", "args": [ "-y", "@betterdb/mcp" ], "env": { "BETTERDB_TOKEN": "your-value", "BETTERDB_LOCAL_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Monitor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Monitor key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Monitor settings, BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Monitor and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Monitor or shows a Monitor tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • BETTERDB_URL URL of the BetterDB monitor instance
  • BETTERDB_INSTANCE_ID Instance ID to target when using multi-instance cloud deployments
  • BETTERDB_MCP_TELEMETRY Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is off
  • BETTERDB_TELEMETRY Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Monitor💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user monitor --env BETTERDB_TOKEN=your-value --env BETTERDB_LOCAL_TOKEN=your-value -- npx -y @betterdb/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "monitor": {
      "command": "npx",
      "args": [
        "-y",
        "@betterdb/mcp"
      ],
      "env": {
        "BETTERDB_TOKEN": "your-value",
        "BETTERDB_LOCAL_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "monitor": {
      "command": "npx",
      "args": [
        "-y",
        "@betterdb/mcp"
      ],
      "env": {
        "BETTERDB_TOKEN": "your-value",
        "BETTERDB_LOCAL_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "monitor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@betterdb/mcp"
      ],
      "env": {
        "BETTERDB_TOKEN": "your-value",
        "BETTERDB_LOCAL_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • BETTERDB_URL env
    URL of the BetterDB monitor instance
  • BETTERDB_TOKEN secret required env
    MCP authentication token generated from the BetterDB Settings page
  • BETTERDB_INSTANCE_ID env
    Instance ID to target when using multi-instance cloud deployments
  • BETTERDB_LOCAL_TOKEN secret required env
    Token for a monitor started with --autostart or start_monitor when BETTERDB_URL is set to a different monitor; without it that monitor gets no token. BETTERDB_TOKEN is used when BETTERDB_URL is unset…
  • BETTERDB_MCP_TELEMETRY env
    Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is off
  • BETTERDB_TELEMETRY env
    Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

GitHub starsi
1,309 (Stars for the whole repo)
This repo holds several MCP listings; its stars count once in rankings
Downloads per weeki
366/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
1.6.0
Published to registryi
Nov 11, 2026
Code last changedi
Nov 19, 2026
Maker
BetterDB-inc
Packages
npm: @betterdb/mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account BetterDB-inc, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ! Caution

    Has a licence

    GitHub could not identify the licence type; open the file to check

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @betterdb/mcp@1.6.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/betterdb-inc-monitor.svg)](https://mcp.popnx.com/en/servers/betterdb-inc-monitor)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 98% of the other 6343 servers in this category
  • Published to the registry more recently than 81% of the other 6343 servers in this category
  • Basic checks equal to or better than 45% of the other 6343 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Monitor safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.6.0) reached the registry 9 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

by ahmedkhaleel2004Widely used★ 19KUpdated 2 months ago

Runs in the cloud✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

by AppllamaWidely used★ 5.2KUpdated 3 months ago

Runs in the cloud✓ service owner · appllama.io

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

by repowise-devWidely used↓ 6.5K/wk★ 8.2K Stars for the whole repoUpdated 7 days ago

Computer or cloud✓ service owner · repowise.dev
Compared with similar ones
This one
Monitor
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks2/34/44/44/44/45/5
LicenseNOASSERTIONMITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@betterdb/mcp

Give your AI assistant deep visibility into your Valkey and Redis databases. The BetterDB MCP server connects Claude Code, Cursor, Windsurf, and other MCP-compatible clients to the BetterDB monitoring platform — letting your AI query real-time metrics, diagnose slow commands, detect anomalies, and investigate incidents without leaving your editor.

See it live in BetterDB Monitor

BetterDB Monitor gives you live dashboards for the AI workloads running on your Valkey:

  • AI Cache & Memory - hit rate, cost saved, evictions, and index size across all your caches and memory stores, with history.
  • AI Traces - OpenTelemetry waterfalls for each request, correlated with live Valkey state to explain every cache hit and miss.

Run it self-hosted (docker run -p 3001:3001 betterdb/monitor), or use BetterDB Cloud - which can also provision a managed, TLS-enabled Valkey instance (Search module included) in one click.

Why BetterDB?

BetterDB is a monitoring and observability platform built for Valkey and Redis providing real-time dashboards, anomaly detection, and operational intelligence for your Valkey and Redis deployments. Unlike tools that only show a live snapshot, BetterDB persists historical metrics, slowlogs, and audit trails — so you can investigate what happened yesterday, not just what's happening now.

Key capabilities exposed through MCP:

  • Real-time health checks — memory fragmentation, hit rate, replication lag, connected clients
  • Slow command analysis — slowlog and COMMANDLOG (Valkey 8+) with pattern aggregation
  • Hot key detection — find cache-busting keys via LFU frequency scores or idle time analysis
  • Cluster-wide visibility — per-node stats, aggregated slowlogs, and slot-level metrics across all nodes
  • Anomaly detection — Z-score analysis on memory, CPU, hit rate, and other metrics *(Pro)*
  • Client activity tracking — connection counts, command distribution, and buffer usage over time
  • ACL audit log — investigate auth failures and access patterns
  • Latency event history — track latency trends for specific event types

Quick Start

1. Get a token

In BetterDB, go to Settings → MCP Tokens and generate a new token.

2. Configure your MCP client

In Claude Code, install the BetterDB plugin and enter your URL and token when prompted:

claude plugin marketplace add https://raw.githubusercontent.com/BetterDB-inc/monitor/master/.claude-plugin/marketplace.json

claude plugin install betterdb@betterdb

For other clients such as OpenAI Codex, or to configure Claude Code by hand, add to your MCP client config:

{

"mcpServers": { "betterdb": { "type": "stdio", "command": "npx", "args": ["-y", "@betterdb/mcp@1.6.0"], "env": { "BETTERDB_URL": "https:// .app.betterdb.com", "BETTERDB_TOKEN": " " } } } }

For local development with an existing monitor (token not required):

{

"mcpServers": { "betterdb": { "type": "stdio", "command": "npx", "args": ["-y", "@betterdb/mcp@1.6.0"], "env": { "BETTERDB_URL": "http://localhost:3001" } } } }

For zero-config local development (auto-starts and manages a monitor process):

{

"mcpServers": { "betterdb": { "type": "stdio", "command": "npx", "args": ["-y", "@betterdb/mcp@1.6.0", "--autostart", "--persist"] } } }

3. Start asking questions

Once connected, your AI assistant can query your databases directly:

  • *"What's the health of my production Valkey instance?"*
  • *"Show me the slowest commands from the last hour"*
  • *"Are there any hot keys causing uneven load?"*
  • *"Which cluster node has the highest memory usage?"*
  • *"Have there been any anomalies in the last 24 hours?"*
  • *"Tune the threshold on my faq-cache — propose a change for me to review"*
  • *"Why is the weather_lookup tool's hit rate so low?"*

Skills

Clients that load skills from a plugin (Connect Apps and other skill-aware clients) pick these up from skills/ /SKILL.md. They are playbooks for the tools above: which call to make, which arguments a time window needs, and how to read a license sentence or an empty list.

SkillUse when
betterdb-triage"Is this instance healthy?" or any question before an instance is selected
betterdb-slow-commandsSlowest commands in a time window
betterdb-hot-keysHot keys or uneven key access
betterdb-memoryFragmentation, MEMORY DOCTOR, or time to the memory ceiling
betterdb-latencyWhat is slow, fork time, or a latency regression
betterdb-durabilityWhat a crash would lose, last save, replicas, or cluster vs standalone
betterdb-cache-missCache hit rate, a trace, or vector index health

Configuration

Environment Variables
VariableDefaultDescription
BETTERDB_URLhttp://localhost:3001BetterDB instance URL (port depends on your Docker config)
BETTERDB_TOKEN—MCP token from Settings → MCP Tokens. Required for cloud. Optional for self-hosted: without it, read tools work anonymously; with it, calls act as the token's owner (write tools need an admin's token) and changes they make are recorded under the owner's name in the activity log. Tokens cannot manage members or other tokens
BETTERDB_LOCAL_TOKEN—Token for a monitor started with --autostart or start_monitor when BETTERDB_URL is set to a different monitor. Without it, that monitor gets no token. BETTERDB_TOKEN is used when BETTERDB_URL is unset or points at the started monitor
BETTERDB_INSTANCE_ID—Pre-select a specific instance (skips select_instance)
BETTERDB_TELEMETRYonSet to false, 0, no or off to turn off telemetry: the MCP server's tool usage events, and a monitor started with --autostart or start_monitor. Usage events (tool name, success, duration, up to 200 characters of error text) go to the monitor the call was made against, which relays them to BetterDB when its own telemetry is on
BETTERDB_MCP_TELEMETRY—Same values as BETTERDB_TELEMETRY, for the MCP server's usage events only. Usage events are off if either variable is off; neither turns them back on
BETTERDB_MONITOR_ —Passed to a monitor started with --autostart or start_monitor as , overriding the inherited value. PORT and STORAGE_TYPE come from --port and --storage instead
CLI Arguments
ArgumentDefaultDescription
--autostart—Spawn and manage a local BetterDB monitor process on startup. It inherits the MCP server's environment, except BETTERDB_URL, BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN, BETTERDB_INSTANCE_ID and BETTERDB_MCP_TELEMETRY
--no-monitor-tools—Do not register start_monitor and stop_monitor
--persist—Keep the monitor running after the MCP server exits (requires --autostart)
--port 3001Port for the auto-started monitor API
--storage sqliteStorage backend: sqlite or memory
--stop—Stop a previously persisted monitor process and exit

Available Tools

Instance Tools
ToolDescription
list_instancesList all registered Valkey/Redis instances with connection status
select_instanceSelect which instance subsequent calls operate on
get_healthSynthetic health summary — the best starting point for any investigation
get_infoFull INFO stats, optionally filtered by section
get_slowlogRecent slow commands from the slowlog buffer
get_commandlogRecent COMMANDLOG entries (Valkey 8+)
get_latencyLatency event history
get_latency_historyDetailed history for a specific latency event
get_memoryMEMORY DOCTOR assessment and MEMORY STATS breakdown
get_clientsActive client list with connection details
get_hot_keysHot key tracking data from LFU or idle time analysis
get_slowlog_patternsAggregated slowlog patterns with frequency and avg duration
get_commandlog_historyPersisted COMMANDLOG entries with time range filtering
get_commandlog_patternsAggregated COMMANDLOG patterns
get_anomaliesAnomaly detection events *(Pro)*
get_retry_amplificationLive retry-amplification state, last episode and top clients *(Pro)*
get_hot_shardsOpen hot shards on a cluster with their top slots, hot keys and a suggested slot rebalance, or the reason none is suggested *(Pro)*
get_client_activityTime-bucketed client activity from persisted snapshots
get_acl_auditACL audit log entries
get_cluster_nodesCluster node discovery — roles, state (healthy, suspect or failed), slot ranges, whether the monitor collects each node, plus availability zone and shard id on Valkey 9.1+ (older versions: the zone from the connection's zone map)
get_cluster_node_statsPer-node performance stats across the cluster
get_cluster_slowlogAggregated slowlog across all cluster nodes
get_slot_statsPer-slot key counts and CPU usage (Valkey 8+)
Analytics Tools
ToolDescription
get_forecastCapacity forecast for a metric (opsPerSec, usedMemory, cpuTotal, memFragmentation) with projected time to ceiling
get_latency_regressionsDetected sustained p99 latency regressions vs baseline from the anomaly store *(Pro)*
get_replication_divergencePer-replica offset gap series and divergence events for a primary *(Pro)*
get_largest_keysLargest keys by measured memory usage from key analytics snapshots *(Pro)*
get_incident_timelineAnomaly incidents as ordered timelines with matched sequence patterns and recovery status *(Pro)*
Vector Search Tools

For deployments running the Search module (valkey-search / RediSearch).

ToolDescription
get_vector_indexesPer-index health: document count, memory usage, indexing failures, and percent indexed
get_inference_latencyFT.SEARCH p50/p95/p99 per vector index plus SLA breach status (SLA fields require Pro)
AI Observability Tools

For AI components (semantic caches, agent caches, agent-memory stores, retrieval pipelines) and traces ingested via OpenTelemetry.

ToolDescription
ai_list_instancesSuperset discovery view of all AI component instances with liveness and latest metrics sample
ai_instance_historyStored metrics time-series for one AI component instance (hit rate, cost saved, evictions, threshold, …)
list_ai_tracesList recent AI application traces (LLM calls, cache lookups, memory recalls, retrieval spans)
get_ai_traceFull span waterfall for one trace with timing, parent relationships, and attributes

| correlate_ai_trace | Join a trace's cache/memor

Only the beginning is shown; read the rest in the repo