Redis MCP Server

Read-first Redis MCP: SCAN key explorer, keyspace/TTL/memory/slowlog stats, DBA advisor. This MCP entry surfaces a curated ranking/list from the project README rather than a classic multi-tool integration surface. It still exposes 7 documented tools (including redis_scan, redis_key_info, redis_get) for browsing or selecting items from that list. It runs locally over stdio via the published package.

People who work with database, dba and redis and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-15 · ★ 2 · #62 OF 168 MAINTAINED DATABASE · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Redis MCP Server

before you install - you'll need

Set ALLOW_WRITES, NODE_EXTRA_CA_CERTS, REDIS_TLS_REJECT_UNAUTHORIZED before connecting. REDIS_URL is optional or environment-specific per the README.

Claude Code

claude mcp add yawlabs-redis-mcp -- npx -y @yawlabs/redis-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "yawlabs-redis-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/redis-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @yawlabs/redis-mcp - published under the repo owner's npm scope (@yawlabs)

registry namespace io.github.YawLabs is GitHub-verified and matches the repo owner

03 · What Redis MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can inspect one key without reading its value: type, TTL (s/ms), encoding, memory footprint, idle time. The big-key / missing-TTL probe, read a key's value, dispatching by type (string / hash / list / set / zset / stream). Collection reads windowed by limit. Always read-only, and run a single Redis command through the safety gate. Reads always run.

The 7 tools it gives your agent

Extracted from the project's README - what Redis MCP Server lets an agent do.

redis_scan
- Enumerate keys with cursor-based SCAN (never KEYS). Optional glob match, value-type filter, and resumable cursor. Capped at REDIS_MAX_KEYS.
redis_key_info
- Inspect one key without reading its value: type, TTL (s/ms), encoding, memory footprint, idle time. The big-key / missing-TTL probe.
redis_get
- Read a key's value, dispatching by type (string / hash / list / set / zset / stream). Collection reads windowed by limit. Always read-only.
redis_command
- 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
redis_health
- One-call health snapshot from INFO + DBSIZE + SLOWLOG: memory pressure, eviction policy, hit rate, ops/sec, persistence, replication role, per-db key counts, re
redis_slowlog
- Recent entries from the Redis slow log - command, microseconds, timestamp, client. Read-only (SLOWLOG GET).
redis_advisor
- 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 l

Latest releases

v0.5.1 · 2026-09-15

Changed · The MCP SDK devDependency moves from ^1.29.0 to ^1.30.0, and npm audit goes from 7 findings (3 high, 2 moderate, 2 low) to 0. All but one advisory arrived transitively through the SDK, and the refreshed…

v0.5.0 · 2026-09-15

Changed · The launcher uses oam 0.15.3 or newer, and the server no longer carries its own TLS socket shim. oam 0.15.3 is the first release whose tls.TLSSocket has the net.Socket members ioredis needs and closes itself…

v0.4.2 · 2026-09-15

Fixed · REDIS_MCP_SANDBOX=1 no longer denies every connection for an IPv6 literal REDIS_URL. The launcher built the network grant from WHATWG URL#hostname, which keeps the brackets on an IPv6 address, so…

04 · Who maintains Redis MCP Server

Redis MCP Server is maintained by yawlabs. We track 12 MCP servers from yawlabs - 12 actively maintained, 77 combined GitHub stars, oldest repo from Apr 2026. Full record: all servers from yawlabs.

  1. ctxlint Lint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebase ★ 10
  2. PostgreSQL MCP Server PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants ★ 5
  3. Tailscale MCP Server Tailscale MCP server for managing your tailnet from AI assistants ★ 29
  4. AWS MCP Server AWS MCP server - call any AWS API from AI assistants, with first-class SSO re-login ★ 5
  5. Caddy MCP Server MCP server for managing Caddy web servers via the admin API ★ 11
  6. MCP Compliance CLI tool and MCP server that tests MCP servers for spec compliance ★ 2

05 · Facts

category
database - ranked #62 of 168 actively-maintained database servers as of 2026-09-18.
release cadence
10+ releases in the last 90 days (latest 2026-09-15)
registry
io.github.YawLabs/redis-mcp (active, first published 2026-06-03 · 16 versions)
packages
npm:@yawlabs/redis-mcp

06 · Redis MCP Server FAQ

Is Redis MCP Server still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-15 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

What can Redis MCP Server do?

With this server connected, an agent can inspect one key without reading its value: type, TTL (s/ms), encoding, memory footprint, idle time. The big-key / missing-TTL probe, read a key's value, dispatching by type (string / hash / list / set / zset / stream). Collection reads windowed by limit. Always read-only, and run a single Redis command through the safety gate. Reads always run.

How do I install Redis MCP Server?

Run `npx -y @yawlabs/redis-mcp`. The README documents 4 environment variables (REDIS_URL, ALLOW_WRITES, NODE_EXTRA_CA_CERTS…) to set first. Set ALLOW_WRITES, NODE_EXTRA_CA_CERTS, REDIS_TLS_REJECT_UNAUTHORIZED before connecting. REDIS_URL is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Redis MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Redis MCP Server

More database MCP servers · DB Connect MCP · Tgms · Open MCP Apps · A2db · Lumen

More TypeScript MCP servers · SSH MCP Server (yawlabs) · Tailscale MCP Server · Thebrain · 1c Platform Tools · Md Feedback · see all