by GongRzhe
A Redis MCP server implementation for interacting with Redis databases, enabling LLMs to interact with Redis key-value stores through a set of standardized tools.
REDIS-MCP-Server is a Redis Model Context Protocol (MCP) server designed to facilitate interaction between Large Language Models (LLMs) and Redis databases. It provides a standardized set of tools that allow LLMs to perform operations on Redis key-value stores, making it easier to integrate Redis into AI-powered applications.
REDIS-MCP-Server can be installed and used in several ways:
npx -y @smithery/cli install @gongrzhe/server-redis-mcp --client claude
Using npx:
npx @gongrzhe/server-redis-mcp@1.0.0 redis://your-redis-host:port
## Example:
npx @gongrzhe/server-redis-mcp@1.0.0 redis://localhost:6379
Global Installation:
npm install -g @gongrzhe/server-redis-mcp@1.0.0
@gongrzhe/server-redis-mcp redis://your-redis-host:port
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"@gongrzhe/server-redis-mcp@1.0.0",
"redis://localhost:6379"
]
}
}
}
{
"mcpServers": {
"redis": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/redis",
"redis://host.docker.internal:6379"
]
}
}
}
set
, get
, and delete
.Q: What is MCP? A: MCP stands for Model Context Protocol, a protocol that enables LLMs to interact with external services and data sources through standardized tools.
Q: Can I use this with other LLMs besides Claude Desktop? A: While specifically mentioned for Claude Desktop, the underlying MCP concept and the server
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.
62 Redis MCP tools in https://github.com/GongRzhe/REDIS-MCP-Server/tree/redis-plus
To install Redis MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @gongrzhe/server-redis-mcp --client claude
# Using npx with specific version (recommended)
npx @gongrzhe/server-redis-mcp@1.0.0 redis://your-redis-host:port
# Example:
npx @gongrzhe/server-redis-mcp@1.0.0 redis://localhost:6379
Or install globally:
# Install specific version globally
npm install -g @gongrzhe/server-redis-mcp@1.0.0
# Run after global installation
@gongrzhe/server-redis-mcp redis://your-redis-host:port
set
key
(string): Redis keyvalue
(string): Value to storeexpireSeconds
(number, optional): Expiration time in secondsget
key
(string): Redis key to retrievedelete
key
(string | string[]): Key or array of keys to deletelist
pattern
(string, optional): Pattern to match keys (default: *)To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json
:
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"@gongrzhe/server-redis-mcp@1.0.0",
"redis://localhost:6379"
]
}
}
}
Alternatively, you can use the node command directly if you have the package installed:
{
"mcpServers": {
"redis": {
"command": "node",
"args": [
"path/to/build/index.js",
"redis://10.1.210.223:6379"
]
}
}
}
When using Docker:
host.docker.internal
if the Redis server is running on the host network{
"mcpServers": {
"redis": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/redis",
"redis://host.docker.internal:6379"
]
}
}
}
npm install
npm run build
docker build -t mcp/redis .
This MCP server is licensed under the ISC License. For more details, please see the LICENSE file in the project repository.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by googleapis
Provides a configurable MCP server that abstracts connection pooling, authentication, observability, and tool management to accelerate development of database‑backed AI tools.
by bytebase
DBHub is a universal database gateway that implements the Model Context Protocol (MCP) server interface, enabling MCP-compatible clients to interact with various databases.
by neo4j-contrib
Provides Model Context Protocol servers for interacting with Neo4j databases, managing Aura instances, and handling personal knowledge graph memory through natural‑language interfaces.
by mongodb-js
Provides a Model Context Protocol server that connects to MongoDB databases and Atlas clusters, exposing a rich set of tools for querying, managing, and administering data and infrastructure.
by benborla
A Model Context Protocol (MCP) server that provides read-only access to MySQL databases, enabling Large Language Models (LLMs) to inspect database schemas and execute read-only queries.
by ClickHouse
Provides tools that let AI assistants run read‑only SQL queries against ClickHouse clusters or the embedded chDB engine, plus a health‑check endpoint for service monitoring.
by elastic
Provides direct, natural‑language access to Elasticsearch indices via the Model Context Protocol, allowing AI agents to query and explore data without writing DSL.
by motherduckdb
Provides an MCP server that enables SQL analytics on DuckDB and MotherDuck databases, allowing AI assistants and IDEs to execute queries via a unified interface.
by redis
Provides a natural language interface for agentic applications to manage and search data in Redis efficiently.