Upstash Redis

Upstash Redis MCP Connector for Claude

A+

Equip your AI to directly query, manage, and manipulate key-value data structures inside your serverless Upstash Redis databases.

7 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Upstash Redis serverless database securely to your conversational AI agent via their REST API. Activating this integration grants your AI the technical autonomy to function as a responsive database administrator, enabling it to scan live keys, read raw datastore strings, set temporal expiration values, and even debug in real-time straight from your chat or IDE terminal.

What you can do

  • Read & Write Values — Fetch the exact string configuration of a stored key (get), or instruct the AI to inject a new value (set) complete with Time-To-Live (TTL) expiration limits.
  • Data Structure Discovery — Perform pattern-based scans across your database to track down dynamically generated keys and inspect their underlying structures or lifespans (list_keys, get_key_info).
  • Manage Counters — Safely increment or decrement numerical keys dynamically, perfect for managing rate limits, operational counters, or user session metrics directly during troubleshooting flows.
  • Maintain Health — Ping the cluster instance for responsive status checks and remove (delete) specific keys or cache fragments completely.

How it works

  1. Authorize the Upstash Redis MCP component in your active module extensions.
  2. Obtain both the REST URL and REST Token connected to your intended database from your Upstash console and submit them in the configuration fields.
  3. Chat natively with your AI to prompt a scan of cache items like 'session:*' or adjust active TTLs on a throttling profile.

Who is this for?

  • Backend Developers — Verify cache hits, clear outdated session states intuitively, or seed temporary mock parameters rapidly without launching specialized desktop database clients like RedisInsight.
  • DevOps Engineers — Inspect the rate-limiting structures or increment manual counter matrices safely during live-site debugging incidents.
  • System Architects — Audit temporal key lifespans testing new eviction behaviors immediately as they write operational code logic.
key-value-storecachingserverless-databasedata-persistencedatabase-administrationlatency-optimization

7 tools expose this connector's capabilities to your AI agent.

delete

Provide a comma-separated list of keys. Deletes one or more keys from Redis

get

Retrieves the string value stored at a key

increment

Use negative numbers to decrement. Increments or decrements a numeric counter at a key

get_key_info

Retrieves the data type and TTL of a key

list_keys

Avoid broad patterns like "*" on large databases. Scans for keys matching a glob pattern

ping

Pings the Redis instance to verify connectivity

set

You can specify expiry in seconds. Sets a string value at a key with an optional TTL

See how to talk to your AI agent using Upstash Redis.

List all active Redis keys associated with app sessions.

I invoked the `list_keys` query with the pattern 'session:*'. Found 3 active keys residing in your environment.

Check the Time-To-Live duration limit configured for the 'cache:product_header' key.

I checked the key info via `get_key_info`. The 'cache:product_header' value is a standard String and currently holds a remaining Time-to-Live format of exactly 3600 seconds.

Delete all caching strings tagged as 'user_193_avatar' from the database immediately.

Using the `delete` tool, I have entirely removed the 'user_193_avatar' cache key structure from the Upstash datastore instance. Future calls seeking this key limit will return null entries until regenerated.

Sign into your Upstash management console and load your specific Redis cluster. Scroll down visually on the main 'Details' page until you hit the 'REST API' section block. You will see both your 'UPSTASH_REDIS_REST_URL' and the alphanumeric 'UPSTASH_REDIS_REST_TOKEN' ready to be copied.

Related Connectors