Skip to main content
MCP server CX Codex

neural-memory — Claude Code MCP server: memory and setup

This MCP server keeps agent memories between sessions and retrieves related facts through a graph. Use it when project context must carry across runs.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add neural-memory -- npx -y neural-memory-mcp
Open on GitHub

What neural-memory does

neural-memory stores facts, decisions, errors, preferences, and other records as connected memory items. Its recall process follows associations between them instead of relying only on matching words. The MCP tools cover saving memories, recalling context, and checking brain health, while session and maintenance work runs in the background.

The server runs locally without a vector database or API calls. It initializes itself on first use, so there is no separate init step. Documents in PDF, DOCX, PPTX, HTML, JSON, XLSX, and CSV can be ingested as lasting knowledge. Device-to-device sync uses a Cloudflare Worker deployed in your own account.

The project lists Python 3.11+, so that version should be checked before setup. Cloud sync also needs your own Cloudflare account and D1 database. Local recall does not depend on either service.

What it helps with

  • keep project decisions across agent sessions
  • trace related memories through cause-and-effect links
  • load knowledge from PDF and office documents
  • inspect the health of stored memory
  • sync one memory store across devices

Example prompts for the agent

  • Remember that this project uses PostgreSQL for its database decision.
  • Recall the related context behind the authentication changes.
  • Check the memory health and suggest fixes for the issues you find.

How to install neural-memory

Platform CLI

claude mcp add neural-memory -- npx -y neural-memory-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about neural-memory

How do I install neural-memory in Claude Code?

Run claude mcp add neural-memory -- npx -y neural-memory-mcp, then restart Claude Code.

What does neural-memory do?

It gives an agent persistent memory between sessions and recalls connected records through graph activation. The server also exposes a health check and handles background context work.

Does neural-memory require an API or vector database?

Local operation uses neither API calls nor a vector database. Cross-device sync requires a Cloudflare Worker and D1 database in your own account.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

From the same set4

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor