Redis MCP Server
Get, set and scan keys.
Read and write keys, inspect TTLs and scan the keyspace. Handy for debugging a cache without opening another terminal.
Install Redis MCP Server
Paste this into your MCP client config — Claude Desktop, Claude Code, Cursor, VS Code and Windsurf all read the same shape — then restart the client.
npx -y @modelcontextprotocol/server-redis redis://localhost:6379Config for each MCP client
The same server, in the shape each client expects. Copy the block for yours, restart it, and Redis MCP Server appears in your next session.
Claude Desktop
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-redis",
"redis://localhost:6379"
]
}
}
}Full Claude Desktop setup guide
Claude Code
claude mcp add redis -- npx -y @modelcontextprotocol/server-redis redis://localhost:6379Cursor
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-redis",
"redis://localhost:6379"
]
}
}
}VS Code
{
"servers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-redis",
"redis://localhost:6379"
]
}
}
}Windsurf
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-redis",
"redis://localhost:6379"
]
}
}
}Details
- Repository
- https://github.com/modelcontextprotocol/servers
- Homepage
- https://github.com/modelcontextprotocol/servers
- Category
- Database
- Stars
- 1900
- Installs per month
- 17000
- Last checked
Frequently asked questions
How do I install Redis MCP Server?
Add it to your MCP client's config with the command `npx -y @modelcontextprotocol/server-redis redis://localhost:6379`, or paste the ready-made JSON block above into Claude Desktop, Cursor, VS Code or Windsurf. Claude Code users can run `claude mcp add redis` instead. Restart the client and the tools appear in the next session.
Does Redis MCP Server need an API key?
No credential is recorded for this listing, which usually means it runs against something local or public rather than an authenticated API. Check the repository's README before assuming, and if you find otherwise, tell us and we will correct the listing.
Which clients work with Redis MCP Server?
Any MCP client. Claude Desktop, Claude Code, Cursor, VS Code with Copilot, Windsurf, Zed, Cline and Continue all speak the Model Context Protocol, so a server written once works in all of them — only the location of the config file differs.
Is Redis MCP Server free?
The server itself is free and open source, and you run it yourself. If it connects to a paid third-party API, that service's pricing applies to the calls it makes.
Other Database servers
- Supabase MCP Server — Query Postgres, manage tables, call edge functions. Official (Database)
- Postgres MCP Server — Read-only SQL with schema inspection. Official (Database)
- SQLite MCP Server — Query a local SQLite file directly. Official (Database)
All Database MCP servers · The full MCP server list · Install guides