Memory for AI MCP server
io.github.LonelyTraderBay/memory-for-ai·v0.11.0Local codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
0 stars63 downloads/wk
Reviews
Write oneNobody has reviewed Memory for AI yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Memory for AI tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-02 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned; 4 source files scanned10/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 qualitylocal package, no credentials required12/15
- Maintenancelast push 5 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (3)
- mediumnpm install lifecycle script present
install.script - mediumnpm install lifecycle script present
install.scriptpackage.json: …est": "node --test test/*.test.js", "postinstall": "node install.js" }, "engines": { … - mediumsubprocess with shell=True
exec.shell-truememory_for_ai-0.11.0/src/memory_for_ai/_cli.py: …run(args) # noqa: S603 — list form, no shell=True sys.exit(result.returncode) d…
How Memory for AI compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 69/100
- higher than 33% of 48,255 servers
- Downloads a week
- 63
- more than 50% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-09-12, latest 2026-09-18, typically one every 6 days.
Install Memory for AI in Claude Code, Cursor or VS Code
Runs npx -y memory-for-ai-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add memory-for-ai -- npx -y memory-for-ai-mcp
What the publisher says
From the Memory for AI repository's README, as published. We do not edit it. Read it on GitHub
memory-for-ai
An MCP server that turns a codebase into a persistent knowledge graph — functions, classes, call chains, HTTP routes, cross-service links — so an AI coding agent answers structural questions with graph queries instead of reading file after file.
One self-contained native executable. 162 languages via vendored tree-sitter grammars, refined by embedded Hybrid-LSP type resolution. 23 MCP tools. No language runtime, no Docker, no API key, no telemetry — everything runs locally.
- Are you an AI agent? Read docs/AGENT_GUIDE.md — the complete operating manual (tool catalog, task→tool playbooks, correctness protocol, per-project tuning). docs/llms.txt is the machine-readable index.
- Installing for a specific project? Jump to Per-project install — one command, zero global config, one isolated graph named after the repo.
- Want proof it pays off before adopting? docs/MEASURING.md — a 15-minute spot check and a full A/B protocol to measure token and tool-call savings on your own repository. A worked example with real numbers (and real caveats), measured on this repository itself: docs/AB-RESULTS.md.
Research — design and evaluation are described in Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCP (arXiv:2603.27277): across 31 real repositories, 10× fewer tokens and 2.1× fewer tool calls vs. file-by-file exploration, at 83% answer quality (92% for the file-by-file baseline).
Quick start
30-second machine check first (details: docs/INSTALL.md — Preflight):
- Platform is macOS / Linux / Windows on amd64 or arm64, with ~2 GB free disk.
- Windows: powershell -Command "$PSVersionTable.PSVersion" must print a version — search_code shells out to PowerShell at runtime; if the WindowsPowerShell\v1.0 directory is missing from PATH, add it before installing.
- git --version works (watcher freshness + detect_changes).
- Already installed once? memory-for-ai --version tells you — re-running the installer is the update, indexes survive.
macOS / Linux (one line):
curl -fsSL https://raw.githubusercontent.com/LonelyTraderBay/memory-for-ai/main/install.sh | bashWindows (PowerShell):
Invoke-WebRequest -Uri https://raw.githubusercontent.com/LonelyTraderBay/memory-for-ai/main/install.ps1 -OutFile install.ps1
Unblock-File .\install.ps1 # remove Mark-of-the-Web
.\install.ps1Then restart your coding agent and say "Index this project". Done.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Memory for AI: common questions
- Is Memory for AI MCP server safe?
- With care: it is graded C, so read the findings first (69/100). Read the Memory for AI safety report
- How do I install Memory for AI?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Memory for AI need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Memory for AI maintained?
- The last commit was 38 days ago (2026-09-27). The latest release is v0.11.0.
- What can I use instead of Memory for AI?
- Servers from other publishers that do the same job: Codebase Memory MCP server, Neo4j Memory MCP server and Trace MCP server.
- How does Memory for AI compare with other MCP servers?
- safety score 69/100 (higher than 33% of 48,255 servers); downloads a week 63 (more than 50% of 12,191 servers with a package). Full comparison.
Alternatives to Memory for AI
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
TraceCode graph MCP: 81 languages, 91 frameworks, 72.7% fewer PR-review tokens, comprehension at paritynot reviewedEstablishedA- HonchoMemory that reasons: continual learning for stateful agents. Better context, fewer tokens.not reviewedEstablishedA
State Memory MCPPersistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.not reviewedEstablishedA