ID

iikarus/dragon-brain

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

51 stars 8 forks 质量 84 趋势 4MIT

iikarus/dragon-brain 是一个从 https://github.com/iikarus/dragon-brain. 导入的 MCP 服务器候选人

概览

iikarus/dragon-brain 是一个从 https://github.com/iikarus/dragon-brain. 导入的 MCP 服务器候选人

概述(AI 翻译)

英文 |中文 |日本語 |西班牙语 |Русский |한국어 |葡萄牙人 |德意志人 |法国人

AI代理的内存基础设施——设计上会大声失败。

-蓝色)

100% LongMemEval R@5 ·34个MCP工具 ·小于200毫秒的混合搜索 ·CI门控失败-响亮合同 ·无需LLM要求

一台开源MCP服务器,利用知识图谱+向量搜索混合技术为任何LLM提供长期记忆。存储实体、观察和关系——然后跨会话语义回忆。支持任何MCP客户端:Claude Code、Claude Desktop、Cursor、Windsurf、Cline、Gemini CLI、VS Code Copilot,或任何支持 Model Context 协议的LLM。

与平板聊天历史或简单的RAG不同,龙脑理解记忆之间的关系——而不仅仅是相似性。一个自主智能体(“图书管理员”)定期将记忆聚类并综合成更高阶的概念。

而且它会告诉你什么时候它记不起来——而不是假装记忆从未存在过。(为什么这很重要→)

快速启动

前置条件: Docker 和 Docker Compose。 详细设置: 详见文档/设置。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Dragon Brain

English | 中文 | 日本語 | Español | Русский | 한국어 | Português | Deutsch | Français

Memory infrastructure for AI agents — that fails loud, by design.

100% LongMemEval R@5 · 34 MCP tools · sub-200ms hybrid search · CI-gated fail-loud contracts · No LLM required

An open-source MCP server that gives any LLM long-term memory using a knowledge graph + vector search hybrid. Store entities, observations, and relationships — then recall them semantically across sessions. Works with any MCP client: Claude Code, Claude Desktop, Cursor, Windsurf, Cline, Gemini CLI, VS Code Copilot, or any LLM that speaks Model Context Protocol.

Unlike flat chat history or simple RAG, Dragon Brain understands relationships between memories — not just similarity. An autonomous agent (“The Librarian”) periodically clusters and synthesizes memories into higher-order concepts.

And it tells you when it can’t remember — instead of pretending the memory was never there. (why this matters →)

Quick Start

Prerequisites: Docker and Docker Compose. Detailed setup: See docs/SETUP.md for comprehensive instructions including prerequisites, platform-specific notes, and troubleshooting.

1. Start the Services

docker compose up -d

This spins up 4 containers:

  • FalkorDB (knowledge graph) — port 6379
  • Qdrant (vector search) — port 6333
  • Embedding API (BGE-M3, CPU default) — port 8001
  • Dashboard (Streamlit) — port 8501
在 GitHub 查看完整 README

安装

docker exec claude-memory-mcp-graphdb-1 redis-cli GRAPH.QUERY claude_memory \
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "dragon-brain": { "command": "python", "args": ["-m", "claude_memory.server"], "env": { "FALKORDB_HOST": "localhost", "FALKORDB_PORT": "6379", "QDRANT_HOST": "localhost", "QDRANT_PORT": "6333", "EMBEDDING_API_URL": "http://localhost:8001" } } } }