Redis MCP Server

zrange

Return a range of members from a sorted set by index

Input Schema

NameRequiredDescriptionDefault
keyYesSorted set key
startYesStart index (0-based)
stopYesStop index (inclusive)
withScoresNoInclude scores in output

Input Schema (JSON Schema)

{ "properties": { "key": { "description": "Sorted set key", "type": "string" }, "start": { "description": "Start index (0-based)", "type": "number" }, "stop": { "description": "Stop index (inclusive)", "type": "number" }, "withScores": { "default": false, "description": "Include scores in output", "type": "boolean" } }, "required": [ "key", "start", "stop" ], "type": "object" }