Redis MCP Server
Overview
- "Store the entire conversation in a stream"
- "Cache this item"
- "Store the session with an expiration time"
- "Index and search this vector"
Features
- Natural Language Queries: Enables AI agents to query and update Redis using natural language.
- Seamless MCP Integration: Works with any MCP client for smooth communication.
- Full Redis Support: Handles hashes, lists, sets, sorted sets, streams, and more.
- Search & Filtering: Supports efficient data retrieval and searching in Redis.
- Scalable & Lightweight: Designed for high-performance data operations.
Tools
stringtools to set, get strings with expiration. Useful for storing simple configuration values, session data, or caching responses.
hashtools to store field-value pairs within a single key. The hash can store vector embeddings. Useful for representing objects with multiple attributes, user profiles, or product information where fields can be accessed individually.
listtools with common operations to append and pop items. Useful for queues, message brokers, or maintaining a list of most recent actions.
settools to add, remove and list set members. Useful for tracking unique values like user IDs or tags, and for performing set operations like intersection.
sorted settools to manage data for e.g. leaderboards, priority queues, or time-based analytics with score-based ordering.
pub/subfunctionality to publish messages to channels and subscribe to receive them. Useful for real-time notifications, chat applications, or distributing updates to multiple clients.
streamstools to add, read, and delete from data streams. Useful for event sourcing, activity feeds, or sensor data logging with consumer groups support.
JSONtools to store, retrieve, and manipulate JSON documents in Redis. Useful for complex nested data structures, document databases, or configuration management with path-based access.
query enginetools to manage vector indexes and perform vector search
server managementtool to retrieve information about the database
Installation
Installing via Smithery
Manual Installation
Configuration
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
Integration with OpenAI Agents SDK
Integration with Claude Desktop
- Specify your Redis credentials and TLS configuration
- Retrieve your
uvcommand full path (e.g.which uv)
- Edit the
claude_desktop_config.jsonconfiguration file
Testing
Example Use Cases
- AI Assistants: Enable LLMs to fetch, store, and process data in Redis.
- Chatbots & Virtual Agents: Retrieve session data, manage queues, and personalize responses.
- Data Search & Analytics: Query Redis for real-time insights and fast lookups.
- Event Processing: Manage event streams with Redis Streams.
Contributing
- Fork the repo
- Create a new branch (
feature-branch)
- Commit your changes
- Push to your branch and submit a PR!
License
Contact
Redis MCP Server
Overview
- "Store the entire conversation in a stream"
- "Cache this item"
- "Store the session with an expiration time"
- "Index and search this vector"
Features
- Natural Language Queries: Enables AI agents to query and update Redis using natural language.
- Seamless MCP Integration: Works with any MCP client for smooth communication.
- Full Redis Support: Handles hashes, lists, sets, sorted sets, streams, and more.
- Search & Filtering: Supports efficient data retrieval and searching in Redis.
- Scalable & Lightweight: Designed for high-performance data operations.
Tools
stringtools to set, get strings with expiration. Useful for storing simple configuration values, session data, or caching responses.
hashtools to store field-value pairs within a single key. The hash can store vector embeddings. Useful for representing objects with multiple attributes, user profiles, or product information where fields can be accessed individually.
listtools with common operations to append and pop items. Useful for queues, message brokers, or maintaining a list of most recent actions.
settools to add, remove and list set members. Useful for tracking unique values like user IDs or tags, and for performing set operations like intersection.
sorted settools to manage data for e.g. leaderboards, priority queues, or time-based analytics with score-based ordering.
pub/subfunctionality to publish messages to channels and subscribe to receive them. Useful for real-time notifications, chat applications, or distributing updates to multiple clients.
streamstools to add, read, and delete from data streams. Useful for event sourcing, activity feeds, or sensor data logging with consumer groups support.
JSONtools to store, retrieve, and manipulate JSON documents in Redis. Useful for complex nested data structures, document databases, or configuration management with path-based access.
query enginetools to manage vector indexes and perform vector search
server managementtool to retrieve information about the database
Installation
Installing via Smithery
Manual Installation
Configuration
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
Integration with OpenAI Agents SDK
Integration with Claude Desktop
- Specify your Redis credentials and TLS configuration
- Retrieve your
uvcommand full path (e.g.which uv)
- Edit the
claude_desktop_config.jsonconfiguration file
Testing
Example Use Cases
- AI Assistants: Enable LLMs to fetch, store, and process data in Redis.
- Chatbots & Virtual Agents: Retrieve session data, manage queues, and personalize responses.
- Data Search & Analytics: Query Redis for real-time insights and fast lookups.
- Event Processing: Manage event streams with Redis Streams.
Contributing
- Fork the repo
- Create a new branch (
feature-branch)
- Commit your changes
- Push to your branch and submit a PR!