Skip to main content
memorybase mcp
Starts a Model Context Protocol (MCP) server over standard input/output. This is what coding tools like Claude Code and Codex use to pull your memory into their sessions. You typically don’t run this command directly. Instead, you register it with your coding tool, and it runs automatically in the background when needed.

Setup for Claude Code

claude mcp add memorybase -- npx -y memorybase mcp
This tells Claude Code to start the MemoryBase MCP server whenever it needs your memory. You only need to run this once.

Setup for Codex

codex mcp add memorybase -- npx -y memorybase mcp

Setup for Other Tools

Any tool that supports MCP can connect to MemoryBase. Configure it to run:
npx -y memorybase mcp
as a stdio type MCP server.

What Tools Does the MCP Server Expose?

See the MCP Reference tab for the full list of tools that the MCP server makes available to your coding assistant.