Redis

Author:@modelcontextprotocol
View on GitHub

Overview

Redis is an MCP server that enables LLMs to interact with Redis key-value stores using standard tools.

To use it, add Redis to the mcpServers section of your claude_desktop_config.json. It can also be run via Docker or NPX as shown in the docs.

Key features include set, get, delete, and list operations for key-value pairs, support for optional key expiration, and easy integration with Claude Desktop and Docker.

Use cases involve storing user session data, caching for faster data access, and managing real-time application data feeds.

The default Redis URL is redis://localhost:6379. It can be run in a Docker container and is open source under the MIT License.

Configuration

{
  "mcpServers": {
    "redis": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/redis",
        "redis://host.docker.internal:6379"
      ]
    }
  }
}