BetterDB MCP server - Valkey and Redis observability for Claude Code and other MCP clients
Connect Runs on your machine
claude mcp add monitor -e BETTERDB_URL=<BETTERDB_URL> -e BETTERDB_TOKEN=<BETTERDB_TOKEN> -e BETTERDB_INSTANCE_ID=<BETTERDB_INSTANCE_ID> -e BETTERDB_LOCAL_TOKEN=<BETTERDB_LOCAL_TOKEN> -e BETTERDB_MCP_TELEMETRY=<BETTERDB_MCP_TELEMETRY> -e BETTERDB_TELEMETRY=<BETTERDB_TELEMETRY> -- npx -y @betterdb/[email protected]
{
"mcpServers": {
"monitor": {
"command": "npx",
"args": [
"-y",
"@betterdb/[email protected]"
],
"env": {
"BETTERDB_URL": "<BETTERDB_URL>",
"BETTERDB_TOKEN": "<BETTERDB_TOKEN>",
"BETTERDB_INSTANCE_ID": "<BETTERDB_INSTANCE_ID>",
"BETTERDB_LOCAL_TOKEN": "<BETTERDB_LOCAL_TOKEN>",
"BETTERDB_MCP_TELEMETRY": "<BETTERDB_MCP_TELEMETRY>",
"BETTERDB_TELEMETRY": "<BETTERDB_TELEMETRY>"
}
}
}
}
{
"mcpServers": {
"monitor": {
"command": "npx",
"args": [
"-y",
"@betterdb/[email protected]"
],
"env": {
"BETTERDB_URL": "<BETTERDB_URL>",
"BETTERDB_TOKEN": "<BETTERDB_TOKEN>",
"BETTERDB_INSTANCE_ID": "<BETTERDB_INSTANCE_ID>",
"BETTERDB_LOCAL_TOKEN": "<BETTERDB_LOCAL_TOKEN>",
"BETTERDB_MCP_TELEMETRY": "<BETTERDB_MCP_TELEMETRY>",
"BETTERDB_TELEMETRY": "<BETTERDB_TELEMETRY>"
}
}
}
}
{
"servers": {
"monitor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@betterdb/[email protected]"
],
"env": {
"BETTERDB_URL": "<BETTERDB_URL>",
"BETTERDB_TOKEN": "<BETTERDB_TOKEN>",
"BETTERDB_INSTANCE_ID": "<BETTERDB_INSTANCE_ID>",
"BETTERDB_LOCAL_TOKEN": "<BETTERDB_LOCAL_TOKEN>",
"BETTERDB_MCP_TELEMETRY": "<BETTERDB_MCP_TELEMETRY>",
"BETTERDB_TELEMETRY": "<BETTERDB_TELEMETRY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
BETTERDB_URLOptional | URL of the BetterDB monitor instance |
BETTERDB_TOKENOptional, secret | MCP authentication token generated from the BetterDB Settings page |
BETTERDB_INSTANCE_IDOptional | Instance ID to target when using multi-instance cloud deployments |
BETTERDB_LOCAL_TOKENOptional, secret | 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_MCP_TELEMETRYOptional | 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_TELEMETRYOptional | Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts |
Details
| Package | @betterdb/[email protected] (NPM, stdio) |
| First published | 11 Nov 2026 |
| Last updated | 11 Nov 2026 |
| Registry name | io.github.BetterDB-inc/monitor |
More databases servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
