Persistent memory for Claude and other MCP clients, backed by encrypted storage and semantic search. Exposes 13 tools including recall, save_to_synapse, and neural_handover for cross-session context. Memories are encrypted at rest with AES-256-GCM and indexed via pgvector for semantic retrieval. Works standalone via Python SDK or connects to their Forge cloud API for cross-agent memory sharing. Integrates with Claude Desktop, Cursor, LangChain, and CrewAI. Reach for this when you need your agent to remember user preferences, prior decisions, or conversation context across sessions without rebuilding RAG infrastructure from scratch.
claude mcp add --transport http synapse-layer https://forge.synapselayer.org/api/mcpRun in your terminal. Add --scope user to make it available in every project.
Review the command, arguments, and environment values before installing — MCP servers run with your local permissions.
Verified live against the running server on Jun 10, 2026.
recallRetrieve relevant persisted memory using semantic, temporal, priority, or hybrid routing. Governance: requires reason (10–200 chars). Rate limit: 20/min.6 paramsRetrieve relevant persisted memory using semantic, temporal, priority, or hybrid routing. Governance: requires reason (10–200 chars). Rate limit: 20/min.
modestringauto · temporal · semantic · priority · hybridlimitnumberquery*stringscopestringagent · tenantreason*stringagent_idstringsave_to_synapsePersist memory with encryption at rest, sanitization, and deduplication controls.6 paramsPersist memory with encryption at rest, sanitization, and deduplication controls.
tagsarraytypestringcontent*stringprojectstringagent_idstringimportancenumberprocess_textExtract candidate memories from free-form text with governance filters and sanitization.4 paramsExtract candidate memories from free-form text with governance filters and sanitization.
text*stringsourcestringprojectstringagent_idstringsearchSearch persisted memory across agent scopes using full-text matching.4 paramsSearch persisted memory across agent scopes using full-text matching.
limitnumberquery*stringscopestringagent · tenantagent_idstringhealth_checkCheck service availability, engine version, and storage health. Public method.Check service availability, engine version, and storage health. Public method.
No parameters — call it with no arguments.
initialize_contextInitialize a persistent memory context for a conversation or agent session.Initialize a persistent memory context for a conversation or agent session.
No parameters — call it with no arguments.
save_memorySave a memory entry to the persistent store. Alias of save_to_synapse.3 paramsSave a memory entry to the persistent store. Alias of save_to_synapse.
tagsarraycontent*stringagent_idstringstore_memoryStore structured memory with metadata and trust scoring.3 paramsStore structured memory with metadata and trust scoring.
tagsarraycontent*stringagent_idstringrecall_memoryRecall persisted memory by query. Alias of recall.6 paramsRecall persisted memory by query. Alias of recall.
modestringauto · temporal · semantic · priority · hybridlimitnumberquery*stringscopestringagent · tenantreason*stringagent_idstringlist_memoriesList memory metadata with pagination and governance limits.3 paramsList memory metadata with pagination and governance limits.
limitnumberscopestringagent · tenantagent_idstringmemory_feedbackSubmit feedback to adjust trust scoring for stored memories.3 paramsSubmit feedback to adjust trust scoring for stored memories.
signal*stringused · ignored · helpful · irrelevantmemoryId*stringsessionIdstringneural_handoverTransfer contextual state between agents with continuity controls.3 paramsTransfer contextual state between agents with continuity controls.
token*stringreason*stringconsuming_agentstringslo_reportReturn uptime and SLO metrics for the MCP service.2 paramsReturn uptime and SLO metrics for the MCP service.
admin_token*stringwindow_hoursarrayPersistent memory infrastructure for AI agents — AES-256-GCM encrypted at rest, semantic search, MCP-native.
Synapse Layer is open-source persistent memory infrastructure for AI agents and assistants. Memories are encrypted at rest with AES-256-GCM, indexed via pgvector HNSW for semantic recall, and exposed through MCP JSON-RPC for native integration with Claude, GPT, Gemini, and any MCP-compatible client. Apache 2.0 licensed.
pip install synapse-layer
from synapse_layer import Synapse
s = Synapse(token="sk_connect_YOUR_TOKEN")
s.save("user likes coffee")
print(s.recall("what does user like?"))
Get your token at forge.synapselayer.org → Dashboard → Connect
The persistent memory layer for AI agents — the missing piece between stateless LLMs and real continuity of context.
Your AI agents forget everything between sessions. Synapse Layer fixes that.
| Feature | Description |
|---|---|
| 🔐 Encrypted at rest | AES-256-GCM with per-operation random IV and HMAC-SHA-256 integrity |
| 🧩 One-click connect | Claude Desktop, Cursor, LangChain, CrewAI, n8n |
| 🌐 Cross-agent memory | Save in ChatGPT, recall in Claude |
| ⚡ MCP-native | Any MCP-compatible agent |
| 🔒 Header-first auth | Tokens never in URLs or logs |
| 🎯 Trust Quotient | Deterministic recall — memories ranked by confidence, not recency alone |
Your AI agents forget everything between sessions. Synapse Layer fixes that — in one line.
| Without Synapse Layer | With Synapse Layer |
|---|---|
| Agent forgets context every session | Persistent memory across all sessions |
| Memory locked to one model | Cross-agent: save in ChatGPT, recall in Claude |
| No audit trail | Trust Quotient scoring on every memory |
| Complex integration | pip install synapse-layer + 3 lines of code |
| Plaintext stored on servers | AES-256-GCM encrypted at rest |
pip install synapse-layer
import asyncio
from synapse_layer import SynapseClient
async def main():
memory = SynapseClient(agent_id="my-agent")
# Save
await memory.store("User prefers dark mode and concise answers")
# Recall
results = await memory.recall("user preferences")
for r in results:
print(f"[TQ={r.trust_quotient:.2f}] {r.content}")
asyncio.run(main())
from synapse_memory.client import Synapse
client = Synapse(token="sk_connect_YOUR_TOKEN")
client.remember("User prefers dark mode and concise answers")
results = client.recall("user preferences")
for r in results:
print(r["content"])
Get your token at forge.synapselayer.org → Dashboard → Connect
Synapse Layer currently exposes 13 MCP tools for persistent memory workflows:
recallsave_to_synapseprocess_textsearchhealth_checkinitialize_contextsave_memorystore_memoryrecall_memorylist_memoriesmemory_feedbackneural_handoverslo_reportThese tools cover memory capture, semantic recall, structured storage, feedback loops, agent handoff, and operational observability.
Use the local SDK when you want in-process memory access inside your Python application.
Best for:
Use Forge when you need persistent, cross-session, and cross-agent memory with managed access tokens.
Best for:
Add to claude_desktop_config.json:
{
"mcpServers": {
"synapse-layer": {
"command": "npx",
"args": [
"mcp-remote",
"https://forge.synapselayer.org/mcp",
"--header",
"x-connect-token: sk_connect_YOUR_TOKEN"
]
}
}
}
Config file location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json# Health check
curl -H "x-connect-token: sk_connect_YOUR_TOKEN" \
https://forge.synapselayer.org/api/connect/health
# Save memory
curl -X POST \
-H "x-connect-token: sk_connect_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "User is a Python developer"}' \
https://forge.synapselayer.org/api/v1/capture
| Feature | Implementation |
|---|---|
| Encryption | AES-256-GCM at rest with per-operation random IV |
| Integrity | HMAC-SHA-256 on content |
| Auth | Header-first (x-connect-token) — tokens never in URLs or logs |
| Privacy | Content sanitization + tenant-scoped encrypted storage |
| Isolation | 1 user = 1 tenant = 1 private mind |
See SECURITY.md for vulnerability reporting.
| Project | Description |
|---|---|
| synapse-sdk-python | Python SDK — LangChain, CrewAI, and A2A protocol adapters |
| synapse-layer-skill | MCP skill configuration for Claude Desktop, Cursor, Windsurf |
| synapse-layer-langgraph | LangGraph checkpoint saver with encrypted state persistence |
Apache-2.0 © Synapse Layer
SYNAPSE_AGENT_IDdefault: default-agentIdentifier for the agent using the memory layer.
SYNAPSE_PRIVACY_EPSILONdefault: 0.5Differential privacy epsilon parameter. Lower = stronger privacy. Range: 0.1–2.0.
SYNAPSE_ENCRYPTION_KEYsecretAES-256-GCM encryption key for at-rest memory encryption. Auto-generated if not provided.
LOG_LEVELdefault: INFOLogging verbosity: DEBUG, INFO, WARNING, ERROR.
csoai-org/pdf-document-mcp
xt765/mcp-document-converter
io.github.xjtlumedia/markdown-formatter
io.github.ai-aviate/better-notion
suekou/mcp-notion-server
meterlong/mcp-doc