MCP.Market

Memory for AI MCP server

by LonelyTraderBay·io.github.LonelyTraderBay/memory-for-ai·v0.11.0

Local codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

C69/100grade C
What users say
No reviews yet
Be the first
Safety scan
C69/100

full report

Adoption
Growing

0 stars63 downloads/wk

Reviews

Write one

Nobody 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

3 medium
  • 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 presentinstall.script
  • mediumnpm install lifecycle script presentinstall.script
    package.json: …est": "node --test test/*.test.js", "postinstall": "node install.js" }, "engines": { …
  • mediumsubprocess with shell=Trueexec.shell-true
    memory_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…
Overall 69/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

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
Add to Cursor

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):

  1. Platform is macOS / Linux / Windows on amd64 or arm64, with ~2 GB free disk.
  2. 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.
  3. git --version works (watcher freshness + detect_changes).
  4. 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 | bash

Windows (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.ps1

Then 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 Memory
    Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
    C
  • Neo4j Memory
    MCP Neo4j Knowledge Graph Memory Server
    A
  • Trace
    Code graph MCP: 81 languages, 91 frameworks, 72.7% fewer PR-review tokens, comprehension at parity
    A
  • Honcho
    Memory that reasons: continual learning for stateful agents. Better context, fewer tokens.
    A
  • State Memory MCP
    Persistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.
    A