Alaya MCP server
io.github.SecurityRonin/alaya-mcp·v0.4.7·17 starsLocal memory engine for AI agents with knowledge graphs, forgetting, and semantic recall
17 stars69 downloads/wk
Reviews
Write oneNobody has reviewed Alaya yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Alaya tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned15/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 73 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Findings (2)
- mediumnpm install lifecycle script present
install.script - mediumnpm install lifecycle script present
install.scriptpackage.json: …2-x64": "0.4.7" }, "scripts": { "postinstall": "node scripts/postinstall.js", "tes…
How Alaya compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 65/100
- higher than 20% of 48,255 servers
- GitHub stars
- 17
- more than 90% of 28,688 servers
- Downloads a week
- 69
- more than 53% of 12,191 servers with a package
Install Alaya in Claude Code, Cursor or VS Code
Runs npx -y alaya-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add alaya-mcp -- npx -y alaya-mcp
What the publisher says
From the Alaya repository's README, as published. We do not edit it. Read it on GitHub
Alaya
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.
Alaya (Sanskrit: alaya-vijnana, "storehouse consciousness") is an embeddable Rust library. One SQLite file. No external services. Your agent stores conversations, retrieves what matters, and lets the rest fade. The graph reshapes through use, like biological memory.
let alaya = Alaya::open("memory.db")?;
alaya.episodes().store(&episode)?; // store
let results = alaya.knowledge().query(&query)?; // retrieve
alaya.lifecycle().consolidate(&provider)?; // distill knowledge
alaya.lifecycle().transform()?; // dedup, LTD, discover categories
alaya.lifecycle().forget()?; // decay what's stale
let cats = alaya.admin().categories(None)?; // emergent ontology
alaya.admin().purge(PurgeFilter::Session("s1"))?; // cascade delete + tombstonesThe Problem
Most AI agents treat memory as flat files. OpenClaw writes to MEMORY.md. Claudesidian writes to Obsidian. Hand-rolled systems write to JSON or Markdown. It works at first.
Then the files grow. Context windows fill. The agent dumps everything into the prompt and hopes the LLM finds what matters.
The cost is measurable. OpenClaw injects ~35,600 tokens of workspace files into every message, 93.5% of which is irrelevant (#9157). Heavy users report $3,600/month in token costs. Community tools like QMD and memsearch cut 70-96% of that waste by replacing full-context injection with ranked retrieval (Levine, 2026).
The structure problem compounds the cost. MEMORY.md conflates decisions, preferences, and knowledge into one unstructured blob. Users independently invent decision.md files, working-context.md snapshots, and 12-layer memory architectures to compensate. Monday you mention "Alice manages the auth team." Wednesday you ask "who handles auth permissions?" The agent retrieves both memories by text similarity but cannot connect them (Chawla, 2026).
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Alaya: common questions
- Is Alaya MCP server safe?
- With care: it is graded C, so read the findings first (65/100). Read the Alaya safety report
- How do I install Alaya?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Alaya need an API key?
- Yes. The registry entry asks for
ALAYA_LLM_API_KEY. - Is Alaya maintained?
- The last commit was 111 days ago (2026-07-16). The latest release is v0.4.7.
- What can I use instead of Alaya?
- Servers from other publishers that do the same job: Codebase Memory MCP server, Neo4j Memory MCP server and State Memory MCP server.
- How does Alaya compare with other MCP servers?
- safety score 65/100 (higher than 20% of 48,255 servers); github stars 17 (more than 90% of 28,688 servers); downloads a week 69 (more than 53% of 12,191 servers with a package). Full comparison.
Alternatives to Alaya
Same job from other publishers: the closest match first, then the best rated.
- Codebase MemoryCodebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.not reviewedWidely usedC
- Neo4j MemoryMCP Neo4j Knowledge Graph Memory Servernot reviewedEstablishedA
State Memory MCPPersistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.not reviewedEstablishedA