mcp-redis GEMINI.md

mcp-redis GEMINI.md is an instructions file for Gemini CLI from redis/mcp-redis. It costs 1,534 tokens per session, scanned A, original, MIT.

Instructions for using an MCP extension that lets an AI agent work with Redis, a fast database commonly used for caching, sessions, messages, and structured data.

In plain words
What is it for?
It is for working with Redis strings, hashes, lists, sets, sorted sets, streams, JSON documents, publish-and-subscribe channels, and vector search.
Why use it?
It gives the agent a natural-language way to store, retrieve, search, and manage Redis data without manually writing each database command.

Instructions file for Gemini CLI

About the project

Redis MCP Server is a service that lets AI agents manage, query, and search structured or unstructured data stored in Redis through natural-language requests using the Model Context Protocol. It is for agentic applications that need to store conversations or sessions, cache data, and index or search vectors and Redis collections. The catalogue instruction supports using this server with coding-agent and other MCP-client workflows.

redis/mcp-redis · 615 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/redis/mcp-redis/gemini-md
Clone the repo
git clone --depth 1 https://github.com/redis/mcp-redis

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-redis GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/redis/mcp-redis/gemini-md.svg)](https://agentmods.dev/instructions/redis/mcp-redis/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/redis/mcp-redis/gemini-md"><img src="https://agentmods.dev/badge/instructions/redis/mcp-redis/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,534 This file is loaded in full into every session.
When invoked 1,534 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01534 $0.01534
Opus 5 $0.00767 $0.00767
Sonnet 5 $0.00307 $0.00307
Haiku 4.5 $0.00153 $0.00153

Measured 5d ago against content hash ca016d06cb58, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-redis GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

GEMINI.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redis MCP Server Extension

This extension provides a natural language interface for managing and searching data in Redis through the Model Context Protocol (MCP).

What this extension provides

The Redis MCP Server enables AI agents to efficiently interact with Redis databases using natural language commands. You can:

  • Store and retrieve data: Cache items, store session data, manage configuration values
  • Work with data structures: Manage hashes, lists, sets, sorted sets, and streams
  • Search and filter: Perform efficient data retrieval and searching operations
  • Pub/Sub messaging: Publish and subscribe to real-time message channels
  • JSON operations: Store, retrieve, and manipulate JSON documents
  • Vector search: Manage vector indexes and perform similarity searches

Available Tools

String Operations

  • Set, get, and manage string values with optional expiration
  • Useful for caching, session data, and simple configuration

Hash Operations

  • Store field-value pairs within a single key
  • Support for vector embeddings storage
  • Ideal for user profiles, product information, and structured objects

List Operations

  • Append, pop, and manage list items
  • Perfect for queues, message brokers, and activity logs

Set Operations

  • Add, remove, and list unique set members
  • Perform set operations like intersection and union
  • Great for tracking unique values and tags

Sorted Set Operations

  • Manage score-based ordered data
  • Ideal for leaderboards, priority queues, and time-based analytics

Pub/Sub Operations

  • Publish messages to channels and subscribe to receive them
  • Real-time notifications and chat applications

Stream Operations

  • Add, read, and delete from data streams
  • Event sourcing, activity feeds, and sensor data logging

JSON Operations

  • Store, retrieve, and manipulate JSON documents
  • Complex nested data structures with path-based access

Vector Search

  • Manage vector indexes and perform similarity searches
  • AI/ML applications and semantic search

Read the full file on GitHub · 185 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 185 lines · 1,534 tokens per session scan A ca016d06cb58

Subscribe to this mod's changes

mcp-redis GEMINI.md is an instructions file published in the GitHub repository redis/mcp-redis (615 stars, last pushed 2d ago), licensed MIT. It adds 1,534 tokens to every session, about $0.0077 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.