mcp-redis: Instructions file for Gemini CLI

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 ✓ vendor

Written for Gemini CLI: the file is GEMINI.md.

This is redis/mcp-redis's own configuration. It tells Gemini CLI how to work on mcp-redis itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-redis configures →

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 · 641 stars · on GitHub · redis.io

Reuse

Borrowing it

Nothing to install: this file belongs to redis/mcp-redis. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/redis/mcp-redis/main/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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-redis GEMINI.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01534 $0.01534
Opus 5.5 $0.00614 $0.00614
Sonnet 5.5 $0.00307 $0.00307
Haiku 4.5 $0.00153 $0.00153

Measured 2mo ago against content hash ca016d06cb58, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (641 stars, last pushed 3d ago), licensed MIT. It adds 1,534 tokens to every session, about $0.0061 per session on Opus 5.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.

Related

mcp-redis GEMINI.md compared with instructions from other repositories

mcp-redis GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-redis GEMINI.mdredis/mcp-redisInstructions file6413d agoMITA1,534Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode