Redis
Natural-language access to Redis data structures, search and streams.
- Checks
- 7 of 8 passed
- License
- MIT License
- Last commit
- today
- GitHub stars
- 648
- Reviewed at
cbeccb1· Dec 4, 2026
Install
PyPI · redis-mcp-server@latest
Needs REDIS_URL.
claude mcp add redis -e REDIS_URL=... -- uvx --from redis-mcp-server@latest redis-mcp-server{
"mcpServers": {
"redis": {
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server"
],
"env": {
"REDIS_URL": "..."
}
}
}
}Tools
53 tools listed by Redis MCP Server 1.30.0 in our sandbox on Dec 4, 2026.
hsetSet a field in a hash stored at key with an optional expiration time.
hgetGet the value of a field in a Redis hash.
hdelDelete a field from a Redis hash.
hgetallGet all fields and values from a Redis hash.
hexistsCheck if a field exists in a Redis hash.
set_vector_in_hashStore a vector as a field in a Redis hash.
get_vector_from_hashRetrieve a vector from a Redis hash and convert it back from binary blob.
json_setSet a JSON value in Redis at a given path with an optional expiration time.
json_getRetrieve a JSON value from Redis at a given path.
json_delDelete a JSON value from Redis at a given path.
lpushPush a value onto the left of a Redis list and optionally set an expiration time.
rpushPush a value onto the right of a Redis list and optionally set an expiration time.
lpopRemove and return the first element from a Redis list.
rpopRemove and return the last element from a Redis list.
lrangeGet elements from a Redis list within a specific range.
llenGet the length of a Redis list.
lremRemove elements from a Redis list.
deleteDelete a Redis key.
typeReturns the string representation of the type of the value stored at key Args: key (str): The key to check.
expireSet an expiration time for a Redis key.
renameRenames a Redis key from old_key to new_key.
scan_keysScan keys in the Redis database using the SCAN command (non-blocking, production-safe).
scan_all_keysScan and return ALL keys matching a pattern using multiple SCAN iterations.
search_redis_documentsSearch Redis documentation and knowledge base to learn about Redis concepts and use cases.
publishPublish a message to a Redis channel.
subscribeSubscribe to a Redis channel and return a reusable subscription handle.
psubscribeSubscribe to Redis channels using a pattern.
read_messagesRead pending pub/sub messages for an existing subscription.
unsubscribeUnsubscribe and close an existing pub/sub subscription.
get_indexesList of indexes in the Redis database Returns: str: A JSON string containing the list of indexes or an error message.
get_index_infoRetrieve schema and information about a specific Redis index using FT.INFO.
get_indexed_keys_numberRetrieve the number of indexed keys by the index Args: index_name (str): The name of the index to retrieve information about.
create_vector_index_hashCreate a Redis 8 vector similarity index using HNSW on a Redis hash.
vector_search_hashPerform a KNN vector similarity search using Redis 8 or later version on vectors stored in hash data structures.
hybrid_searchPerform a hybrid search combining a Redis filter expression with KNN vector similarity.
dbsizeGet the number of keys stored in the Redis database
infoGet Redis server information and statistics.
client_listGet a list of connected clients to the Redis server.
saddAdd a value to a Redis set with an optional expiration time.
sremRemove a value from a Redis set.
smembersGet all members of a Redis set.
zaddAdd a member to a Redis sorted set with an optional expiration time.
zrangeRetrieve a range of members from a Redis sorted set.
zremRemove a member from a Redis sorted set.
xaddAdd an entry to a Redis stream with an optional expiration time.
xrangeRead entries from a Redis stream.
xdelDelete an entry from a Redis stream.
xgroup_createCreate a consumer group for a Redis stream.
xgroup_destroyDestroy a consumer group for a Redis stream.
xreadgroupRead entries from a Redis stream using a consumer group.
xackAcknowledge entries that were processed by a consumer group.
setSet a Redis string value with an optional expiration time.
getGet a Redis string value.
Related MCP servers
More databasesSupabase
OfficialManage Supabase projects: run SQL, apply migrations, read logs, deploy edge functions.
Qdrant
OfficialStore and find memories in a Qdrant vector database.
MongoDB
OfficialQuery MongoDB databases and manage Atlas clusters.
Neon
OfficialManage Neon Postgres projects and branches, run SQL and plan migrations.