Personal AI Memory Hub
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Personal AI Memory Hubsave a memory that I prefer morning meetings"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Personal AI Memory Hub
Production now runs on the owner's Singapore server using Node.js 24, SQLite WAL/FTS5 and Qdrant. The hosted URL and existing MCP/REST API keys remain compatible. Cloudflare is the free DNS/HTTPS proxy; the old database is frozen. See server deployment and operations. The Cloudflare configuration below is legacy/local-test reference, not the current production deployment target.
A self-hostable personal context and long-term memory service. It provides a private dashboard, REST API, remote MCP endpoint, searchable conversation archive, structured memories, social-account notes, knowledge documents, and an optional OpenClaw integration. The service stores and retrieves information; it does not generate chat answers.
Connect an AI to the hosted Hub
The project owner’s hosted instance is available at:
Dashboard: https://pw.zgatri.com/dashboard
MCP (Streamable HTTP): https://pw.zgatri.com/mcp
REST API: https://pw.zgatri.com/v1
Create a separate client API key in the dashboard for each AI. Set its read and write levels, allowed collections, and operations to match that client’s job. L3 can read or write records at every sensitivity level, including restricted records; it does not grant administrator access. Use L3 only for a client you fully trust.
For an MCP client, configure the endpoint and put the key in that client’s private secret or connection settings:
{
"url": "https://pw.zgatri.com/mcp",
"transport": "streamable-http",
"headers": {"Authorization": "Bearer YOUR_API_KEY"}
}Never place a real API key in this repository, a GitHub issue, a public chat, or a screenshot. The repository contains source code and setup instructions only; it does not contain the owner’s conversations, database, or credentials.
Related MCP server: everos-mcp
Categorization and overview
The source includes personal/development topic classification, visual coverage and daily intake metrics, and a versioned evidence-based overview of personal context, projects, current progress and next actions. AI clients start with get_handoff / get_overview, then retrieve detailed sections and original sources. Background organization reuses the configured summary provider and skips unchanged sources. See the architecture and upgrade guide.
Owner-published strategy
The owner drafts and publishes a hierarchy of overall strategy, stage strategy and monthly goals in the password/2FA dashboard. The published strategy is the highest-priority source for personal goals and task planning. Agents read it first in get_handoff, then personal context and observed execution progress. get_strategy is read-only; even L3 or administrator Bearer keys cannot edit or publish goals. Drafts remain private. See strategy, permissions and usage. The hosted instance includes this feature; published goals remain empty until the owner supplies and publishes them.
Permission levels
Level | Data sensitivity | Access includes |
L0 | Public | L0 records |
L1 | Normal | L0–L1 records |
L2 | Sensitive | L0–L2 records, with the matching sensitive permission |
L3 | Restricted | L0–L3 records, with the matching sensitive permission |
Read and write ceilings are independent. The API key must also have the needed operation scope and collection access. None of the levels grants admin access or makes it appropriate to store passwords, cookies, 2FA codes, or other credentials as memories.
OpenClaw
The Hook plugin is optional; it adds per-turn context recall and capture. For history backfill plus daily scheduled uploads, follow the daily sync guide; the plugin is not required for that workflow. If you do install the plugin, keep autoArchive and autoSummary disabled for daily-only archiving. To install the optional plugin:
git clone https://github.com/Ti08X/personal-ai-memory-hub.git
cd personal-ai-memory-hub
openclaw plugins install ./integrations/openclaw-memoryFollow integrations/openclaw-memory/README.md to add the client key through OpenClaw’s private configuration. For one-time history backfill followed by daily scheduled chat archiving, see the OpenClaw daily sync guide. The Skill instructions are in integrations/skills/personal-ai-memory-hub/SKILL.md. Give the AI this repository URL as its implementation and usage reference, then enter its own API key in the private connection settings.
What the service can collect
An AI client can submit the visible conversation messages it is authorized to access, and a user can import exported files through the dashboard or API. Connecting MCP does not grant access to private chat histories held by other AI platforms. Those histories require a supported client submission or a user-provided export. The dashboard shows source and provenance so imported content can be traced.
Self-host on a server
Use the server deployment guide for the current Node.js/SQLite/Qdrant runtime, migration checks, private configuration, backups and updates.
Legacy Cloudflare / local development
Requirements: Node.js 22.18 or later, a Cloudflare account, a D1 database, and (if semantic search is enabled) a Vectorize index. Replace the D1 placeholder and Vectorize index name in wrangler.jsonc with resources in your own account, and configure secrets through Wrangler or Cloudflare settings. Never commit .dev.vars or real secrets.
npm ci
cp .dev.vars.example .dev.vars
npm run devFor deployment, create your own D1 and Vectorize resources, set the database and index bindings, set the encryption secret, apply migrations, then deploy with Wrangler. RAG and external model calls are optional; configure provider keys in the authenticated dashboard or as server secrets. Provider pricing and rate limits apply. This repository does not include or reuse the hosted owner’s Cloudflare resources.
Main interfaces
Web dashboard: conversation archive, memories, profile, projects and plans, social accounts, knowledge files, search, conflicts, client keys, and model settings.
REST API: documented in
docs/api.md.Remote MCP: Streamable HTTP; client tools are constrained by the API key’s scopes, levels, and collections.
OpenClaw plugin and portable Skill: under
integrations/.
Privacy and security
Records are encrypted at rest by the application. API keys are shown once when created and stored as hashes. Use a distinct revocable key for each client. Keep client keys in private configuration and rotate them if exposed. The public repository is a source distribution, not a backup of the owner’s personal data.
Dashboard login requires the account password and a second factor. A successful login keeps the same browser signed in for up to 7 days using a Secure, HttpOnly, same-site cookie; refreshing the page does not end the session. Manual logout, password changes, account revocation, or the 7-day expiry end it sooner. Passwords and authenticator codes are not stored in browser storage.
This server cannot be deployed
Maintenance
Related MCP Connectors
- KogniteOAuthdev.kognite
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Shared memory for connected AI tools. Projects, rules and skills over MCP. OAuth or API key.
Person-owned AI memory that learns, not just stores — portable context for any MCP client.
- JustOnceOAuthai.justonce
Persistent memory for AI assistants — one shared, OAuth-secured vault for every MCP client.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceEnables remote MCP clients to securely access AgentMemory tools like memory_recall, memory_smart_search, and memory_save through OAuth 2.1 and Streamable HTTP, while keeping the AgentMemory backend secret private.-
- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to interact with an EverOS v2 memory store over local Streamable HTTP, providing read-only memory tools and an opt-in, approval-gated write capability.-
- AlicenseBqualityCmaintenanceProvides AI agents with durable, searchable project memory, session notes, skills, and bounded context packs over MCP while leaving orchestration to the client.15MIT
- FlicenseNot gradedqualityBmaintenanceProvides a self-hosted shared memory service that lets AI agents capture and recall durable facts, decisions, and context across multiple tools and MCP-capable clients.3-