Stormproof Submit a server

Redis

Official

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 Code
claude mcp add redis -e REDIS_URL=... -- uvx --from redis-mcp-server@latest redis-mcp-server
Cursor, Claude Desktop and other clients
{
  "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.

  • hset

    Set a field in a hash stored at key with an optional expiration time.

  • hget

    Get the value of a field in a Redis hash.

  • hdel

    Delete a field from a Redis hash.

  • hgetall

    Get all fields and values from a Redis hash.

  • hexists

    Check if a field exists in a Redis hash.

  • set_vector_in_hash

    Store a vector as a field in a Redis hash.

  • get_vector_from_hash

    Retrieve a vector from a Redis hash and convert it back from binary blob.

  • json_set

    Set a JSON value in Redis at a given path with an optional expiration time.

  • json_get

    Retrieve a JSON value from Redis at a given path.

  • json_del

    Delete a JSON value from Redis at a given path.

  • lpush

    Push a value onto the left of a Redis list and optionally set an expiration time.

  • rpush

    Push a value onto the right of a Redis list and optionally set an expiration time.

  • lpop

    Remove and return the first element from a Redis list.

  • rpop

    Remove and return the last element from a Redis list.

  • lrange

    Get elements from a Redis list within a specific range.

  • llen

    Get the length of a Redis list.

  • lrem

    Remove elements from a Redis list.

  • delete

    Delete a Redis key.

  • type

    Returns the string representation of the type of the value stored at key Args: key (str): The key to check.

  • expire

    Set an expiration time for a Redis key.

  • rename

    Renames a Redis key from old_key to new_key.

  • scan_keys

    Scan keys in the Redis database using the SCAN command (non-blocking, production-safe).

  • scan_all_keys

    Scan and return ALL keys matching a pattern using multiple SCAN iterations.

  • search_redis_documents

    Search Redis documentation and knowledge base to learn about Redis concepts and use cases.

  • publish

    Publish a message to a Redis channel.

  • subscribe

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

  • psubscribe

    Subscribe to Redis channels using a pattern.

  • read_messages

    Read pending pub/sub messages for an existing subscription.

  • unsubscribe

    Unsubscribe and close an existing pub/sub subscription.

  • get_indexes

    List of indexes in the Redis database Returns: str: A JSON string containing the list of indexes or an error message.

  • get_index_info

    Retrieve schema and information about a specific Redis index using FT.INFO.

  • get_indexed_keys_number

    Retrieve the number of indexed keys by the index Args: index_name (str): The name of the index to retrieve information about.

  • create_vector_index_hash

    Create a Redis 8 vector similarity index using HNSW on a Redis hash.

  • vector_search_hash

    Perform a KNN vector similarity search using Redis 8 or later version on vectors stored in hash data structures.

  • hybrid_search

    Perform a hybrid search combining a Redis filter expression with KNN vector similarity.

  • dbsize

    Get the number of keys stored in the Redis database

  • info

    Get Redis server information and statistics.

  • client_list

    Get a list of connected clients to the Redis server.

  • sadd

    Add a value to a Redis set with an optional expiration time.

  • srem

    Remove a value from a Redis set.

  • smembers

    Get all members of a Redis set.

  • zadd

    Add a member to a Redis sorted set with an optional expiration time.

  • zrange

    Retrieve a range of members from a Redis sorted set.

  • zrem

    Remove a member from a Redis sorted set.

  • xadd

    Add an entry to a Redis stream with an optional expiration time.

  • xrange

    Read entries from 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 consumer group for a Redis stream.

  • xreadgroup

    Read entries from a Redis stream using a consumer group.

  • xack

    Acknowledge entries that were processed by a consumer group.

  • set

    Set a Redis string value with an optional expiration time.

  • get

    Get a Redis string value.

Related MCP servers

More databases