MCP SERVER PROFILE · Database
Database

Redis MCP Server

Redis-maintained MCP server for querying and managing Redis data.

GitHub stars0
Setup options1
Documented tools53
Maintained byredis

Overview

Redis-maintained MCP server for querying and managing Redis data.

rediscachedatabase

Installation & configuration 1 documented option

Choose the configuration documented for your client. Replace placeholders with your own values, and review the maintainer documentation before connecting.

Redis via uvx

Compatible stdio MCP client

{
  "mcpServers": {
    "RedisMCPServer": {
      "command": "uvx",
      "args": [
        "--from",
        "redis-mcp-server@latest",
        "redis-mcp-server",
        "--url",
        "redis://localhost:6379/0"
      ]
    }
  }
}

Install uv and provide a reachable Redis URL; replace localhost as appropriate.

Read maintainer installation documentation ↗

Before you install

  • A running Redis server or Redis Cloud database.
  • A compatible MCP client and Redis MCP server installation.
  • Install using uvx, Python packaging or the official Docker MCP image.
  • Configure Redis connection details and authentication credentials.
  • Use rediss with certificate verification when connecting over TLS.
  • Redis 8 or later is required for the documented vector similarity operations.
  • Search and vector operations require appropriate Redis indexing support.
  • Grant the MCP server only the Redis permissions required for its operations.

Documented tools 53

Capabilities provided in the listing metadata. Check upstream documentation for current availability and parameters.

client_list

List clients currently connected to Redis.

create_vector_index_hash

Create an HNSW vector similarity index on Redis hash data.

dbsize

Count keys in the selected Redis database.

delete

Delete a Redis key.

expire

Set the expiration time of a Redis key.

get

Retrieve a Redis string value.

get_index_info

Retrieve schema and metadata for a Redis search index.

get_indexed_keys_number

Count keys indexed by a Redis search index.

get_indexes

List Redis search indexes.

get_vector_from_hash

Retrieve and decode a vector stored in a Redis hash.

hdel

Delete a field from a Redis hash.

hexists

Check whether a field exists in a Redis hash.

hget

Retrieve a field value from a Redis hash.

hgetall

Retrieve all fields and values from a Redis hash.

hset

Set a Redis hash field with optional expiration.

hybrid_search

Combine metadata filtering with KNN vector similarity search.

info

Retrieve Redis server information and statistics.

json_del

Delete a JSON value at a specified path.

json_get

Retrieve a JSON value at a specified path.

json_set

Set a JSON value at a specified path with optional expiration.

llen

Get the length of a Redis list.

lpop

Remove and return the first element of a Redis list.

lpush

Insert a value at the beginning of a Redis list.

lrange

Retrieve a range of elements from a Redis list.

lrem

Remove matching elements from a Redis list.

psubscribe

Subscribe to Redis pub/sub channels using a pattern.

publish

Publish a message to a Redis channel.

read_messages

Read pending messages from an existing pub/sub subscription.

rename

Rename a Redis key.

rpop

Remove and return the last element of a Redis list.

rpush

Append a value to a Redis list.

sadd

Add a member to a Redis set.

scan_all_keys

Iterate through all keys matching a pattern, collecting results in memory.

scan_keys

Scan Redis keys incrementally using a cursor.

search_redis_documents

Search Redis documentation and technical knowledge resources.

set

Store a Redis string value with optional expiration.

set_vector_in_hash

Store a vector embedding in a Redis hash field.

smembers

Retrieve all members of a Redis set.

srem

Remove a member from a Redis set.

subscribe

Subscribe to a Redis channel and obtain a reusable subscription handle.

type

Identify the Redis data type stored at a key.

unsubscribe

Close an existing Redis pub/sub subscription.

vector_search_hash

Perform KNN vector similarity search over Redis hash data.

xack

Acknowledge processed entries in a Redis stream consumer group.

xadd

Append an entry to a Redis stream.

xdel

Delete an entry from a Redis stream.

xgroup_create

Create a consumer group for a Redis stream.

xgroup_destroy

Destroy a Redis stream consumer group.

xrange

Retrieve entries from a Redis stream.

xreadgroup

Read Redis stream entries using a consumer group.

zadd

Add a scored member to a Redis sorted set.

zrange

Retrieve members from a Redis sorted set.

zrem

Remove a member from a Redis sorted set.

Listed on FreeMCP badge

Maintaining this MCP server? Add this optional badge to your GitHub README so visitors can find its FreeMCP listing. Listing is not a security certification or independent verification.

MCP — Listed on FreeMCP

[![Listed on FreeMCP](https://freemcp.in/badges/listed.svg)](https://freemcp.in/servers/redis-mcp)

Security & permissions

  • Limit Redis permissions and never expose credentials in client configuration.

See the installation and security guide for a setup checklist.

Buy me a beer