MCP Redis Server logo

MCP Redis Server

Expose Redis connections, data structures, key operations, and server administration to AI models through MCP.

Install MCP Redis Server

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-redis-server": {
      "command": "uvx",
      "args": [
        "mcp-redis-server"
      ],
      "env": {
        "REDIS_HOST": "YOUR_VALUE_HERE",
        "REDIS_PORT": "YOUR_VALUE_HERE",
        "REDIS_PASSWORD": "YOUR_VALUE_HERE",
        "REDIS_DB": "YOUR_VALUE_HERE",
        "REDIS_SSL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 44 tools correctly (8d ago).

Overview

The mcp-redis-server MCP server exposes Redis operations to AI models through MCP tools. It supports connection management, strings, lists, sets, hashes, sorted sets, keys, and selected server commands. Install it from PyPI, configure the Redis connection with environment variables, and run it as a Python module or CLI command. Reach for it when an agent needs to inspect or modify data in a Redis database.

Use cases

  • Read and update Redis string values through an AI agent
  • Inspect Redis hashes, lists, sets, and sorted sets
  • Scan keys and check expiration or value types
  • Monitor Redis information and database size
  • Manage selected Redis database and configuration commands

Key features

  • Redis connection lifecycle tools
  • String, list, set, hash, and sorted-set operations
  • Key scanning and expiration inspection
  • Redis database and server information
  • Database flush and configuration tools

Tools44

What MCP Redis Server lets your agent do. Expand a tool for its parameters.

Verified live~2.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

4/4 checks healthy over the last 36d

What it can do

From the 44 tools this server returned when we ran it.

Can delete or modify data · 3Read-only tools · 41
Network at startup2 connections
Files written at startup30

Observed 2026-10-16 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12h ago via OSV.dev · mcp-redis-server (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit6mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed44Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Redis Server works

What mcp-redis-server does

The mcp-redis-server MCP server gives an MCP-compatible AI client a tool interface for Redis. Its API covers common Redis data types and several database-management operations, allowing an agent to connect to a Redis instance, read values, write values, inspect keys, and perform selected server queries.

The available operations include string reads and writes, numeric increments and decrements, list insertion and range queries, set membership and cardinality checks, hash field access, and sorted-set ranking operations. Key-oriented tools handle existence checks, expiration, time-to-live values, type inspection, and scanning. Server tools expose database size, Redis information, configuration access, and database-wide clearing commands.

How it works

After installation, the package exposes a Python MCP object that can be started with its run() method. It also provides a command-line entry point. The server connects to Redis using environment-based settings, including the host, port, optional password, database number, and SSL selection.

Operations are presented as separate MCP tools with names such as redis_get, redis_set, redis_hgetall, redis_lrange, and redis_scan. Connection lifecycle tools are provided separately through redis_connect, redis_disconnect, and redis_ping.

Setup and configuration

Install the package with:

Terminal
pip install mcp-redis-server

The documented CLI command is:

bash
mcp-redis-server

The Python usage example imports mcp from mcp_redis_server and starts it with mcp.run().

Configure the Redis connection with these variables:

  • REDIS_HOST: Redis hostname; defaults to localhost.
  • REDIS_PORT: Redis port; defaults to 6379.
  • REDIS_PASSWORD: Optional Redis password.
  • REDIS_DB: Redis database number; defaults to 0.
  • REDIS_SSL: Enables SSL when set accordingly; the documented default is false.

Tools and capabilities

The mcp-redis-server MCP server groups its tools by Redis feature:

  • Connection: connect, disconnect, and ping.
  • Strings: get, set, multi-get, multi-set, delete, increment, and decrement.
  • Lists: push values from either side, read ranges, and count items.
  • Sets: add, remove, list members, test membership, and count members.
  • Hashes: set, retrieve, delete, list fields or values, and count fields.
  • Sorted sets: add members, read scores, retrieve ranges in either order, and count members.
  • Keys: test existence, set expiration, read TTL, inspect types, and scan keys.
  • Server: inspect database size and Redis information, read or set configuration, and flush the selected database or all databases.

Limitations and notes

It also does not state whether destructive commands require confirmation.

The README contains a second usage section with different module, CLI, and repository names (mcp_redis, mcp-redis, and daedalus/mcp-redis) after the primary mcp_redis_server and mcp-redis-server examples. Use the package installation and entry point matching the project name, and verify the installed interface if the alternate example is relevant. The mcp-redis-server MCP server should therefore be evaluated against the exact Redis commands and operational safeguards required by the deployment.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Redis Server

mcp-redis-server is an MCP server that connects AI models to a Redis database. Its main tools cover connection management, strings, lists, sets, hashes, sorted sets, keys, and selected server operations such as information, configuration, database size, and flush commands.

Install it with `pip install mcp-redis-server`. After installation, start the documented command-line entry point with `mcp-redis-server`, or import `mcp` from `mcp_redis_server` and call `mcp.run()` in Python.

Configure it with environment variables. Set `REDIS_HOST`, `REDIS_PORT`, `REDIS_PASSWORD`, `REDIS_DB`, and `REDIS_SSL`; the documented defaults are localhost, port 6379, database 0, no password, and SSL disabled.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Redis Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-redis-server?style=directory)](https://allmcps.com/mcp/mcp-redis-server)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-redis-server"><img src="https://allmcps.com/api/badge/mcp-redis-server?style=directory" alt="MCP Redis Server on AllMCPs" /></a>