
Redis MCP Server
Connects to Redis instances and prioritizes observability over mutations. You get SCAN-based key exploration to safely browse large keyspaces without blocking operations, plus detailed stats on memory usage, TTL distributions, and slow query logs. The DBA advisor layer surfaces optimization recommendations based on your actual Redis metrics. Reach for this when you need to diagnose performance issues, audit key patterns, or understand what's consuming memory in production Redis instances without risking destructive commands. The read-first design means Claude can explore your cache layer safely during troubleshooting sessions.
- GitHub stars
- 2
- tools
- 7
- transport
- STDIO
- last updated
- Nov 12, 2026
Tools
7 toolsPublic tool metadata for what this MCP can expose to an agent.
redis_scanEnumerate keys with cursor-based SCAN (never KEYS). Optional glob match, value-type filter, and resumable cursor. Capped at REDIS_MAX_KEYS.
Enumerate keys with cursor-based SCAN (never KEYS). Optional glob match, value-type filter, and resumable cursor. Capped at REDIS_MAX_KEYS.
No parameter schema in public metadata yet.
redis_key_infoInspect one key without reading its value: type, TTL (s/ms), encoding, memory footprint, idle time. The big-key / missing-TTL probe.
Inspect one key without reading its value: type, TTL (s/ms), encoding, memory footprint, idle time. The big-key / missing-TTL probe.
No parameter schema in public metadata yet.
redis_getRead a key's value, dispatching by type (string / hash / list / set / zset / stream). Collection reads windowed by limit. Always read-only.
Read a key's value, dispatching by type (string / hash / list / set / zset / stream). Collection reads windowed by limit. Always read-only.
No parameter schema in public metadata yet.
redis_commandRun a single Redis command through the safety gate. Reads always run; writes need ALLOW_WRITES=1; KEYS and arbitrary-execution commands are blocked. The escape hatch for commands without a dedicated tool.
Run a single Redis command through the safety gate. Reads always run; writes need ALLOW_WRITES=1; KEYS and arbitrary-execution commands are blocked. The escape hatch for commands without a dedicated tool.
No parameter schema in public metadata yet.
redis_healthOne-call health snapshot from INFO + DBSIZE + SLOWLOG: memory pressure, eviction policy, hit rate, ops/sec, persistence, replication role, per-db key counts, recent slow commands.
One-call health snapshot from INFO + DBSIZE + SLOWLOG: memory pressure, eviction policy, hit rate, ops/sec, persistence, replication role, per-db key counts, recent slow commands.
No parameter schema in public metadata yet.
redis_slowlogRecent entries from the Redis slow log - command, microseconds, timestamp, client. Read-only (SLOWLOG GET).
Recent entries from the Redis slow log - command, microseconds, timestamp, client. Read-only (SLOWLOG GET).
No parameter schema in public metadata yet.
redis_advisorRolled-up health lints in one call: big keys, missing TTLs, eviction pressure, fork-latency risk. Each finding has a severity and a fix. SCAN-sampled, safe on large instances.
Rolled-up health lints in one call: big keys, missing TTLs, eviction pressure, fork-latency risk. Each finding has a severity and a fix. SCAN-sampled, safe on large instances.
No parameter schema in public metadata yet.
Sponsors
Readme
@yawlabs/redis-mcp
One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Or install manually below.
Then give it your REDIS_URL. The button deliberately carries no connection string, and Yaw MCP will not prompt for one: it asks only for variables whose names look like credentials, and REDIS_URL does not. Until it is set, the server exits at startup with REDIS_URL is not set. Store it in Yaw MCP's encrypted vault in one step:
yaw-mcp set redis env.REDIS_URL --secret
Details
- Repository
- github.com/yawlabs/redis-mcp
- Website
- yaw.sh/mcp-servers/redis-mcp
- Categories
- Databases, AI & LLM Tools
- Package
@yawlabs/redis-mcp- Transport
- STDIO
- Registry
- MCP registry, active