1. Price
Free tier: Up to 30 MB. As reported on the official pricing page, checked Oct 9, 2026.
redis.io/pricing/2. Commercial use
“If you are building a solution that leverages Redis, but does not specifically compete with Redis itself, there is no impact.”
Using Redis (Cloud or self-hosted) as your app's data store is fine; offering Redis itself as a competing hosted service is restricted under RSALv2 and SSPLv1.
redis.io/legal/licenses/3. Key & sign-up
Username and password of a database user (Redis Cloud gives a "default" user), usually inside the connection URL redis[s]://user:password@host:port. The separate Redis Cloud management API uses its own keys and is off by default.
redis.io/docs/latest/operate/rc/rc-quickstart/4. Agent access
“Redis MCP is a general-purpose implementation that lets agents read, write, and query data in Redis and also has some basic commands to manage the Redis server.”
The docs use @latest; pin a version in real setups. Our agent check: 3 of 6 (Nov 13, 2026).
redis.io/docs/latest/integrate/redis-mcp/Checked against the maker's official pages, pricing on Oct 9, 2026. Tap a verdict to see its source.How we checkedReport an error
What Redis does
Redis is a database that keeps data in memory, so reads and writes take a fraction of a millisecond. Apps use it to remember things for a short time, such as cached pages, login sessions, counters, leaderboards and job queues. You can use Redis Cloud, run by the Redis company with a free 30 MB database, or run the open-source server yourself.
- Redis is one of 29 APIs in the Databases and backends category on AgentGid.
- Its cheapest paid plan ($5 a month) is the 1st cheapest of the 18 here with a monthly plan.
- It is one of 26 that can be started for free.
- 8 of them ship an official MCP server; Redis does not.
- Its official SDK is the 3rd most downloaded in the category (22.3M a week).
What people build with it
Cache slow pages and lookups
Keep the result of a slow database query or outside service in memory, so the next visitor gets it instantly.
Login sessions
Store each signed-in user's session data, so any of your servers can check who is logged in.
Game and contest leaderboards
Keep players sorted by score as points change, and show the top ten or a player's rank at any moment.
Limit requests per user
Count how many requests each user or address made in the last minute and slow down anyone who sends too many.
Background job queues
Put slow work such as sending emails or resizing images in a queue, and let a worker process it outside the web request.
Memory and search for AI features
Store text embeddings and find the most similar ones, for example to reuse an earlier answer to a similar question.
Redis popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
Up to 30 MB
$5 a month
$0.007 per hour (Essentials), $0.014 per hour (Pro)
Added automatically: its SDK was in 73 of the public agent repos we sampled when it was added; integrations in LangChain, LlamaIndex. Prices read from the official pricing page. Redis 8 and later is tri-licensed: RSALv2, SSPLv1 or AGPLv3 at your choice (LICENSE.txt); Redis 7.2 and earlier are BSD-3.
What one action costs
| Action | Price |
|---|---|
| 1 hour of a Redis Cloud Essentials database (smallest size, about $5 a month) | $0.007 |
| 1 hour of a Redis Cloud Pro deployment (minimum $200 a month) | $0.014 |
Price history
- A year of the pricing page in the Internet Archive (12 months): the lowest monthly figure went from $5 (2025-10) to $5 (2026-10).
As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy. redis.io/pricing
Limits
30 MB, one database, shared deployment
250 MB to 100 GB, one database, shared deployment
Unlimited memory and multiple databases on a dedicated deployment
From the official docs. redis.io/pricing
Key and access
Username and password of a database user (Redis Cloud gives a "default" user), usually inside the connection URL redis[s]://user:password@host:port. The separate Redis Cloud management API uses its own keys and is off by default.
none read by node-redis (pass url to createClient); the Redis MCP server reads REDIS_HOST, REDIS_PORT and REDIS_USERNAMENot stated on the pages we read
Steps only a person can do
- Sign up for Redis Cloud, create the free database and pick the cloud provider and region. Read the public endpoint and the default user's password, and store them as REDIS_URL=rediss://default:<password>@<endpoint> in .env.
- When the data grows past 30 MB or needs an uptime guarantee, choose a paid Essentials or Pro plan and add payment. No code change if the endpoint stays the same; otherwise update REDIS_URL.
Commercial use and your data
Redis Cloud is a paid online service with a free tier. From version 8 the Redis server lets you pick one of three licenses, one of them open source. Using it inside your own app is fine, but selling Redis itself as a hosted service is restricted. The official client libraries are MIT.
Using Redis (Cloud or self-hosted) as your app's data store is fine; offering Redis itself as a competing hosted service is restricted under RSALv2 and SSPLv1.
“If you are building a solution that leverages Redis, but does not specifically compete with Redis itself, there is no impact.” source
The official clients (node-redis, redis-py) are MIT; keep the license notice.
“MIT License Copyright (c) 2022-2023, Redis, inc.” source
Redis 8+ server code may be shared under the AGPLv3 option, which requires releasing your changes' source.
“AGPLv3 is a copyleft license.” source
AWS, Google Cloud or Azure regions you choose; Essentials is offered in fewer regions than Pro.
“Your choice of cloud provider and region may affect latency between your application and your database, and may affect what connectivity options are available for your database.” source
Errors to handle
The client cannot reach Redis, the connection dropped, or a command timed out.
Retry with backoff, or fall back to the main database for cache reads.
A command was used on a key that holds a different kind of value.
Fix the code or the key naming; do not retry.
The database reached its memory limit and refuses writes.
Set expiries, choose an eviction policy, or move to a larger plan.
Redis is starting up and loading data, or is temporarily busy.
Retry with backoff, a limited number of times.
Use it from an agent
3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
Redis MCP server (redis-mcp-server)
uvx --from redis-mcp-server@latest redis-mcp-server --url redis://localhost:6379/0
npm install redisAlternatives
Redis This page
Pick Upstash Redis when you want a managed Redis with global replication and vector search, reachable from serverless and edge code.
Pick MongoDB Atlas when you need a managed database for your main app data rather than a fast in-memory store.
Pick DuckDB when you need analytics over CSV or Parquet files on one machine, with no server at all.
Get started
Tell your AI assistant
“Add Redis to my Node.js server as a cache: pin redis@6.3.1, read REDIS_URL (rediss://...) from .env, attach an error listener, set an expiry on every cached key, fall back to the database when Redis is unreachable, and close the client with close() on shutdown.”
Create a free Redis Cloud database (choose the cloud and region), then copy its endpoint and the password of the "default" user from the Security section; or run Redis Open Source locally.
Install the official Node.js client.
npm install redisConnect with a connection URL and store a value (official example).
import { createClient } from 'redis'; const client = createClient({ url: 'redis://alice:foobared@awesome.redis.server:6380' }); client.on('error', err => console.log('Redis Client Error', err)); await client.connect(); await client.set('key', 'value'); const value = await client.get('key');
First request
Redis is reached through a client library over its own protocol, not over HTTP; this is the official node-redis example (localhost, port 6379).
import { createClient } from 'redis';
const client = createClient();
client.on('error', err => console.log('Redis Client Error', err));
await client.connect();
await client.hSet('user-session:123', {
name: 'John',
surname: 'Smith',
company: 'Redis',
age: 29
})
let userSession = await client.hGetAll('user-session:123');
console.log(JSON.stringify(userSession, null, 2));{
"surname": "Smith",
"name": "John",
"company": "Redis",
"age": "29"
}Mistakes to avoid
Without a handler, a dropped connection becomes an unhandled error that can stop the process.
In node-redis v5 and later quit() is replaced and disconnect() was renamed.
Redis returns stored values as strings; the docs example stores age 29 and reads back "29".
The Redis docs recommend graceful degradation for connection errors.
The database password lets anyone read and change all data.
Questions
Is there a free plan?
Yes. Redis Cloud has a free database of up to 30 MB on a shared deployment, and Redis Open Source is free to run yourself.
Which clouds and regions can host my Redis Cloud database?
Amazon Web Services, Google Cloud or Microsoft Azure, in a region you pick when you create the database.
Which Node.js client should I use?
The Redis docs recommend node-redis (the "redis" package); the older ioredis is still documented.
Is Redis open source again?
Yes, from Redis 8 you may choose AGPLv3, an approved open-source license, or RSALv2 or SSPLv1.