mcpservers.md

Redis MCP

Redis MCP server — interact with Redis cache and data structures through AI — get, set, search, and analyze cached data.

TRUSTED · Official

"Show me the 20 most recently modified keys in my Redis database"

Easy Setup

API key or simple config

Light usage
  • You're debugging cache behavior and want to inspect live keys
  • You need to clear or expire specific keys during a deployment
  • You're learning Redis data structures and want AI to explain what's stored
  • You're investigating rate-limiting or session issues
  • You use Memcached, KeyDB, or DynamoDB for caching (different protocol)
  • You want to give AI write access to production cache without review
  • You need Redis pub/sub streaming through the MCP (not its strength)
1

Cache Inspection

Scan keys matching a pattern and see what data is stored.

"Show me all keys matching 'session:*' and tell me the TTL of the 5 most recent ones"

2

Targeted Cache Clearing

Delete specific keys or key patterns when invalidation is needed.

"Delete all keys matching 'user:123:*' to clear that user's cache"

3

Rate Limit Debugging

Check rate-limit counters for a specific user or IP.

"What's the current value of the key 'ratelimit:ip:1.2.3.4'?"

Imagine asking your AI: 'What keys are in my Redis cache that start with user:' or 'Clear all session keys older than an hour' — and it manages Redis for you. This server connects your AI to a Redis instance so it can read, write, and inspect keys, lists, sets, and streams through conversation.

The Redis MCP server provides AI assistants with access to Redis databases. Get and set values, work with Redis data structures (lists, sets, hashes, sorted sets), execute commands, and analyze cache contents — all through natural language.

Useful for debugging cache issues, analyzing session data, and understanding Redis usage patterns in development.

Claude Cursor Cline
#redis#cache#database#nosql#official