Enables interaction with Redis databases through a standardized set of tools for key-value operations, including setting values with optional expiration times, retrieving values, deleting keys, and listing keys matching patterns.
Redis MCP Server (@gongrzhe/server-redis-mcp@1.0.0)
A Redis Model Context Protocol (MCP) server implementation for interacting with Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Update
62 Redis MCP tools in https://github.com/GongRzhe/REDIS-MCP-Server/tree/redis-plus
Related MCP server: MCP Server Redis
Installation & Usage
Installing via Smithery
To install Redis MCP Server for Claude Desktop automatically via Smithery:
Installing Manually
Or install globally:
Components
Tools
set
Set a Redis key-value pair with optional expiration
Input:
key(string): Redis keyvalue(string): Value to storeexpireSeconds(number, optional): Expiration time in seconds
get
Get value by key from Redis
Input:
key(string): Redis key to retrieve
delete
Delete one or more keys from Redis
Input:
key(string | string[]): Key or array of keys to delete
list
List Redis keys matching a pattern
Input:
pattern(string, optional): Pattern to match keys (default: *)
Configuration
Usage with Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:
Alternatively, you can use the node command directly if you have the package installed:
Docker Usage
When using Docker:
For macOS, use
host.docker.internalif the Redis server is running on the host networkRedis URL can be specified as an argument, defaults to "redis://localhost:6379"
Development
Building from Source
Clone the repository
Install dependencies:
npm installBuild the project:
npm run build
Docker Build
License
This MCP server is licensed under the ISC License. For more details, please see the LICENSE file in the project repository.
Appeared in Searches
- Methods for Saving, Reading, and Querying Data
- A server for data engineering tasks, GPU clustering, nomad setup, and data pipeline management
- Methods for Context and Data Analysis
- Attribution and Contribution Analysis in Data Science and Economics
- An in-memory data store for caching and message brokering