经 AI Skill Hub 精选评估,记忆网络MCP服务器 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.2 分,适合有一定技术背景的用户使用。
基于Go语言开发的MCP服务器,将智能体的知识存储为节点连接的图结构。支持知识图谱构建和动态更新,适合需要长期记忆和知识管理的AI Agent应用开发者。
记忆网络MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
基于Go语言开发的MCP服务器,将智能体的知识存储为节点连接的图结构。支持知识图谱构建和动态更新,适合需要长期记忆和知识管理的AI Agent应用开发者。
记忆网络MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/corbym/memoryweb
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"----mcp---": {
"command": "npx",
"args": ["-y", "memoryweb"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 记忆网络MCP服务器 执行以下任务... Claude: [自动调用 记忆网络MCP服务器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"____mcp___": {
"command": "npx",
"args": ["-y", "memoryweb"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Homebrew (macOS and Linux — recommended):
brew tap corbym/memoryweb
brew install memoryweb
Pre-built binaries are also available on the releases page for each platform. Step-by-step setup guides covering installation, Ollama, and MCP client configuration:
Once installed, see the User guide for how to orient the agent, what phrases to use, and how to get the most out of memoryweb in Claude Code, GitHub Copilot, and Claude Desktop.
Run setup once after building:
./memoryweb setup --hooks-dir /path/to/hooks
Or install manually:
chmod +x hooks/memoryweb_save_hook.sh hooks/memoryweb_precompact_hook.sh
Add to ~/.claude/settings.local.json:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "/path/to/hooks/memoryweb_save_hook.sh",
"env": {
"MEMORYWEB_DB": "/path/to/your.db"
}
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "/path/to/hooks/memoryweb_precompact_hook.sh",
"env": {
"MEMORYWEB_DB": "/path/to/your.db"
}
}
]
}
]
}
}
Restart Claude Code to activate.
go build -o memoryweb .
Requires Go 1.22+. Uses github.com/mattn/go-sqlite3 and sqlite-vec for semantic search — CGO must be available. To deploy safely when the binary is already running:
go build -o memoryweb.tmp . && mv memoryweb.tmp memoryweb
Add to your MCP host's config (example for Claude Desktop on macOS — ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"memoryweb": {
"command": "/path/to/memoryweb",
"env": {
"MEMORYWEB_DB": "/Users/yourname/.memoryweb.db"
}
}
}
}
memoryweb setup writes this file automatically when the Claude application directory is detected.
Note: ChatGPT Desktop does not support stdio-based MCP servers and is not compatible with memoryweb.
| Variable | Default | Purpose |
|---|---|---|
MEMORYWEB_SAVE_INTERVAL | 15 | Human messages between filing prompts. |
MEMORYWEB_DB | ~/.memoryweb.db | Path to the SQLite database. |
MEMORYWEB_BIN | memoryweb | Path to the memoryweb binary (used by the hook to run dream). |
GitHub Copilot in VS Code supports the same Stop and PreCompact hook events in the same JSON format. VS Code loads hooks from .github/hooks/*.json in your workspace, as well as from ~/.claude/settings.json and .claude/settings.local.json.
Make the scripts executable first:
chmod +x hooks/memoryweb_save_hook.sh hooks/memoryweb_precompact_hook.sh
Create .github/hooks/memoryweb.json in your repository:
{
"hooks": {
"Stop": [
{
"type": "command",
"command": "/path/to/hooks/memoryweb_save_hook.sh",
"env": {
"MEMORYWEB_DB": "/path/to/your.db"
}
}
],
"PreCompact": [
{
"type": "command",
"command": "/path/to/hooks/memoryweb_precompact_hook.sh",
"env": {
"MEMORYWEB_DB": "/path/to/your.db"
}
}
]
}
}
VS Code loads the hooks automatically — no restart needed. If you have already installed the Claude Code hooks via ~/.claude/settings.local.json, VS Code Copilot picks them up from there without any additional configuration.
创新的知识图谱存储方案,解决Agent长期记忆问题。Go实现保证性能,MCP标准接口确保兼容性。但项目成熟度需观察。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:记忆网络MCP服务器 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | memoryweb |
| 原始描述 | 开源MCP工具:A memory web MCP server for Agents. Stores knowledge as a graph of nodes connect。⭐8 · Go |
| Topics | 知识图谱记忆系统MCP服务Go语言Agent工具 |
| GitHub | https://github.com/corbym/memoryweb |
| License | MIT |
| 语言 | Go |
收录时间:2026-05-22 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端