Memory Graph

MCP数据服务

提供方 未标注

数据服务 stdio · 本地进程 未标注 社区 / 第三方

全面解析Memory GraphMCP Server的核心功能、安装配置和实用案例。作为顶级Model Context Protocol服务器,Memory Graph能让AI助手访问实时数据、执行操作,为您提供更智能的工作体验和自动化解决方案。

一句话选型结论

按资料字段整理

Memory Graph 属于数据服务类 MCP 服务器,stdio · 本地进程,鉴权方式未标注,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类数据服务 传输方式stdio · 本地进程 鉴权未标注 部署方式本地部署
GitHub 星标 未标注 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

数据服务
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

安装与配置

stdio · 本地进程 未标注
客户端在本机拉起子进程,数据不出本机
  1. 1
    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js 等运行时,再按安装命令拉取依赖。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
数据库查询

用自然语言查库、取数,不用手写 SQL。

数据同步与清洗

把多来源数据拉到一处做整理。

报表取数

按口径快速拉出统计结果。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 基础信息齐全,可以先按官方文档接入试跑。

先想清楚的地方

  • stdio 方式要求本地装好运行时(如 Node.js),换机器要重新装一遍。
  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在数据服务场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Memory Graph当前 未标注 stdio · 本地进程 本地部署 无 2026-05-17
Memory 9d25f64e 9 未标注 未标注 无 2026-05-17
Getzep MCP 9 stdio · 本地进程 本地部署 有 2026-05-17
anything-llm 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Prisma MCP Server 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Astr Bot 未标注 stdio · 本地进程 本地部署 有 2026-05-17

服务器档案

数据服务
字段来自项目仓库与公开索引,中文说明由本站标注
提供方未标注上游标注的维护方 未标注
分类数据服务本站按上游分类展示
连接方式stdio · 本地进程客户端在本机拉起子进程,数据不出本机
鉴权方式未标注远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型本地部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

6.2 KB
来自项目仓库与上游目录的原文,未做删改

MCP Memory with Redis Graph

This project implements a memory system for LLM conversations using Redis Graph for long-term memory storage.

Setup

Prerequisites

  • Docker and Docker Compose
  • Node.js (v16 or higher)

Running Redis with RedisGraph

  1. Start the Redis container with RedisGraph module:```bash
    docker-compose up -d

2. Verify that Redis is running with the RedisGraph module:```bash
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.

### Connecting to Redis from the application

The application connects to Redis using the configuration in `src/index.ts`. By default, it connects to:

- Host: localhost
- Port: 6379

If you need to change these settings, update the Redis client configuration in `src/index.ts`.

## Usage

1. Install dependencies:```bash
npm install
  1. Start the application:```bash
    npm start

## Memory Tools

The application provides several tools for managing memories:

- `create_memory`: Create a new memory
- `retrieve_memory`: Retrieve a memory by ID
- `search_memories`: Search for memories by type or keyword
- `update_memory`: Update an existing memory
- `delete_memory`: Delete a memory
- `create_relation`: Create a relationship between memories
- `get_related_memories`: Get memories related to a specific memory

## Example Usage```typescript
// 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' },
);

Overview

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.

Features

  • Store different types of memories (conversations, projects, tasks, issues, configs, finance, todos)
  • Create relationships between memories
  • Search and retrieve memories based on various criteria
  • Update and delete memories

Memory Types

The system supports various memory types to handle different scenarios:

  • Conversation: General conversation memories
  • Topic: Specific topics discussed
  • Project: Project details (e.g., fiat vendor disable script)
  • Task: Specific tasks to be done
  • Issue: Bugs or incidents
  • Config: Configuration details (e.g., product settings on fees)
  • Finance: Financial advice or information
  • Todo: Todo items

Usage Examples

1. Project Details

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"
)


### 2. Issue Handling

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"
)

3. Personal Finance Advice

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"
}
)


### 4. Work-related Todo Items

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"
)

Relationships Between Memories

You can create relationships between memories to build a knowledge graph:```
create_relation(
fromId: "issue-123",
toId: "project-456",
type: "PART_OF"
)


## Searching Memories

Search for memories based on various criteria:```
search_memories(
  type: "Project",
  keyword: "payment",
  limit: 10
)

Architecture

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.

License

ISC

Working with Redis Graph

Using the Redis CLI Helper

We provide a helper script that connects to Redis and shows common RedisGraph commands:```bash
npm run redis:cli


This will open a Redis CLI session with a list of useful commands for working with the memory graph.

### Checking the Graph

To check the current state of the memory graph, run:```bash
npm run check:graph

This will show all nodes, Finance memories, and relationships in the graph.

Inspecting the Graph

For a more detailed inspection of the graph schema and contents:```bash
npm run inspect:graph


### Common RedisGraph Commands

Here are some useful commands to run in redis-cli:

1. List all graphs:```
   GRAPH.LIST
   ```

2. Count all nodes:```
   GRAPH.QUERY memory "MATCH (n) RETURN count(n)"
   ```

3. View Finance memories:```
   GRAPH.QUERY memory "MATCH (n:Finance) RETURN n.id, n.title, n.content"
   ```

4. Search for specific content:```
   GRAPH.QUERY memory "MATCH (n) WHERE n.content CONTAINS 'debit card' RETURN n.id, n.type, n.content"
   ```

5. View relationships:```
   GRAPH.QUERY memory "MATCH (a)-[r]->(b) RETURN a.id, type(r), b.id"
   ```

## Running in Docker

To run the MCP Memory server in Docker:```bash
# 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

Testing

We provide several test scripts:```bash

Test Redis connection

npm run test:redis

Test memory operations

npm run test:memory

Test memory service

npm run test:service
```

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
Memory Graph 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Memory Graph 怎么在客户端里配置?

它的传输方式未标注,在客户端 MCP 配置里按官方文档填写启动命令和参数,保存后重启客户端生效。

Memory Graph 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Memory Graph 需要 API Key 吗?

资料没有标注鉴权方式,是否需要密钥取决于服务本身,接入前按官方文档确认。

Memory Graph 能提供哪些能力?

资料显示能力标签包括 对话管理、知识图谱、STDIO。具体工具清单以官方文档为准。

Memory Graph 需要什么运行环境?

属于本地进程,需要在本机装好运行环境。

Memory Graph 是本地还是远程?

它是本地进程(stdio),由客户端在本机拉起。传输方式为stdio · 本地进程。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。