Gnosem — Claude Code MCP server: memory and setup
Gnosem gives MCP clients a shared store for facts and decisions. Use it when you move between AI tools and want them to recall the same project context.
claude mcp add --transport http gnosem https://gnosem.dev/mcpWhat Gnosem does
Gnosem is a hosted MCP server with one memory store shared across connected clients using the same API key. An agent can save facts, preferences, or decisions, search memories semantically, list recent entries, soft-delete one, or replace it with a corrected version.
Long entries are compressed when written, while the original text remains available; compression can also be disabled for an individual write. If the AI step fails, Gnosem still saves the memory. Set up the server in Claude Code and provide an API key. The key is shown once, so keep a copy.
What it helps with
- carry project decisions across sessions
- find saved context with a semantic query
- share memory between MCP clients
- replace stale notes with corrected ones
Example prompts for the agent
- Remember that this project uses PostgreSQL.
- Search my saved notes for the authentication decision.
- Replace the outdated API version note with this one.
How to install Gnosem
Platform CLI: remote server
claude mcp add --transport http gnosem https://gnosem.dev/mcpPlatform CLI: remote server
codex mcp add gnosem --url https://gnosem.dev/mcpConfig file
{
"mcpServers": {
"gnosem": {
"url": "https://gnosem.dev/mcp"
}
}
}Config file
{
"servers": {
"gnosem": {
"type": "http",
"url": "https://gnosem.dev/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http gnosem https://gnosem.dev/mcpStep 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 Gnosem
How do I install Gnosem in Claude Code?
Run claude mcp add --transport http gnosem https://gnosem.dev/mcp. Get a Gnosem API key to connect.
What does Gnosem do?
It stores facts, preferences, and decisions for MCP clients, with tools to search, list, remove, or supersede memories.
Can multiple MCP clients use the same Gnosem memory?
Yes. Connected clients using the same API key can read from and write to the shared store.