Inspect and manipulate Redis keys, debug caching issues, analyze memory usage, and test pub/sub patterns directly from Claude Code.
The Redis MCP connects Claude Code to any Redis-compatible instance — including Redis Stack, Valkey, and cloud-hosted Redis services. Claude can get, set, and delete keys, inspect data structures, analyze memory, and debug caching logic without switching to a separate Redis GUI.
mcpizy install redis
Provide your Redis connection URL (e.g., redis://localhost:6379 or rediss://user:password@host:6380) during setup. TLS connections are fully supported.
MEMORY USAGE.Your API is returning stale data. Ask Claude to investigate the cache:
// Claude will:
// 1. KEYS user:* — list all user cache keys
// 2. TTL user:12345 — check when the problematic key expires
// 3. GET user:12345 — inspect the cached value
// 4. Identify if the value is outdated and suggest a cache invalidation strategy
KEYS * on production — use SCAN with a cursor instead to avoid blocking the server.session:user:id) so Claude can filter keys logically.