
Redis
Interact with Redis key-value stores
Send to Your Agent
Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.
Install the Redis MCP server for me.
Server: Redis
Description: Interact with Redis key-value stores
Install command: npx -y @modelcontextprotocol/server-redis redis://localhost:6379
Environment variables needed:
- REDIS_URL: Redis connection URL (required)
GitHub: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/redis
Please install this MCP server and confirm when ready. Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.
Quick Install
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
- Open Claude Desktop app
- Go to Settings → Developer → Edit Config
- Paste the config below into the file
- Restart Claude Desktop
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-redis",
"redis://localhost:6379"
],
"env": {
"REDIS_URL": "redis://localhost:6379"
}
}
}
} Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json
Installation Methods
npx -y @modelcontextprotocol/server-redis redis://localhost:6379Tools (5)
get Get the value of a key
set Set the value of a key
delete Delete a key
list_keys List all keys matching a pattern
get_info Get Redis server information
Environment Variables
REDIS_URL RequiredRedis connection URL
redis://localhost:6379| Name | Description | Required | Example |
|---|---|---|---|
| REDIS_URL | Redis connection URL | Required | redis://localhost:6379 |
Compatibility
About
A Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Key Features
- Key-value operations — Get, set, and delete keys
- Pattern matching — List keys using glob patterns
- Server info — Retrieve Redis server statistics and configuration
- Connection flexibility — Works with local and remote Redis instances
Use Cases
- Cache inspection — "What's currently in the cache?"
- Session management — "List all active user sessions"
- Rate limiting analysis — "Check how many requests this IP has made"
- Queue monitoring — "Show me the length of all queues"
- Configuration review — "What are the current Redis settings?"
Related Resources
PostgreSQL
MCP ServerRead-only database access with schema inspection
Database Migration Planner
PromptPlan zero-downtime database migrations with rollback strategies and data integrity checks.
Database Optimization Expert
SkillAnalyze and optimize database performance with query tuning, indexing strategies, schema design, and data modeling best practices for SQL and NoSQL databases.
Artificial Intelligence
GlossaryThe broad field of creating machines that can perform tasks requiring human-like intelligence, such as reasoning, learning, and perception.
SQLite
MCP ServerDatabase interaction and business intelligence capabilities
Compare LLM Pricing
This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.