
baryhuang/mcp-openmemory
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
baryhuang/mcp-openmemoryは[https://github.com/baryhuang/mcp-openmemory.からインポートされたMCPサーバー候補です
概要
baryhuang/mcp-openmemoryは[https://github.com/baryhuang/mcp-openmemory.からインポートされたMCPサーバー候補です
概要(AI 翻訳)
会話を記憶し、時間をかけて学習する能力を明らかにします。
[https://github.com/user-attachments/assets/aef82b8e-3793-4ebd-b993-ddaef14d52d1]
##特徴
- メモリーストレージ:会話メッセージを保存してリコールする
- 記憶抽象:会話全体で要約された記憶文を維持 -Recent History:設定可能な時間ウィンドウ内の最近の会話にアクセスする -ローカルデータベース: 外部の依存関係なしで永続的なストレージにSQLiteを使用する
必須️ 重要
Claude Desktopが閉じるときに会話履歴を失うことを避けるために、永続的な場所に[[MEMORY_DB_PATHを設定する必要があります。 設定されていない場合、アプリケーションが再起動したときに消去される可能性のある一時的な場所にあるデータベースのデフォルトは[[./memory.sqlite]です。
設定
前提条件
-Node.js:MCPサーバーを実行する必要があります。 インストールを検証:
インストールされていない場合は、nodejs.orgからダウンロードしてください。
-Claude Desktop:macOSまたはWindows用の最新バージョンをダウンロード
##Claudeデスクトップの統合
設定ファイルの場所
Claudeデスクトップ設定ファイルは次の通りです
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP OpenMemory Server
Gives Claude the ability to remember your conversations and learn from them over time.
https://github.com/user-attachments/assets/aef82b8e-3793-4ebd-b993-ddaef14d52d1
Features
- Memory Storage: Save and recall conversation messages
- Memory Abstracts: Maintain summarized memory context across conversations
- Recent History: Access recent conversations within configurable time windows
- Local Database: Uses SQLite for persistent storage without external dependencies
⚠️ Important
You must configure MEMORY_DB_PATH to a persistent location to avoid losing your conversation history when Claude Desktop closes. If not configured, the database defaults to ./memory.sqlite in a temporary location that may be cleared when the application restarts.
Configuration
Prerequisites
-
Node.js: Required to run the MCP server. Verify installation with:
node --versionIf not installed, download from nodejs.org
-
Claude Desktop: Download the latest version for macOS or Windows
Claude Desktop Integration
Configuration File Location
The Claude Desktop configuration file is located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
To access: Open Claude Desktop → Claude menu → Settings → Developer → Edit Config
macOS/Linux
Run directly using npm
{
"mcpServers": {
"mcp-openmemory": {
"command": "npx",
"args": [
"@peakmojo/mcp-openmemory@latest"
],
"env": {
"MEMORY_DB_PATH": "/Users/username/mcp-memory.sqlite"
}
}
}
}
Windows
Run directly using npm
{
"mcpServers": {
"mcp-openmemory": {
"command": "npx",
"args": [
"@peakmojo/mcp-openmemory@latest"
],
"env": {
"MEMORY_DB_PATH": "C:\\Users\\username\\mcp-memory.sqlite"
}
}
}
}
Run from source (all platforms)
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["/path/to/your/repo/server.js"],
"env": {
"MEMORY_DB_PATH": "/path/to/your/memory.sqlite"
}
}
}
}
Environment Variables
MEMORY_DB_PATH: Path to SQLite database file (default:./memory.sqlite)
Verification
After configuring and restarting Claude Desktop, you should see:
- Slider Icon (🔧) in the bottom left of the input box
- Available Tools when clicking the slider:
save_memory
インストール
npx @peakmojo/mcp-openmemory@latest設定
{
"mcpServers": {
"mcp-openmemory": {
"command": "npx",
"args": [
"@peakmojo/mcp-openmemory@latest"
],
"env": {
"MEMORY_DB_PATH": "/Users/username/mcp-memory.sqlite"
}
}
}
}