Integration

Upstash Redis integration

Serverless Redis with REST API. Low-latency key-value storage perfect for caching, session management, rate limiting, and real-time features. Pay-per-request pricing with global replication.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Upstash Redis.Built from the 31 Upstash Redis tools below, on the connection you add once.

Common Upstash Redis use cases

  • Recent items
  • Categories
  • Tags
  • Unfollow
  • Cache TTL
  • List tags
  • Stack pop
  • Cache read
  • Page views
  • Cache write

What you can do with Upstash Redis

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Key, 8 operations

  • delDelPOSTDeletes one or more keys from Redis.
  • existsExistsGETChecks whether one or more keys exist.
  • expireExpirePOSTSets an expiration time on a key.
  • getdelGetdelGETGets the value of a key and deletes it atomically.
  • keysKeysGETReturns all keys matching a glob-style pattern.
  • mgetMgetGETGets values for multiple keys in a single request.
  • msetMsetPOSTSets multiple key-value pairs atomically.
  • ttlTtlGETGets remaining time to live for a key.

Hash, 7 operations

  • hdelHdelPOSTDeletes one or more fields from a Redis hash.
  • hgetHgetGETGets a field value from a Redis hash.
  • hgetallHgetallGETGets all fields and values from a hash.
  • hkeysHkeysGETReturns all field names in a Redis hash.
  • hlenHlenGETReturns the number of fields in a Redis hash.
  • hmgetHmgetGETGets multiple fields from a Redis hash in one request.
  • hsetHsetPOSTSets a field in a Redis hash.

List, 6 operations

  • llenLlenGETReturns the length of a list.
  • lpopLpopPOSTRemoves and returns the first element of a list.
  • lpushLpushPOSTPushes values to the head of a list.
  • lrangeLrangeGETGets a range of elements from a list.
  • rpopRpopPOSTRemoves and returns the last element of a list.
  • rpushRpushPOSTPushes values to the tail of a list.

Set, 6 operations

  • saddSaddPOSTAdds members to a Redis set.
  • scardScardGETReturns the number of members in a set.
  • setSetPOSTSets a key-value pair in Redis.
  • sismemberSismemberGETChecks if a value is a set member.
  • smembersSmembersGETGets all members of a set.
  • sremSremPOSTRemoves one or more members from a Redis set.

Counter, 2 operations

  • incrIncrPOSTIncrements an integer value by 1.
  • incrbyIncrbyPOSTIncrements an integer by a specific amount.

Get, 1 operation

  • getGetGETGets a value from Redis by key.

Pipeline, 1 operation

  • pipelinePipelinePOSTExecutes multiple Redis commands in one HTTP round-trip (non-atomic batch).

Use Upstash Redis from Claude Code, Cursor or Codex

Connect Upstash Redis in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Upstash Redis operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Upstash Redis

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Upstash Redis once

    Add your Upstash Redis connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Upstash Redis integration FAQ

What can you do with the Upstash Redis integration?

LiveContext exposes 31 operations on Upstash Redis, covering key, hash, list and set. Common uses include Recent items, Categories and Tags.

Popular integrations

Browse the whole catalog