▌BestMCPTools.org
Redis MCP logo

Redis MCP

Key-value operations and caching for AI agents

DatabaseOpen SourceClaudeCursorWindsurfAll ModelsEasy
Own Redis MCP? Boost it to the top.✦ Upgrade to Featured

Maintenance status

Archived
Checked September 28, 2026

Archived: the MCP project moved this reference server to modelcontextprotocol/servers-archived and no longer maintains it.

How to Install Redis MCP

$npx @modelcontextprotocol/server-redis

Requires Claude Desktop, Cursor, Windsurf, or another MCP-compatible client.

Setup by client

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "redis-mcp": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/server-redis"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "redis-mcp": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/server-redis"
      ]
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "redis-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@modelcontextprotocol/server-redis"
      ]
    }
  }
}

Claude Code (terminal)

claude mcp add redis-mcp -- npx @modelcontextprotocol/server-redis

Add any API keys or environment variables the server's README lists.

About Redis MCP

The Redis MCP server gives AI agents access to Redis key-value operations: get, set, delete, expire, pub/sub, and stream reads. Useful for agents that need to read shared state, check cache, or push to queues. For document storage rather than key-value state, connect MongoDB to Claude.

Redis MCP is a Database MCP server designed for developers, analysts, and data teams. It enables querying and managing databases from an AI assistant by exposing schema introspection and SQL execution as MCP tools. Key capabilities include schema introspection across tables and views, parameterised sql execution, read-only and read/write modes, and structured tool calls that work cleanly inside an LLM context. It integrates with Postgres, MySQL, SQLite, MongoDB, Redis, BigQuery, and Snowflake, and is best suited for developers, analysts, and data teams who need ad-hoc analytics without a bi tool.

Key Features

  • redis
  • cache
  • key-value
  • queue
  • Schema introspection across tables and views
  • Parameterised SQL execution

Pricing

Open Source: from Free

Pros & Cons

Pros

  • Lets the assistant write and run real queries instead of guessing
  • Read-only mode is safe to point at production-shaped data
  • Skips most ORM and CSV-shuffling boilerplate

Cons

  • Misconfigured permissions can expose sensitive data
  • Long-running queries need explicit timeouts
  • Schema drift requires reconnecting or refreshing context

Best For

  • Ad-hoc analytics without a BI tool
  • Drafting migrations and reviewing query plans
  • Letting non-SQL teammates ask questions of a database
  • Bootstrapping internal admin workflows

Our Take on Redis MCP

Lightweight and fast, perfect for agents that need to read or write ephemeral state.

Frequently Asked Questions

Tags