Chinese-first brain-inspired memory MCP โ hybrid recall, 7-layer user profile, workspace assembly.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Memory.
zhiji_workspace_assembleFlagship.** One call returns everything needed to understand this user for a query โ relevant memories + profile + confirmed facts + behavioral inferences (plus counterfactual & cross-domain hints). Drop straight into any LLM's context.
zhiji_memory_searchLighter, recall-only: the 11-stage hybrid pipeline (trigram FTS + semantic + time-decay), returns scored snippets with sources.
zhiji_profile_get7-layer / 37-dim user profile as an inject-ready natural-language summary.
zhiji_facts_getStructured atomic facts (subject attribution, confidence, conflict status) โ for exact names/dates/counts, not narrative.
zhiji_prospective_dueDue/upcoming intentions (todos, promises, plans) within a time window โ for proactively nudging the user.
zhiji_memory_ingestWrite a conversation turn to long-term memory; async embedding + profile/fact extraction + importance scoring follow. **Text only.
Chinese-first, brain-inspired long-term memory as an MCP server. Give any MCP client โ Claude Desktop / Claude Code / Cursor / Cline / Cherry Studio / Coze โ the ability to remember and understand your user across sessions.
ไธญๆ็จๆท๏ผๅฎๆดๆฅๅ ฅๆๅ่ง
MCP-USAGE.md,ๆๅจ็บฟ็ https://ai-know.me/mcpใ
v0.4.0 ยท 9 tools / 2 resources / 1 prompt ยท stdio + Streamable HTTP ยท MCP protocol 2025-11-25
This repo is a thin bridge: it translates MCP tool calls into REST calls to the Zhiji backend (hosted at ai-know.me). The bridge stores nothing; all memory lives in the Zhiji service you connect to.
Mem0 / Zep / LangMem expose add / search / delete over a vector store. ็ฅๅทฑ exposes brain-inspired primitives:
bge-large-zh semantic + time-decay + access-reinforcement + dedup ranking.All Chinese-optimized (trigram tokenizer + bge-large-zh); English is supported too. Memory is stored in the Zhiji backend you connect to โ self-host it, or use the hosted ai-know.me service; either way it's your Zhiji instance, not a generic memory-SaaS middleman.
9 tools, grouped by role. Every user-scoped tool takes userEmail (or falls back to MB_USER_EMAIL); only the notable extra params are listed.
| Tool | What it does | Notable params |
|---|---|---|
zhiji_workspace_assemble | Flagship. One call returns everything needed to understand this user for a query โ relevant memories + profile + confirmed facts + behavioral inferences (plus counterfactual & cross-domain hints). Drop straight into any LLM's context. | query; maxResults โค20 (def 6). Slow "what-if" queries can take 10โ15s. |
zhiji_memory_search | Lighter, recall-only: the 11-stage hybrid pipeline (trigram FTS + semantic + time-decay), returns scored snippets with sources. | query; maxResults โค50 (def 8) |
zhiji_profile_get | 7-layer / 37-dim user profile as an inject-ready natural-language summary. | โ |
zhiji_facts_get | Structured atomic facts (subject attribution, confidence, conflict status) โ for exact names/dates/counts, not narrative. | โ |
zhiji_prospective_due | Due/upcoming intentions (todos, promises, plans) within a time window โ for proactively nudging the user. | hours โค720 (def 24) |
| Tool | What it does | Notable params |
|---|---|---|
zhiji_memory_ingest | Write a conversation turn to long-term memory; async embedding + profile/fact extraction + importance scoring follow. Text only. | conversationId; messages[{ author: "user"|"bot", text }] |
zhiji_ingest_file | Multimodal ingest โ audio / image / PDF / Word / Excel / video โ Whisper transcribe / Tesseract OCR / doc parse โ memory. Audio & video also get acoustic-emotion analysis. | one of path | url | base64; filename; isUserVoice |
| Tool | What it does | Notable params |
|---|---|---|
zhiji_feedback | Thumbs up/down on the last recall/answer โ feeds the self-evolution reward and reinforces (or penalizes) the Q-value of recently retrieved memories. The "gets better the more you use it" loop. | rating: "up"|"down"; weak? โ ยฑ0.5 |
zhiji_status | Health & memory scale (files / chunks / FTS availability). Call first to verify connectivity. | โ |
2 resources โ zhiji://schema/dimensions (authoritative 7-layer / 37-dim profile schema) ยท zhiji://server/status (live service status).
1 prompt โ personal-context: weaves profile + memories + facts into a ready-to-prepend system prompt for a given query.
Experimental capabilities (sleep consolidation / dream replay / emergence) are not exposed until their groundedness passes ablation.
You need an agent Key (mb- prefix). Get one at https://ai-know.me/memory?tab=api (register + create a Key bound to your account).
Point any Streamable-HTTP MCP client at the hosted endpoint โ you don't need this repo at all:
Or in a URL-style client config (Cursor / Cherry Studio / LobeChat):
Use this repo when you want the bridge as a local stdio process (e.g. a desktop client launches it for you), talking to the hosted Zhiji backend:
Then in your client config:
Full client matrix (LangChain, OpenAI Agents SDK, Cozeโฆ) is in MCP-USAGE.md.
The MCP layer stores nothing; it translates MCP tool calls into REST calls to the Zhiji backend. Shared core zhiji-mcp-core.mjs backs both entry points:
| File | Role |
|---|---|
zhiji-mcp-core.mjs | Tool/resource/prompt definitions (single source of truth) |
zhiji-mcp-server.mjs | stdio entry (npm start) |
zhiji-mcp-http.mjs | Streamable HTTP entry (npm run http) |
userEmail. The bridge treats userEmail as a namespace, not a credential.Bearer mb-โฆ get 401; the backend binds each Key to its userEmail and rejects cross-user access.MCP-USAGE.md ยง8.| Var | Default | Notes |
|---|---|---|
MB_BASE_URL | http://localhost:3001 | Zhiji backend address; for the hosted service use https://ai-know.me |
MB_USER_EMAIL | โ | default user namespace (single-user local use) |
MB_API_KEY | โ | mb- agent Key; forwarded as Bearer |
MB_TIMEOUT_MS | 60000 | slow workspace routes can take ~15s |
| Version | Highlights |
|---|---|
| v0.4 | zhiji_ingest_file (9 tools) + public-release hardening (TLS, MCP_REQUIRE_KEY, JWT-only key issuance, cross-user isolation hard-test) |
| v0.5 (planned) | inference-list tool, resource subscriptions, fine-grained key permissions |
MCP-USAGE.md โ full guide (install, all clients, per-tool reference, troubleshooting, FAQ)MIT ยฉ 2026 ็ฅๅทฑ AI (ai-know.me)
็ฅๅทฑ AI ยท MCP integration โ Chinese-first brain-inspired memory. The bridge is open; the memory intelligence lives in the Zhiji backend.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/memory-9)<a href="https://allmcps.com/mcp/memory-9"><img src="https://allmcps.com/api/badge/memory-9?style=directory" alt="Memory on AllMCPs" /></a>