Skip to main content
mcpFirst-partyLow risk Safety Privacy
Redis logo

Redis MCP Server for Claude

Official Redis MCP server providing natural language interface for Redis data management and operations

HarnessClaude CodeCodexCursorClaude Desktop

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Brand
Redis
Brand domain
redis.io
Brand asset source
brandfetch
Package URL
/downloads/mcp/redis-mcp-server.mcpb
Package SHA256
53ca24ed61d13c6d40277f385286fcc089c13b173c7829913b02ddb4d669c68a
Safety notes
Use a restricted Redis user or database because commands can expose, mutate, or delete cache, queue, and session data.
Privacy notes
Keys, values, connection URLs, database metadata, and application data stored in Redis may be exposed through tool calls.
Author
Redis
Claim status
unclaimed
Last verified
2025-09-20

Decision playbook

Ready to evaluate for your workflow

Signals are comparatively strong, but you should still validate source, privacy posture, and package provenance for your environment.

Compare context
Selected

0

Current score

96

Baseline

Delta

No baseline selected

No major trust-signal divergence detected in the current selection.

Source and provenance checks

Complete

Confirm ownership and provenance before trusting install instructions.

  • Source link availableRequired

    Open the canonical repository and verify ownership.

    Done
  • Source provenance statusRequired

    Marked as first-party.

    Done
  • Metadata reviewed

    Registry metadata indicates a reviewed listing.

    Done

Safety and privacy checks

Complete

Validate risk disclosures before installation or API wiring.

  • Safety notes presentRequired

    Review the listed safety guidance before running commands.

    Done
  • Privacy notes presentRequired

    Review data handling notes before connecting accounts or secrets.

    Done
  • Trust level risk gateRequired

    Trust level does not block evaluation.

    Done

Package and install checks

Complete

Check package metadata and artifact integrity signals.

  • Install payload available

    Install or copy payload is available for review.

    Done
  • Package verification flag

    Package marked verified.

    Done
  • Checksum metadata

    SHA-256 hash is present.

    Done

Compare-driven decision checks

Needs review

Use compare context to validate trade-offs before adoption.

  • Compare tray has multiple entries

    Add at least one more entry to compare trust differences.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

Package install

Copy-ready — paste the snippet to get started.

2 minutes

Install command

Provided

Config snippet

Provided

Copy snippet

Provided

Prerequisites

10 to clear

Platforms

4 listed

Difficulty

1/100

Adoption plan

Balanced adoption plan

Current risk score 0/100. Use staged verification before broader rollout.

Risk 0

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    Listing has review metadata.

    Done
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes are present.

    Done
  • Review privacy notesRequired

    Privacy notes are present.

    Done
  • Verify package integrity metadata

    Package verification/checksum metadata is available.

    Done

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Required evidence gates are covered (6/6 signals complete).

Risk 0

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Present

Review metadata is present.

Required in this preset

Safety notes

Present

Safety notes are present.

Required in this preset

Privacy notes

Present

Privacy notes are present.

Optional in this preset

Package integrity

Present

Package integrity metadata is present.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required evidence gates are covered for this preset.

Decision timeline

Decision timeline · balanced

6/6 steps complete with no blocking gaps for this preset.

Risk 0

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is available.

Done

verify

Review safety notesRequired

Safety notes are available.

Done

verify

Review privacy notes

Privacy notes are available.

Done

verify

Validate package integrity metadata

Package integrity metadata is available.

Done

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

No required blockers for this timeline preset.

Prerequisite readiness

Prerequisite readiness

10 prerequisites to line up before setup. Have accounts and credentials ready first.

0/10 ready
Account & credentials1Install & runtime1Network & hosting3General52 minutes

Safety & privacy surface

Safety & privacy surface

1 safety and 1 privacy notes across 2 risk areas. Review closely: credentials & tokens.

2 areas
  • SafetyCredentials & tokensUse a restricted Redis user or database because commands can expose, mutate, or delete cache, queue, and session data.
  • PrivacyData retentionKeys, values, connection URLs, database metadata, and application data stored in Redis may be exposed through tool calls.

Safety notes

  • Use a restricted Redis user or database because commands can expose, mutate, or delete cache, queue, and session data.

Privacy notes

  • Keys, values, connection URLs, database metadata, and application data stored in Redis may be exposed through tool calls.

Prerequisites

  • Redis server running and accessible (local or remote)
  • Python 3.8+ and uvx package runner (for executing redis-mcp-server)
  • Redis connection URL (format: redis://[username]:[password]@host:port/db)
  • Network access to Redis server (default port 6379, or custom port)
  • Understanding of Redis data structures (strings, hashes, lists, sets, sorted sets, streams)
  • Optional: Redis ACL user credentials (for user-based authentication)
  • Optional: TLS certificates (for rediss:// secure connections)
  • Claude Desktop 0.7.0+ or Claude Code with MCP support
  • Understanding of Redis commands and operations
  • Understanding of Redis pub/sub and stream processing concepts

Schema details

Install type
package
Reading time
1 min
Difficulty score
1
Troubleshooting
Yes
Breaking changes
No
Source repository stats
Scope
Source repo
Package metadata
Package verified
Yes
SHA-256
53ca24ed61d13c6d40277f385286fcc089c13b173c7829913b02ddb4d669c68a
Skill and platform metadata
Retrieval sources
https://github.com/redis/mcp-redis
Collection metadata
Estimated setup
2 minutes
Difficulty
beginner
Full copyable content
{
  "redis": {
    "args": [
      "--from",
      "git+https://github.com/redis/mcp-redis.git",
      "redis-mcp-server",
      "--url",
      "redis://localhost:6379/0"
    ],
    "command": "uvx"
  }
}

About this resource

Content

The official Redis MCP Server provides a natural language interface for AI agents to manage and search data in Redis. Access all Redis data structures (strings, hashes, lists, sets, sorted sets, streams), perform vector similarity search for AI/ML applications, implement pub/sub messaging, manage sessions and caching, create leaderboards, and execute server administration—all through natural language commands. Supports ACL authentication, TLS encryption, and both local and remote Redis instances.

Features

  • String operations with TTL support (expiration management)
  • Hash, list, set, and sorted set management (all Redis data structures)
  • Pub/Sub messaging (real-time publish/subscribe patterns)
  • Stream operations (event sourcing and stream processing)
  • JSON data handling (RedisJSON module support)
  • Vector search capabilities (Redis Vector Search for AI/ML)
  • Server management and monitoring (info, config, and admin commands)
  • Transaction support (MULTI/EXEC for atomic operations)
  • Advanced Redis key-value store management with data structure operations, pub/sub messaging, and performance monitoring
  • Batch operations support for efficient bulk key operations, data management, and cache operations with automatic error handling
  • Real-time Redis monitoring capabilities with connection pooling support for tracking Redis performance and triggering automated workflows

Use Cases

  • High-performance caching solutions (session and data caching)
  • Session management and storage (user session persistence)
  • Real-time messaging with pub/sub (event-driven architectures)
  • Leaderboards and ranking systems (sorted sets for rankings)
  • Stream processing and event sourcing (Redis Streams)
  • Vector similarity search (AI/ML embeddings and RAG)
  • Rate limiting and counters (distributed rate limiting)
  • Distributed locking and coordination (mutex and semaphore patterns)
  • Build automated caching and data management workflows that sync external systems with Redis for real-time data operations and performance optimization

Installation

Claude Code

  1. Ensure Redis server is running and accessible
  2. Run: uvx --from git+https://github.com/redis/mcp-redis.git redis-mcp-server --url redis://localhost:6379/0
  3. Verify installation: claude mcp list
  4. Test connection: claude mcp status redis
  5. Update connection URL if using remote Redis or authentication

Claude Desktop

  1. Ensure Redis server is running and accessible
  2. Install via Smithery CLI: npx -y @smithery/cli install @redis/mcp-redis --client claude
  3. Or install via uvx: uvx --from git+https://github.com/redis/mcp-redis.git redis-mcp-server
  4. Configure Redis connection URL in Claude Desktop config
  5. Add server configuration to Claude Desktop (see configuration section)
  6. Restart Claude Desktop
  7. Update connection URL if using remote Redis or authentication

Requirements

  • Redis server running and accessible (local or remote)
  • Python 3.8+ and uvx package runner (for executing redis-mcp-server)
  • Redis connection URL (format: redis://[username]:[password]@host:port/db)
  • Network access to Redis server (default port 6379, or custom port)
  • Understanding of Redis data structures (strings, hashes, lists, sets, sorted sets, streams)
  • Optional: Redis ACL user credentials (for user-based authentication)
  • Optional: TLS certificates (for rediss:// secure connections)
  • Claude Desktop 0.7.0+ or Claude Code with MCP support
  • Understanding of Redis commands and operations
  • Understanding of Redis pub/sub and stream processing concepts

Configuration

{
  "redis": {
    "args": [
      "--from",
      "git+https://github.com/redis/mcp-redis.git",
      "redis-mcp-server",
      "--url",
      "redis://localhost:6379/0"
    ],
    "command": "uvx"
  }
}

Examples

Store and retrieve cached data with expiration

Common usage pattern for this MCP server

Ask Claude: "Store and retrieve cached data with expiration"

Manage user sessions and preferences

Common usage pattern for this MCP server

Ask Claude: "Manage user sessions and preferences"

Implement real-time chat with pub/sub

Common usage pattern for this MCP server

Ask Claude: "Implement real-time chat with pub/sub"

Create leaderboards with sorted sets

Common usage pattern for this MCP server

Ask Claude: "Create leaderboards with sorted sets"

Process events using Redis streams

Common usage pattern for this MCP server

Ask Claude: "Process events using Redis streams"

Set and Get Key

Store and retrieve JSON data in Redis with key-value operations

// Set and get Redis key
await redis.set(
  "user:123",
  JSON.stringify({ name: "John", email: "john@example.com" }),
);
const user = await redis.get("user:123");

Security

  • Redis ACL user management (fine-grained permissions per user)
  • SSL/TLS encryption support (rediss:// for secure connections)
  • Password authentication (requirepass or ACL passwords)
  • Read-only user configurations (ACL users with read-only permissions)
  • Network security controls (firewall rules, bind address restrictions)
  • Redis connection strings and passwords must be securely stored and never exposed in client-side code or public repositories - use environment variables and secure credential management
  • Redis AUTH passwords should be used for all Redis instances to prevent unauthorized access - regularly rotate passwords and use strong authentication
  • Redis key names and data may expose application structure and sensitive information - ensure Redis keys are kept private and not shared in public configurations
  • Rate limiting and connection management are critical for Redis MCP servers - implement proper connection pooling, command timeout handling, and resource monitoring to prevent service disruption
  • Redis pub/sub channels and data may contain sensitive information - ensure pub/sub channels are properly secured and access-controlled according to data privacy requirements

Troubleshooting

Connection refused or Redis server not accessible

Verify Redis server is running with redis-cli ping (should return PONG). Check connection URL format: redis://localhost:6379/0 or redis://user:password@host:port/db. Confirm network firewall allows port 6379 (or your custom port). Test connection with redis-cli -u URL command. For remote servers, verify hostname resolution and network connectivity. Check Redis server logs for connection errors.

NOAUTH Authentication required error

Redis requires authentication. Add password to connection URL: redis://:password@host:6379 (empty username) or redis://username:password@host:6379 (with username for ACL). Use AUTH command in redis-cli to test: AUTH password or AUTH username password. Verify requirepass in redis.conf matches your password. Check ACL user exists with ACL LIST command. For ACL users, ensure user has proper permissions.

NOPERM user has no permissions to run command or access key

ACL user lacks required permissions. Grant permissions with ACL SETUSER username +@all ~* (all commands, all keys) or specific categories like +@read +@write for read/write operations. Check current ACL rules with ACL GETUSER username. Verify key patterns allow access with ~key:* syntax (wildcard patterns). Ensure user has appropriate command categories enabled (e.g., +@string, +@hash, +@list). Review ACL configuration file if using persistent ACL.

ACL authentication failed or WRONGPASS invalid password

Password mismatch or ACL configuration issue. Verify password matches ACL user with ACL GETUSER username (check # password hash). Ensure ACL file loaded correctly (restart Redis after editing ACL file). Check user not flagged nopass without valid passwords. View recent security events with ACL LOG to see authentication failures. For ACL users, ensure username and password combination is correct. Verify ACL rules are properly formatted in redis.conf or ACL file.

TLS/SSL connection error or certificate validation failed

Use rediss:// (note double 's') for TLS connections instead of redis://. Add tls=true parameter if using connection object. Verify Redis server built with TLS support (redis-server --version). Check certificates match CA and have correct file permissions. For client certificate authentication, provide cert and key files. Test TLS connection with redis-cli --tls --cacert ca.pem -h host -p port. Verify certificate paths are absolute or relative to working directory. Check certificate expiration dates.

Redis MCP server authentication errors with passwords

Verify Redis password is correct. Check AUTH configuration in redis.conf. Ensure password format is correct. For Redis 6.0+, verify ACL user permissions if using ACL authentication.

Redis connection failures or timeout errors

Check network connectivity to Redis server. Verify Redis is running and accessible. Check firewall rules allow Redis connections (default port 6379). Increase connection timeout values. Verify Redis maxclients setting allows new connections.

Redis memory limit errors or OOM errors

Check Redis memory usage with INFO memory command. Verify maxmemory setting and eviction policy. Clear unused keys or increase maxmemory limit. Monitor memory usage patterns and implement key expiration policies.

Redis MCP server connection timeouts or network errors

Check network connectivity and firewall settings. Verify Redis server is accessible. Increase request timeout values. Implement connection pooling and retry mechanisms with exponential backoff.

Source citations

Add this badge to your README

Show that Redis MCP Server for Claude is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/mcp/redis-mcp-server.svg)](https://heyclau.de/entry/mcp/redis-mcp-server)

How it compares

Redis MCP Server for Claude side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

3 trust signals differ across this comparison (Package trust, Source provenance, Submitter).

Field

Official Redis MCP server providing natural language interface for Redis data management and operations

Open dossier

Official MCP server providing read-only access to PostgreSQL databases with schema inspection and query capabilities

Open dossier

Read and write records, manage bases and tables in Airtable directly from Claude

Open dossier

Official dbt Labs MCP server that gives AI agents context from dbt Core, dbt Fusion, dbt Platform, project metadata, SQL tools, lineage, Admin API, and dbt documentation search.

Open dossier
Next steps
Trust
Review statusReviewedMaintainer reviewedReviewedMaintainer reviewedReviewedMaintainer reviewedReviewedMaintainer reviewed
Package trustDiffersPackage verifiedPackage verifiedPackage verifiedPackage not verified
Source provenanceDiffersSource-backedNo submission linkNo submission linkSource-backed
SubmitterDiffersJSONbored
Install riskLow riskLow riskLow riskReview first
Notes Safety Privacy Safety Privacy Safety Privacy Safety Privacy
BrandRedis logoRedisAnthropic logoAnthropicAirtable logoAirtable
Categorymcpmcpmcpmcp
Sourcefirst-partyfirst-partyfirst-partysource-backed
AuthorRedisAnthropicdomdomeggdbt Labs
Added2025-09-202025-09-162025-09-182026-06-05
Platforms
Claude CodeCodexCursorClaude Desktop
Claude CodeClaude Desktop
Claude CodeClaude Desktop
Claude CodeClaude Desktop
Source repo
Safety notesUse a restricted Redis user or database because commands can expose, mutate, or delete cache, queue, and session data.Use a read-only database user with restricted schemas unless write access is explicitly needed and reviewed.Restrict the Airtable API key to the bases and write scopes Claude is allowed to use before enabling record or schema changes.SQL and admin tools can inspect or affect real analytics environments depending on credentials. Start with read-oriented docs and metadata tools before enabling execution paths.
Privacy notesKeys, values, connection URLs, database metadata, and application data stored in Redis may be exposed through tool calls.Queried schemas, table names, rows, connection details, and application data may be exposed through tool calls.Airtable records, field values, attachments, and base metadata may be sent through the MCP client and model context.dbt metadata, SQL, lineage, model names, run artifacts, and platform account details can expose private analytics structure.
Prerequisites
  • Redis server running and accessible (local or remote)
  • Python 3.8+ and uvx package runner (for executing redis-mcp-server)
  • Redis connection URL (format: redis://[username]:[password]@host:port/db)
  • Network access to Redis server (default port 6379, or custom port)
  • PostgreSQL database (local or remote PostgreSQL server)
  • PostgreSQL connection string (PostgreSQL connection URI with user, password, host, port, and database format)
  • Node.js and npx (for running @modelcontextprotocol/server-postgres package)
  • Network access (if connecting to remote PostgreSQL server)
  • Node.js 18+ installed for running npx commands and MCP server packages
  • Airtable Personal Access Token (PAT) from https://airtable.com/account
  • Required API scopes: data.records:read (minimum), data.records:write (for updates), schema.bases:read (for schema operations)
  • Base ID for the Airtable base you want to access (starts with 'app' prefix)
  • dbt project, dbt Core/Fusion environment, or dbt Platform account.
  • MCP client and credentials appropriate to the dbt features enabled.
Install
uvx --from git+https://github.com/redis/mcp-redis.git redis-mcp-server --url redis://localhost:6379/0 && claude mcp list
claude mcp list && claude mcp status postgres
claude mcp add airtable --env AIRTABLE_API_KEY=YOUR_KEY -- npx -y airtable-mcp-server && claude mcp list
Install from the dbt MCP repository or latest release assets according to the official README.
Config
{
  "mcpServers": {
    "redis": {
      "args": [
        "--from",
        "git+https://github.com/redis/mcp-redis.git",
        "redis-mcp-server",
        "--url",
        "redis://localhost:6379/0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Manual-only setup:
{
  "postgres": {
    "args": [
      "-y",
      "@modelcontextprotocol/server-postgres",
      "postgresql://localhost/mydb"
    ],
    "command": "npx"
  }
}
{
  "mcpServers": {
    "airtable": {
      "env": {
        "AIRTABLE_API_KEY": "${AIRTABLE_API_KEY}"
      },
      "args": [
        "-y",
        "airtable-mcp-server"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
{
  "mcpServers": {
    "dbt": {
      "command": "uvx",
      "args": ["dbt-mcp"]
    }
  }
}
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed
Open 4 picks in the interactive comparison tool

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.