
Alaya Mcp
io.github.SecurityRoninPublished by GitHub account SecurityRoninv0.4.7Updated Oct 28, 2026
Local memory engine for AI agents with knowledge graphs, forgetting, and semantic recall
Overview
Local memory engine for AI assistants: stores conversation episodes in SQLite, builds a knowledge graph, and recalls memories semantically.
- What you can do
- Store and search memories: save conversation episodes and run semantic recall across them
- Manage knowledge: store pre-extracted facts and relationships, browse extracted knowledge, and explore the knowledge graph
- Inspect memory state: view system health and stats, emergent category taxonomy, and crystallized user preferences
- Run maintenance: trigger lifecycle operations such as strengthen, transform and forget
- Configure the embedding provider and other options
- When to use it
- Useful when you want an assistant to keep durable, structured memory across sessions on your own machine instead of re-injecting full context, and to let weak memories fade while strong ones persist.
- Requirements
- Runs locally as an npm package (alaya-mcp) over stdio, launched for example with npx. Data is kept in a local SQLite database, by default under the user's home directory, with the path configurable via ALAYA_DB. Optional ALAYA_LLM_API_KEY, ALAYA_LLM_API_URL and ALAYA_LLM_MODEL enable LLM-powered knowledge extraction; without them the assistant extracts knowledge itself and search falls back to BM25.
Installation
In SourceWeft
- Open Alaya Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
alaya-mcp
The only memory engine with neuroscience-grounded memory dynamics — Bjork dual-strength forgetting, retrieval-induced suppression, and Hebbian co-activation — in a zero-dependency embeddable Rust library.
Stores conversation episodes, consolidates knowledge through a cognitive lifecycle, and builds a personal knowledge graph — all in a local SQLite database.
Install
Claude Code
Add to ~/.claude/claude_code_config.json:
Claude Desktop
Add to your Claude Desktop MCP config:
The ALAYA_LLM_* env vars are optional — they enable automatic knowledge extraction. Without them, the agent extracts knowledge from its own context.
MCP Tools
How It Works
- Remember — store conversation episodes as they happen
- Consolidate — extract facts, relationships, and concepts from episodes
- Strengthen — co-retrieved memories strengthen their connections (Hebbian LTP); retrieving memory A actively suppresses competing memories B and C (retrieval-induced forgetting)
- Categorize — emergent categories form automatically from your knowledge
- Forget — Bjork dual-strength decay separates storage strength (how well-encoded) from retrieval strength (how easily found); weak memories fade, strong ones persist
- Crystallize — implicit preferences emerge from accumulated impressions (vasana), no LLM required
All data stays on your machine in ~/.alaya/memory.db.
Why Alaya
Links
- GitHub
- Documentation
- crates.io (Rust library)
- PyPI (Python bindings)
License
MIT
[Image]Source: npm/alaya-mcp/README.md at commit 7e43e0b
Tools
0Version history
1- v0.4.7LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts