marm-mcp-server — Claude Code MCP server: features and setup
This server gives AI agents shared local memory for notes, decisions, and project history. It can also index a repository so agents can find symbols and trace code paths.
claude mcp add marm-mcp-server -- uvx marm-mcp-serverWhat marm-mcp-server does
marm-mcp-server stores conversations, notes, and summaries in local memory that agents can search. It also builds a code graph for a repository, helping agents locate symbols and follow paths through the code. A concept graph links stored decisions, errors, and ideas to relevant code when available.
The server supports HTTP and STDIO, and agents can use the same memory across sessions. To connect it to Claude Code, run claude mcp add marm-mcp-server -- uvx marm-mcp-server. The memory is local, not a remote shared service; the project provides a swarm profile for multiple agents.
What it helps with
- carry decisions and notes between agent sessions
- search stored conversations for past context
- locate symbols and code paths in a repository
- connect stored ideas and errors to project code
Example prompts for the agent
- Save this project decision to shared memory.
- Find the notes about the earlier database connection error.
- Locate this symbol in the repository and trace the code paths that use it.
How to install marm-mcp-server
Platform CLI
claude mcp add marm-mcp-server -- uvx marm-mcp-serveruvx runs the command named after the package; if the README names another one, use uvx --from marm-mcp-server <command>
Platform CLI
codex mcp add marm-mcp-server -- uvx marm-mcp-serveruvx runs the command named after the package; if the README names another one, use uvx --from marm-mcp-server <command>
Config file
{
"mcpServers": {
"marm-mcp-server": {
"command": "uvx",
"args": [
"marm-mcp-server"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from marm-mcp-server <command>
Config file
{
"servers": {
"marm-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"marm-mcp-server"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from marm-mcp-server <command>
Platform CLI
gemini mcp add marm-mcp-server uvx marm-mcp-serveruvx runs the command named after the package; if the README names another one, use uvx --from marm-mcp-server <command>
Step 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 marm-mcp-server
How do I install marm-mcp-server in Claude Code?
Run claude mcp add marm-mcp-server -- uvx marm-mcp-server to connect the server.
What does marm-mcp-server do?
It stores searchable local memory for AI agents and builds a code graph for repositories.
Which transports does marm-mcp-server support?
It works over HTTP and STDIO. Agents can share the same local memory across sessions.