Redis MCP Server
Read-first Redis MCP: SCAN key explorer, keyspace/TTL/memory/slowlog stats, DBA advisor
not scanned yet
2 stars402 downloads/wk
Reviews
Write oneNobody has reviewed Redis MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Redis MCP Server tools
No tool declarations could be read from the package source. They show once the server is installed.
How Redis MCP Server compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 60% of 802 Databases servers
- GitHub stars
- 2
- more than 60% of 602 Databases servers
- Downloads a week
- 402
- more than 80% of 328 Databases servers with a package
Release history: 5 versions in the registry since 2026-09-15, latest 2026-10-31, typically one every 14 days.
Install Redis MCP Server in Claude Code, Cursor or VS Code
Runs npx -y @yawlabs/redis-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add redis-mcp -- npx -y @yawlabs/redis-mcp
What the publisher says
From the Redis MCP Server repository's README, as published. We do not edit it. Read it on GitHub
@yawlabs/redis-mcp
Explore and diagnose a Redis instance from Claude Code, Cursor, and any MCP client. Read-only by default - writes opt in via a single env var - and key enumeration always uses SCAN, never the O(N) KEYS, so it is safe to point at a production instance with millions of keys.
Built and maintained by Yaw Labs.
One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Or install manually below.
Why this one?
- SCAN, never KEYS. Every key-enumeration path uses cursor-based SCAN with a bounded COUNT and an iteration cap. KEYS * is O(N) over the entire keyspace and blocks Redis's single-threaded event loop for the full scan - a self-inflicted outage on a large instance. SCAN yields between batches. See Security.
- Read-first command gate. Tools run a curated read-only command allowlist by default. Mutating commands (SET, DEL, EXPIRE, HSET, ...) require ALLOW_WRITES=1. Arbitrary-execution commands (EVAL, FUNCTION, SCRIPT, MULTI, MONITOR, SHUTDOWN, CLUSTER, ...) are never exposed, even with writes on - the gate is a curated allowlist, not "anything when writes are enabled".
- Type-aware reads without surprises. redisget dispatches by value type (string / hash / list / set / zset / stream) and windows collection reads to a cap, so a million-element list can't blow out the model context. rediskey_info reads type / TTL / encoding / memory footprint without pulling the value at all.
- Health in one call. redis_health rolls up INFO + DBSIZE + recent SLOWLOG into memory pressure, eviction policy, hit rate, ops/sec, persistence status, replication role, per-database key counts (and how many lack a TTL), and the most recent slow commands.
- A real advisor. redis_advisor is the "what should I be looking at?" lint pass: big keys, missing TTLs, eviction pressure (including the dangerous noeviction + no-TTL combination), and fork-latency risk - each with a severity and an actionable fix. Keys are SCAN-sampled, so it is safe on a large instance.
- Instant startup. Ships as a single bundled file with zero runtime dependencies. No multi-minute node_modules install on every npx cold start.
Scope
This server is a read-first explorer and diagnostician, not a general Redis admin console. It deliberately does not expose EVAL/FUNCTION/SCRIPT, pub/sub, MONITOR, cluster management, or replication control. For those, use redis-cli directly. The goal here is the safe, common 90%: "what's in this instance, is it healthy, and what should I worry about?" - the questions an agent should be able to answer against a production Redis without risk.
Works against Redis 6+ and Valkey. A few redishealth fields (latestforkusec, aofenabled) depend on the running server exposing them in INFO; missing fields surface as null rather than erroring.
Quick start
1. Create .mcp.json in your project root
macOS / Linux / WSL:
{
"mcpServers": {
"redis": {
"command": "npx",
"args": ["-y", "@yawlabs/redis-mcp@latest"],
"env": {
"REDIS_URL": "redis://:password@host:6379/0"
}
}
}
}Windows:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Redis MCP Server: common questions
- Is Redis MCP Server safe?
- Mostly: it is graded B (83/100). Read the Redis MCP Server safety report
- How do I install Redis MCP Server?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Redis MCP Server need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Redis MCP Server maintained?
- The last commit was 35 days ago (2026-09-30). The latest release is v0.5.6.
- What can I use instead of Redis MCP Server?
- Servers from other publishers that do the same job: Remem MCP server, open-memex MCP server and SAME - Stateless Agent Memory Engine MCP server. Compare all Redis MCP Server alternatives.
- How does Redis MCP Server compare with other Databases MCP servers?
- safety score 83/100 (higher than 60% of 802 Databases servers); github stars 2 (more than 60% of 602 Databases servers); downloads a week 402 (more than 80% of 328 Databases servers with a package). Full comparison.
Alternatives to Redis MCP Server
Same job from other publishers: the closest match first, then the best rated.
- RememLocal-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.not reviewedEstablishedB
- open-memexLocal-first memory for AI coding agents — Markdown + SQLite FTS5, shared across editors via MCP.not reviewedGrowingB
- SAME - Stateless Agent Memory EnginePersistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.not reviewedGrowingB
- skillmemSkill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key.not reviewedGrowingA
- CitadelEncrypted-first embedded database with vector search and agent memory, exposed as MCP toolsnot reviewedGrowingB