Shared memory for Claude Code
Claude Code is Anthropic's terminal-based coding agent, and it is an MCP client, so it can connect to remote and local servers and call their tools mid-task. That makes it an ideal place to add Glen, shared memory for AI agents. By default each Claude Code session is its own world: it does not carry forward the decisions, conventions, and dead ends that you, or a teammate's Claude Code, worked out in earlier sessions. Glen turns that scattered, per-session context into one durable, organization-wide memory every Claude Code instance shares.
Connect Glen as an MCP server and Claude Code gains a single memory tool. As you work, it reads the context relevant to your current task and writes back new observations worth keeping, both in the same round trip, so there is no separate bookkeeping step. When your Claude Code discovers that a migration must always be run with a particular flag, or that one module is load-bearing in a non-obvious way, that fact is captured. The next session, yours or a colleague's, gets it back automatically the moment it becomes relevant.
The org-shared design is what makes this more than a personal notebook. Glen memory belongs to the organization, so every engineer's Claude Code draws from and contributes to the same store. Knowledge one person's agent learns is instantly useful to everyone else's, which is exactly the multiplier a team wants from agentic coding. Setup is a one-time MCP connection authorized over OAuth; after that, the memory accumulates as a natural byproduct of using Claude Code, and new teammates inherit the full history without any per-user setup. The last conversation turn the tool sees is always the user's current prompt, so the context it returns is tuned to what you are doing right now.
Add Glen to Claude Code
Add to ~/.claude.json
{
"mcpServers": {
"glen": {
"type": "http",
"url": "https://tryglen.com/api/mcp"
}
}
}claude mcp add --transport http glen https://tryglen.com/api/mcpHeads up
- First tool call opens a browser to authorize.
FAQ
- How do I add Glen to Claude Code?
- Register it as an MCP server and authorize it; Claude Code connects to the remote endpoint over OAuth and exposes the memory tool to the agent.
- Is the memory shared across my team's Claude Code?
- Yes. Glen is org-scoped, so every teammate's Claude Code reads and writes the same memory and inherits what the team has already learned.