redis

Official
Local
15
GitHub Repo

Overview

Enables LLMs to interact with Redis key-value databases through a set of standardized tools

Transport

stdio

Tools

  • dbsize
  • info
  • client_list
  • delete
  • type
  • expire
  • rename
  • scan_keys
  • scan_all_keys
  • get_indexes
  • get_index_info
  • get_indexed_keys_number
  • create_vector_index_hash
  • vector_search_hash
  • hset
  • hget
  • hdel
  • hgetall
  • hexists
  • set_vector_in_hash
  • get_vector_from_hash
  • lpush
  • rpush
  • lpop
  • rpop
  • lrange
  • llen
  • set
  • get
  • json_set
  • json_get
  • json_del
  • zadd
  • zrange
  • zrem
  • sadd
  • srem
  • smembers
  • xadd
  • xrange
  • xdel
  • publish
  • subscribe
  • unsubscribe

Key Capabilities

  • Comprehensive Redis data structure support (strings, hashes, lists, sets, sorted sets, JSON)
  • Vector search capabilities with hash-based indexing
  • Pub/Sub messaging for real-time communication
  • Stream operations for time-series and event data

How It Works

The server connects to Redis databases and provides MCP tools for:

  • Basic operations: CRUD operations for strings, database management (dbsize, info, client_list)
  • Data structures: Full support for hashes, lists, sets, sorted sets, and JSON documents
  • Vector search: Create and query vector indexes for AI/ML applications
  • Streams & Pub/Sub: Time-series data handling and real-time message publishing/subscription