MCP server providing self-organizing neural graph memory with Hebbian learning and temporal decay for associative knowledge management.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Hebbian Mind Enterprise.
Memory that learns. Connections that fade.
An MCP server that builds knowledge graphs through use. Concepts connect when they activate together. Unused connections decay. The more you use it, the smarter it gets.
Three paths. Pick what fits.
The server runs on stdio. Press Ctrl+C to stop.
Linux gets automatic RAM disk support via /dev/shm when enabled.
For RAM disk optimization:
Add to your claude_desktop_config.json:
Native Install:
Docker Install:
Restart Claude Desktop. The tools appear automatically.
Environment variables control behavior. Set them before running, or use .env with Docker.
| Variable | Default | Description |
|---|---|---|
HEBBIAN_MIND_BASE_DIR | ./hebbian_mind_data | Data storage location |
HEBBIAN_MIND_RAM_DISK | false | Enable RAM disk for faster reads |
HEBBIAN_MIND_RAM_DIR | /dev/shm/hebbian_mind (Linux) | RAM disk path |
| Variable | Default | Description |
|---|---|---|
HEBBIAN_MIND_THRESHOLD | 0.3 | Activation threshold (0.0-1.0) |
HEBBIAN_MIND_MAX_WEIGHT | 10.0 | Maximum edge weight cap |
Deprecated:
HEBBIAN_MIND_EDGE_FACTORis no longer used. The asymptotic learning formula (LEARNING_RATE = 0.1) replaced the old harmonic strengthening factor. The env var still loads without error but has no effect on edge weights.
| Variable | Default | Description |
|---|---|---|
HEBBIAN_MIND_FAISS_ENABLED | false | Enable FAISS semantic search |
HEBBIAN_MIND_FAISS_HOST | localhost | FAISS tether host |
HEBBIAN_MIND_FAISS_PORT | 9998 | FAISS tether port |
HEBBIAN_MIND_PRECOG_ENABLED | false | Enable PRECOG concept extraction |
Eight tools. All available through any MCP client.
Store content with automatic concept activation and edge strengthening.
Activates matching concept nodes. Strengthens edges between co-activated concepts.
Query memories by concept nodes.
Returns memories that activated those concepts.
Preview which concepts would activate without saving.
Get concepts connected via Hebbian edges.
Returns the neighborhood graph - concepts that have fired together with "security".
List all concept nodes, optionally filtered.
Server health and statistics.
Returns node count, edge count, memory count, strongest connections, dual-write status.
Semantic search via external FAISS tether (if enabled).
Check FAISS tether connection status.
Memories and edges both decay over time unless reinforced.
Memory decay: Same formula as CASCADE and PyTorch Memory. Memories lose effective importance over time. Accessed memories reset their clock. Immortal memories (importance >= 0.9) never decay.
Edge decay: Connections between concepts weaken if not co-activated. This is the inverse of Hebbian learning -- "neurons that stop firing together, stop wiring together." Edges decay toward a minimum weight (0.1), never to zero, preserving the structure of learned associations.
| Variable | Default | Description |
|---|---|---|
HEBBIAN_MIND_DECAY_ENABLED | true | Enable memory decay |
HEBBIAN_MIND_DECAY_BASE_RATE | 0.01 | Base exponential decay rate |
HEBBIAN_MIND_DECAY_THRESHOLD | 0.1 | Memories below this are hidden |
HEBBIAN_MIND_DECAY_IMMORTAL_THRESHOLD | 0.9 | Memories at or above this never decay |
HEBBIAN_MIND_DECAY_SWEEP_INTERVAL | 60 | Minutes between sweep cycles |
HEBBIAN_MIND_EDGE_DECAY_ENABLED | true | Enable edge weight decay |
HEBBIAN_MIND_EDGE_DECAY_RATE | 0.005 | Edge decay rate (slower than memory decay) |
HEBBIAN_MIND_EDGE_DECAY_MIN_WEIGHT | 0.1 | Minimum edge weight floor |
Decayed memories are hidden from query_mind by default. Pass include_decayed: true to retrieve them.
Disk commits before RAM updates. If the RAM write fails, the data is already on disk -- the failure gets logged but nothing is lost. This order guarantees durability. A power loss mid-write never leaves you with RAM-only data that never reached disk.
RAM disk is optional. Without it, reads and writes go directly to SQLite on disk.
100+ pre-defined nodes across categories:
Nodes have keywords and prototype phrases. Content activates nodes when keywords match.
When concepts co-activate (appear in the same saved content):
Each co-activation closes 10% of the gap between current weight and MAX_WEIGHT (10.0). An edge at 2.0 gains 0.8. An edge at 9.0 gains 0.1. Edges approach the ceiling but never hit it -- no saturation, no runaway weights.
Combined with time-based decay (idle edges lose 2% per tick) and homeostatic scaling (total edge weight per node stays near 50.0), the graph self-regulates. Active paths strengthen. Neglected paths fade. The topology stays meaningful.
"Neurons that fire together, wire together."
Check Python version (requires 3.10+):
Verify MCP SDK installed:
Content must match node keywords above threshold. Lower the threshold:
Or check what would activate:
Ensure container is running:
Check logs:
Check node/edge counts via mind_status. Consider increasing HEBBIAN_MIND_THRESHOLD to activate fewer nodes, or lower HEBBIAN_MIND_MAX_WEIGHT to limit edge growth.
| Metric | Value | Notes |
|---|---|---|
| Save latency | <10ms | Includes activation, Hebbian strengthening, and commit |
| Query latency | <5ms | Node lookup + JOIN + sort |
| RAM disk reads | <1ms | When HEBBIAN_MIND_RAM_DISK=true |
| Analyze latency | <1ms | Content analysis without save |
| Memory per node | ~1KB | SQLite row with keywords and phrases |
| Memory per edge | ~100 bytes | SQLite row with weight and timestamps |
| Startup (100 nodes) | <1 second | Schema creation + node loading + edge initialization |
A benchmark script is included to verify these claims on your hardware:
The script creates an isolated temp database, runs 200 iterations of each operation, and reports mean/median/P95/P99 latencies. Results are saved to benchmarks/latest_results.json with full system info for reproducibility.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/for-sunny-hebbian-mind-enterprise)<a href="https://allmcps.com/mcp/for-sunny-hebbian-mind-enterprise"><img src="https://allmcps.com/api/badge/for-sunny-hebbian-mind-enterprise?style=directory" alt="Hebbian Mind Enterprise on AllMCPs" /></a>