yawlabs avatar

Redis MCP Server

yawlabs/redis-mcp

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 tools

Public 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

Add to Yaw 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

View the full README on GitHub

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

More from yawlabs

Related Databases MCP servers

View all
1tharanabope avatarSQL Server MCP (macOS)tharanabope/sql-mcp-mac-windowsSQL Server MCP with RAG capabilities for macOS (Docker SQL Server support)0stars
2aidancorrell avatarSpark SQLaidancorrell/spark-sql-mcp-serverQuery Spark SQL clusters via Thrift/HiveServer2. Works with Spark, EMR, Hive, Impala.0stars
3infoinlet-marketplace avatarMcp Clickhouseinfoinlet-marketplace/marketplaceRead-only ClickHouse for AI agents — analytics queries, table inspection, sizes, health.0stars
4originchaindb avatarOriginChainDBoriginchaindb/mcp-serverConnect an MCP host to an OriginChainDB tenant through four tools: SQL, vector search, full-text search, and schema discovery.0stars
5bytebase avatarDBHubbytebase/dbhubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite3.8Kstars
6runekaagaard avatarMCP Alchemy Serverrunekaagaard/mcp-alchemyA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, an403stars