Redis — Claude Code MCP server: features and setup
Give an AI agent tools to read, write, and search Redis data through natural-language requests. Useful for managing cached values, sessions, and event streams.
no license updated 2026-10-29
Open on GitHubWhat Redis does
The server exposes Redis operations for strings, hashes, lists, sets, sorted sets, streams, and JSON documents. Agents can also publish messages, consume subscription queues, search stored data, and run vector searches. A separate tool searches Redis documentation.
The server communicates over stdio. Its client configuration supplies a Redis URL, such as redis://localhost:6379/0; the installation guide shows launching the package with uvx and redis-mcp-server@latest. EntraID authentication is supported for Azure Managed Redis. Database operations depend on a reachable Redis server.
What it helps with
- store a value with an expiration time
- read or update fields in a Redis hash
- find entries in a Redis stream
- search vectors through an index
- publish a channel message and read queued subscription messages
Example prompts for the agent
- Save this session in Redis with an expiration time.
- Search the Redis vector index for similar records.
- Publish this message to a Redis channel and read the waiting messages.
How to install Redis
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Redis
How do I connect Redis to Claude Code?
Add an MCP server entry to the client configuration using uvx, followed by --from, redis-mcp-server@latest, redis-mcp-server, and --url; provide a Redis URL such as redis://localhost:6379/0.
What does the Redis MCP server do?
It gives an agent tools for changing and retrieving Redis data, including streams and JSON documents. Search and vector-index operations are available too.
Which transport does the Redis MCP server use?
It uses stdio. The client configuration needs a Redis URL.