Prism MCP Server
Prism-Coder v12.5: The world's first O(1) Cognitive Memory Architecture for AI Agents. 100% Tool-Call Accuracy (BFCL Gold Certified), 54 Agent Skills, Zero-Search Retrieval (HDC/HRR), HIPAA-hardened local-first storage, and SLERP-optimized GRPO alignment.
Ask AI about Prism MCP Server
Powered by Claude Β· Grounded in docs
I know everything about Prism MCP Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
π§ Prism Coder
π Read in your language: π¬π§ English Β· πͺπΈ EspaΓ±ol Β· π«π· FranΓ§ais Β· π΅πΉ PortuguΓͺs Β· π·π΄ RomΓ’nΔ Β· πΊπ¦ Π£ΠΊΡΠ°ΡΠ½ΡΡΠΊΠ° Β· π·πΊ Π ΡΡΡΠΊΠΈΠΉ Β· π©πͺ Deutsch Β· π―π΅ ζ₯ζ¬θͺ Β· π°π· νκ΅μ΄ Β· π¨π³ δΈζ Β· πΈπ¦ Ψ§ΩΨΉΨ±Ψ¨ΩΨ©
Persistent memory + tool-calling intelligence for AI agents. (formerly Prism MCP)
A Model Context Protocol server that gives Claude, Cursor, and other AI tools a Mind Palace β long-term memory that survives across sessions, with semantic search, cognitive routing, a visual dashboard, and the open-weights prism-coder:7b / prism-coder:14b LLM fleet for offline tool-calling (BFCL Gold Certified, 100 % JSON validity).
Renamed in v14.0.0: the project is now Prism Coder to cover both the Mind Palace memory server and the
prism-coder:7b/prism-coder:14bLLM fleet on HuggingFace + Ollama. The npm package staysprism-mcp-serverso existing install URLs andmcp.jsonentries keep working β theprism-coderbinary has been the canonical entry point since v12.
What Prism Coder does
πΎ Your AI remembers across sessions
Every conversation feeds the Mind Palace. Next session, your AI agent loads the right context automatically β no re-explaining.
π Semantic search over your history
Ask "what did I decide about the auth flow last month?" and get the answer with citations. Vector search + keyword + graph traversal.
𧬠Cognitive routing
Different memory types live in different stores: episodic (what happened), semantic (what's true), procedural (how to do X). The router picks where to store and where to retrieve.
π‘ Local-first
Free tier runs entirely on your machine β SQLite, local embedding model, no API keys, no cloud. Paid tier adds cloud sync via Synalux portal.
β‘ Zero-search retrieval
Holographic Reduced Representations (HRR) for instant similarity lookups without an index. ~5ms over 100K memories.
π Multi-agent Hivemind
Multiple AI agents share the same Mind Palace. Each agent has a role (dev / qa / pm / etc.) and sees scoped context. Heartbeat + roster for coordination.
Get started
# Install globally
npm install -g prism-mcp-server
# Or use npx (no install)
npx prism-mcp-server
Add to Claude Desktop / Cursor config:
{
"mcpServers": {
"prism": {
"command": "npx",
"args": ["-y", "prism-mcp-server"]
}
}
}
That's it. Open Claude / Cursor and your AI now has memory.
More setup details in docs/SETUP_GEMINI.md.
How AI agents use it
| Tool | What it does |
|---|---|
session_load_context | Recover prior session's state on boot |
session_save_ledger | Append immutable session log entry |
session_save_handoff | Save live state for the next session |
knowledge_search | Semantic + keyword search over all memories |
query_memory_natural | Natural-language Q&A over your Mind Palace |
extract_entities | Pull people / projects / decisions from text |
session_synthesize_edges | Auto-link related memories into a graph |
(35+ tools total β full TypeScript signatures in src/tools/. Architecture overview in docs/ARCHITECTURE.md.)
Plans
| Free (local) | Paid (Synalux portal) | |
|---|---|---|
| Local SQLite memory | β | β |
| Semantic search | β (local embedding) | β (cloud-backed) |
| Cross-device sync | β | β |
| Hivemind multi-agent | β local team | β + cloud roster |
| Auto-Scholar (web research β memory) | β | β |
| HRR Zero-Search retrieval | β | β |
| Custom domains / SSO | β | Enterprise |
The thin-client architecture: when authenticated to Synalux, Prism Coder routes through the portal for paid features. When not authenticated (or PRISM_FORCE_LOCAL=1), runs purely local. Same binary.
What you can build with it
- Persistent coding assistant that remembers your codebase, your decisions, your team's conventions
- Research agent that builds knowledge over time β Auto-Scholar pipeline ingests papers / docs and synthesizes
- Clinical scribe that retains patient context across visits (HIPAA-compliant cloud + local)
- Customer support agent that learns from every ticket
- Writing assistant that knows your voice, your prior drafts, and what you've already published
Companions
Synalux β VS Code Extension
Memory-augmented AI inside VS Code, backed by Prism. 20 multimodal tools, multi-agent orchestration, 12-language support. Works offline (Ollama) or cloud (OpenRouter). HIPAA-compliant healthcare workflows.
# Install from terminal
code --install-extension synalux-ai.synalux
Or open VS Code β Extensions (β§βX) β search "Synalux" β Install.
PrismAAC
AAC communication app for non-speaking users. Powered by Prism's spreading-activation phrase ranking + on-device 7B model. macOS / iOS / Android via web. β github.com/dcostenco/prism-aac
π Prism as Foundation (v14.0.0)
As of v14.0.0, Prism's algorithm exports are a stable public contract under SemVer. External systems can port actrActivation.ts (ACT-R cognitive decay), spreadingActivation.ts (the 0.7 similarity + 0.3 activation hybrid score), routerExperience.ts (experience bias with MIN_SAMPLES=5 cold-start gate), compactionHandler.ts (the 25KB prompt-budget cap), and graphMetrics.ts (warning ratios) with citations and pin a Prism version.
Reference consumers
| Consumer | What it uses from Prism |
|---|---|
| Audit hooks framework | ACT-R decay (d=0.25 lesson rate), spreading activation hybrid score (0.7/0.3), experience bias (MIN_SAMPLES=5, MAX_BIAS_CAP=0.15), graph-metrics warning ratios (0.20 / 0.30 / 0.40), compaction's 25KB prompt-budget. 327 tests pin every constant β CI catches divergence automatically. |
| PrismAAC | Spreading-activation phrase ranking (recency Γ frequency Γ per-user history). Caregiver corrections auto-harvest into the personalization corpus via the audit-hooks postflight harvester. The on-device 7B model + this algorithm stack is what makes PrismAAC defensible. |
| Synalux portal | Tier-aware model routing using experience bias on prior outcomes per fingerprint. HIPAA-compliant clinical scribe with on-device-first privacy guarantees. |
See docs/WOW_FEATURES.md for the algorithm catalogue. Release notes in docs/releases/v14.0.0-prism-as-foundation.md.
π Architecture, cognitive systems, and full feature catalog
Detailed docs in this repo:
docs/ARCHITECTURE.mdβ system architecture, memory routing, HRRdocs/SETUP_GEMINI.mdβ Gemini configurationdocs/self-improving-agent.mdβ adversarial eval / anti-sycophancydocs/rfcs/β design RFCsdocs/releases/β per-version release notesCHANGELOG.mdβ version history (v12.5 Unified Billing, v11.6 Hivemind, v11.5.1 Auto-Scholar, etc.)CONTRIBUTING.mdβ contributor guide
The original 1933-line README is preserved in git history. To browse the prior version (full feature catalog, Cognitive Architecture v7.8, Autonomous Cognitive OS v9.0, HRR Zero-Search, Adversarial Evaluation walkthroughs, Universal Import patterns, competitive analysis vs LangMem/MemGPT/Letta/Zep, v12.5 Unified Billing details, v11.6 Hivemind, v11.5.1 Auto-Scholar): git show HEAD~1:README.md.
License
BUSL-1.1 β Business Source License. Free for non-production use. Production use requires a Synalux subscription or commercial license. After 2 years, converts to MIT.
