
dreamgraph
by mmethodz·★ 82·综合分 46
DreamGraph 是一个以图为中心的认知层,构建持久性知识图谱来推理代码架构。
概述
DreamGraph 是一个全面的 MCP 服务器,结合了守护进程、CLI、VS Code 扩展和仪表板与持久性知识图谱。它维护特性、工作流、数据模型和架构决策之间的结构化关系,使系统能够从累积的项目理解中回答问题,而不仅仅依赖单文件读取。它支持多仓库系统、数据库内省和通过其 SDK 进行插件开发。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果你需要在多个仓库之间维护架构记忆,并希望通过持久化知识图谱来推理代码变更和系统架构,选择 DreamGraph。
什么时候不要选它
避免使用 DreamGraph 如果你需要与现有工具的轻量级集成、资源有限无法运行额外的服务,或者偏好没有持久图存储的更简单解决方案。
此 server 暴露的工具
从 README 抽取出 12 个工具scanPerform a full scan of the repository to build the knowledge graph
enrichEnrich the existing knowledge graph with additional information
curateCurate the knowledge graph to improve quality and accuracy
queryQuery the knowledge graph for specific information
bootstrapBootstrap the knowledge graph with initial data and structure
scan_databaseScan and analyze the database schema to enrich the knowledge graph
statusCheck the status of the DreamGraph instance and knowledge graph
attachAttach a repository or workspace to a DreamGraph instance
startStart the DreamGraph daemon with specified transport
dreamExecute a dream cycle to reason about and process the knowledge graph
exportExport the knowledge graph or parts of it for external use
forkCreate a fork of the current DreamGraph instance
说明:Tool names inferred from CLI commands and documentation. The README references an MCP tool surface but doesn't provide explicit tool documentation in this excerpt. Tools are primarily derived from CLI commands described in the Quick Start a
可对比工具
安装
从源码安装
**Windows (PowerShell):**
git clone https://github.com/mmethodz/dreamgraph.git
cd dreamgraph
./scripts/install.ps1 -Force**Linux / macOS (Bash):**
git clone https://github.com/mmethodz/dreamgraph.git
cd dreamgraph
bash scripts/install.sh --force对于 Claude Desktop 集成,添加到你的 claude_desktop_config.json 中:
{
"mcpServers": {
"dreamgraph": {
"command": "dg",
"args": ["mcp"]
}
}
}FAQ
- DreamGraph 支持哪些编程语言?
- DreamGraph 使用 TypeScript 构建,并提供可以分析任何代码语言的 MCP 工具。它可以处理包含不同编程语言和技术的跨仓库项目。
- DreamGraph 如何保持知识持久性?
- DreamGraph 构建并维护一个持久性知识图谱,记录特性、工作流、数据模型、架构决策和其他项目元素之间的关系。这个图谱能够存活于单个会话之外,提供长期记忆。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by mmethodz · 2026-04-01
- 帖子 by mmethodz · 2026-03-31
- 帖子 by mmethodz · 2026-04-04
dreamgraph 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。