- Install Synapto and initialize the database:
pip install synapto
createdb synapto && psql -d synapto -c "CREATE EXTENSION vector;"
synapto init- Add to your Claude Code MCP config.
Recommended (auto-updates via uvx) — add to ~/.claude/.mcp.json:
{
"mcpServers": {
"synapto": {
"command": "uvx",
"args": ["synapto", "serve"]
}
}
}Per-project with tenant isolation (.claude/settings.json in your repo root):
{
"mcpServers": {
"synapto": {
"command": "uvx",
"args": ["synapto", "serve"],
"env": {
"SYNAPTO_DEFAULT_TENANT": "my-project"
}
}
}
}Why uvx? It resolves the latest version from PyPI each time Claude Code starts the server. No manual
pip install --upgradeneeded.
- Restart Claude Code. Synapto tools will appear in your tool list.
Claude Code will automatically use Synapto tools. You can also ask directly:
- "Remember that Hermes uses the outbox relay pattern for Kafka"
- "What do you know about our Kafka architecture?"
- "What depends on the agent.trigger topic?"
- "Show me memory stats"
synapto import ~/.claude/projects/your-project/memory/MEMORY.md --format markdown -t your-projectThis imports each ## Section as a separate stable memory with full semantic search.
Use per-project configs with different tenants to keep memories isolated:
# In project A's .claude/settings.json
"env": { "SYNAPTO_DEFAULT_TENANT": "project-a" }
# In project B's .claude/settings.json
"env": { "SYNAPTO_DEFAULT_TENANT": "project-b" }