Skip to main content
MCP server CX Codex

memtomem — Claude Code MCP server: memory and setup

A local memory layer for AI coding agents that indexes notes and code, then retrieves them with keyword and semantic search.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add memtomem -- uvx memtomem
Open on GitHub

What memtomem does

memtomem builds a searchable knowledge base from Markdown notes, documents, and code. It handles .md, .json, .yaml, .toml, .py, and JavaScript/TypeScript files, combining BM25 keyword matching with vector similarity. Your files remain the source of truth while the database can be rebuilt.

The server runs locally and connects to Claude Code with claude mcp add memtomem -- uvx memtomem. Core memory actions happen when the agent calls them; client hooks are optional integrations. Python 3.12 or newer is required, so check that runtime before setup.

What it helps with

  • carry notes across agent sessions
  • retrieve related content by meaning
  • index Markdown and code together
  • give Claude Code access to local memory

Example prompts for the agent

  • Check the memtomem connection and call the mem_status tool.
  • Search memory for deployment notes and return related entries.
  • Save this decision to memory with the ops tag.

How to install memtomem

Platform CLI

claude mcp add memtomem -- uvx memtomem

uvx runs the command named after the package; if the README names another one, use uvx --from memtomem <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 memtomem

How do I install memtomem in Claude Code?

Run claude mcp add memtomem -- uvx memtomem.

What does memtomem do?

It indexes notes, documents, and code, then retrieves them through keyword matching and semantic similarity. An AI agent accesses the local index through MCP.

What does memtomem require?

Python 3.12 or newer is required. The server runs locally, and Markdown files remain the source of the stored knowledge.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor