Redis MCP

Key inspection and read queries against a Redis instance: scan by pattern, check TTLs, and look at what is actually stored.

Official Python stdio

What it does

Key inspection and read queries against a Redis instance: scan by pattern, check TTLs, and look at what is actually stored. The value is diagnostic — comparing the cache against what the application code assumes. Give it a read-only user unless you specifically want an agent writing to your datastore.

Install

Terminal
uvx --from redis-mcp-server redis-mcp-server

Client configuration

Paste this into your MCP client config (Claude Desktop, Cursor, or any client that reads mcpServers), then restart the client.

mcp.json
{
  "mcpServers": {
    "redis": {
      "command": "uvx",
      "args": [
        "--from",
        "redis-mcp-server",
        "redis-mcp-server"
      ]
    }
  }
}

When to use it

Reach for this when the task needs cache inside the agent loop. Skip it if a plain shell command or a one-off script is enough — every server you add costs context and adds a failure mode.

Other Python servers

  • Git — Read-only access to a repository's history: status, diffs, commit logs, and blame
  • Fetch — Downloads a URL and converts HTML into Markdown so the model reads text instead of markup
  • Time — Timezone conversion and current-time lookup using the IANA database