IHMT Memory logo

IHMT Memory

Local, file-based long-term memory and codebase navigation for AI coding agents over standard MCP.

Install IHMT Memory

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ihmt-memory": {
      "command": "uvx",
      "args": [
        "ihmt-memory"
      ],
      "env": {
        "IHMT_HOME": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

IHMT Memory is a local MCP server that gives coding agents durable memory across sessions and projects, using a tree of plain text files. Its tools save, search, update, and classify long-term facts, while separate code tools map projects, locate symbols, read files, and retain session notes. Use it when agents need shared personal context without a cloud service or database, or when code exploration should return focused symbols instead of whole files. It runs over stdio and can be connected to supported MCP clients including Claude Code, Codex, opencode, and other local-MCP clients.

Use cases

  • Store architecture decisions and their rationale across coding sessions
  • Share development setup and preferences between multiple agents
  • Track corrected project facts while preserving older versions
  • Map unfamiliar repositories before opening individual files
  • Find relevant classes or methods without returning whole source files

Key features

  • Tree-based local memory stored as plain files
  • Cross-session search, saving, and outdated-memory tracking
  • Ambiguity handling with clue-based refinement
  • Checksum-synchronized project maps and symbol lookup
  • Diff-aware file reading and temporary session notes
  • Local stdio MCP deployment with configurable memory location

Tools9

What IHMT Memory lets your agent do. Expand a tool for its parameters.

Verified live~1.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 43d

What it can do

From the 9 tools this server returned when we ran it.

Handles credentials · 3Read-only tools · 9
Network at startup2 connections
Files written at startup11

Observed 2026-10-25 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · ihmt-memory (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars39Stargazers on the source repository.
Last commit20d agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How IHMT Memory works

What IHMT Memory does

IHMT Memory provides two kinds of context for AI coding agents: durable knowledge that survives future sessions and temporary notes that last only for the current session. Durable memories can cover decisions and their rationale, development setup, preferences, people, projects, and procedures. The storage is local and consists of readable files organized as a recursive hierarchy, so the memory can be backed up, copied, or placed under version control.

The server also supports focused codebase investigation. It can build a compact project map, find the class or method relevant to a question, return selected file ranges, and retain or condense information during a session. This makes it suitable for agents that need both personal continuity and repeatable repository exploration.

How it works

Memory is arranged as a tree rather than a flat collection. Text records sit at the leaves, with JSON summaries branching upward to a root file. Searches navigate from the root through relevant branches to matching leaves, returning the best result and concise alternatives. Full results can include identifiers, tree paths, and excerpts.

When a stored fact changes, the previous record remains as history and can be marked OUTDATED; searches prioritize its replacement. A search can report ambiguity instead of choosing between equally plausible memories, after which a place, date, project, or other clue can narrow the result.

Project indexes are created on first use and synchronized by file checksums on later calls. Reading a file again during the same session returns an unchanged indicator or a unified diff when appropriate, reducing repeated output.

Setup and configuration

IHMT Memory requires Python 3.10 or newer, git for the repository installation path, and an MCP client that can run local commands. The documented installation targets macOS and Linux; Windows instructions are available but are not tested. No administrator account, database, or paid service is required, and internet access is needed during installation to obtain the code or package.

A repository-based installation clones the project, creates a virtual environment, installs requirements-mcp.txt, and creates ~/.ihmt. The server can then be registered with a client using the virtual-environment Python executable and mcp_server.py. The PyPI route uses uvx ihmt-memory, avoiding a clone and virtual environment; pipx is also supported.

Set IHMT_HOME to place the memory in a folder other than ~/.ihmt, including an existing memory shared by multiple agents. The client-specific setup also adds the project’s memory instructions so the agent searches before answering and saves durable corrections. Supported installation examples cover Claude Code, Codex, and opencode.

Tools and capabilities

  • search_memory retrieves relevant long-term records, reports dates and alternate matches, and supports compact or full output.
  • save_memory stores durable knowledge with optional domains, content types, and replacement references.
  • mark_outdated links an older record to the newer memory that supersedes it.
  • project_map inventories files and optionally symbols and line ranges for a project or subdirectory.
  • find_code returns the matching class or method, with controls for test scope, subpaths, clues, and output size.
  • read_file returns full files or line ranges and can produce a diff against content already read in the session.
  • note stores temporary session knowledge, while recall searches those notes and digest_output condenses command output while keeping it queryable.

Limitations and notes

Session notes disappear when the session ends; durable facts should be saved with save_memory. The memory system is intended for durable knowledge rather than transient conversation or secrets. Retrieved memories are passed to the agent model as context. Chat-only assistants that cannot run terminal commands or edit configuration files cannot perform the installation themselves.

The server is designed for local operation and stores data on disk rather than in a cloud service or database. Official support is listed for Claude Code, with Codex and opencode tested as additional clients. Other clients that support local stdio MCP servers may work, but client-specific testing varies.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about IHMT Memory

IHMT Memory is an MCP server that connects AI coding agents to a local tree of plain-text memory files and codebase utilities. Its main tools search and save long-term knowledge, mark outdated memories, map projects, find code symbols, read files, and manage temporary session notes without requiring a cloud database.

Install it either by cloning the repository and creating a Python 3.10+ virtual environment, or by running the PyPI package with `uvx ihmt-memory`. Register the local stdio command with your MCP client, set `IHMT_HOME` if needed, and add the generated memory instructions to the agent configuration.

IHMT Memory stores its memory under `~/.ihmt` by default. Set the `IHMT_HOME` environment variable to use another directory, including a folder shared by multiple agents or copied between computers.

Cursor should work with IHMT Memory because it supports local MCP servers, and the project lists Cursor among clients expected to work. The documented tested clients are Claude Code, Codex, and opencode, so Cursor requires its own local MCP configuration.

Yes. Use `project_map` to index a project and `find_code` to return the class or method that answers a question. The search can restrict results to main code, tests, or both, and can limit the returned code with `max_tokens`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIHMT Memory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ihmt-memory?style=directory)](https://allmcps.com/mcp/ihmt-memory)
HTML Embed
<a href="https://allmcps.com/mcp/ihmt-memory"><img src="https://allmcps.com/api/badge/ihmt-memory?style=directory" alt="IHMT Memory on AllMCPs" /></a>