
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server that provides tools for storing and retrieving memories from LLM conversations, using Redis Graph as a backend to build a knowledge graph of memories.
MCP Memory with Redis Graph is cataloged as an MCP server attributed to samwang0723. An MCP server that provides tools for storing and retrieving memories from LLM conversations, using Redis Graph as a backend to build a knowledge graph of memories. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Memory with Redis Graph are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses Redis Graph, storing each memory as a node and relationships between memories as graph edges.
Yes, the search_memories tool searches memories by type or keyword and supports a limit.
README.md · 1cae9b3532a1 · 采集于 2026-11-13 10:24:20 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
This project implements a memory system for LLM conversations using Redis Graph for long-term memory storage.
docker-compose up -d
docker exec -it mcp-memory-redis-1 redis-cli
Once in the Redis CLI, you can check if the RedisGraph module is loaded:
127.0.0.1:6379> MODULE LIST
You should see RedisGraph in the list of loaded modules.
The application connects to Redis using the configuration in src/index.ts. By default, it connects to:
If you need to change these settings, update the Redis client configuration in src/index.ts.
npm install
npm start
The application provides several tools for managing memories:
create_memory: Create a new memoryretrieve_memory: Retrieve a memory by IDsearch_memories: Search for memories by type or keywordupdate_memory: Update an existing memorydelete_memory: Delete a memorycreate_relation: Create a relationship between memoriesget_related_memories: Get memories related to a specific memory// Create a memory
const memory = await memoryService.createMemory({
type: MemoryNodeType.CONVERSATION,
content: 'This is a conversation about Redis Graph',
title: 'Redis Graph Discussion',
});
// Search for memories
const memories = await memoryService.searchMemories(
{ keyword: 'Redis' },
{ limit: 10, orderBy: 'created', direction: 'DESC' },
);
MCP Memory is a server that provides tools for storing and retrieving memories from conversations with LLMs. It uses Redis Graph as a backend to create a knowledge graph of memories, allowing for complex relationships between different pieces of information.
The system supports various memory types to handle different scenarios:
Store information about projects, configurations, and systems:
create_memory(
type: "Project",
name: "Fiat Vendor Disable Script",
description: "Script to disable fiat vendors in the system",
content: "The script is located at /scripts/disable-vendor.js and takes vendor ID as parameter"
)
Record bugs and incidents:
create_memory(
type: "Issue",
title: "Payment Processing Timeout",
severity: "high",
status: "open",
content: "Payments are timing out when processing large transactions over $10,000"
)
Store financial advice:
create_memory(
type: "Finance",
category: "Investment",
content: "Recommendation to allocate 60% to index funds, 30% to bonds, and 10% to speculative investments",
metadata: {
riskProfile: "moderate",
timeHorizon: "long-term"
}
)
Save tasks to be done:
create_memory(
type: "Todo",
title: "Update payment network documentation",
priority: "medium",
completed: false,
content: "Update the documentation to include the new payment networks: Visa Direct and MasterCard Send"
)
You can create relationships between memories to build a knowledge graph:
create_relation(
fromId: "issue-123",
toId: "project-456",
type: "PART_OF"
)
Search for memories based on various criteria:
search_memories(
type: "Project",
keyword: "payment",
limit: 10
)
The system uses Redis Graph to store memories as nodes in a graph database. Each memory is a node with properties, and relationships between memories are edges in the graph.
The MCP server provides tools for interacting with the memory graph, allowing LLMs to store and retrieve information as needed.
ISC
We provide a helper script that connects to Redis and shows common RedisGraph commands:
npm run redis:cli
This will open a Redis CLI session with a list of useful commands for working with the memory graph.
To check the current state of the memory graph, run:
npm run check:graph
This will show all nodes, Finance memories, and relationships in the graph.
For a more detailed inspection of the graph schema and contents:
npm run inspect:graph
Here are some useful commands to run in redis-cli:
List all graphs:
GRAPH.LIST
Count all nodes:
GRAPH.QUERY memory "MATCH (n) RETURN count(n)"
View Finance memories:
GRAPH.QUERY memory "MATCH (n:Finance) RETURN n.id, n.title, n.content"
Search for specific content:
GRAPH.QUERY memory "MATCH (n) WHERE n.content CONTAINS 'debit card' RETURN n.id, n.type, n.content"
View relationships:
GRAPH.QUERY memory "MATCH (a)-[r]->(b) RETURN a.id, type(r), b.id"
To run the MCP Memory server in Docker:
# Build the Docker image
docker build -t mcp/memory .
# Run the container on the same network as Redis
docker run --rm -i --network=mcp-memory_default -e REDIS_URL=redis://redis:6379 mcp/memory
We provide several test scripts:
# Test Redis connection
npm run test:redis
# Test memory operations
npm run test:memory
# Test memory service
npm run test:service
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Memory with Redis Graph from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-memory)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.