bighippoman avatar

Memoir

bighippoman/memoir-mcp

Gives Claude a local SQLite journal to remember what happened across sessions. It automatically detects your project via git root and logs attempts, blockers, decisions, and their outcomes. When you start a fresh conversation, call get_handoff to pull a structured summary of what the last session tried, what's stuck, and why. You can query past sessions with get_history or filter for unresolved blockers. Everything lives in a single database file at ~/.memoir/memoir.db with rolling retention that keeps your last 20 sessions per project. Useful when you're iterating on something tricky and don't want to re-explain context or repeat failed approaches every time you open a new chat.

tools
8
transport
STDIO
env vars
4
last updated
Mar 6, 2026

Tools

8 tools

Public tool metadata for what this MCP can expose to an agent.

log_attemptRecord something that was tried and its outcome.

Record something that was tried and its outcome.

No parameter schema in public metadata yet.

log_blockerFlag something that's stuck and why.

Flag something that's stuck and why.

No parameter schema in public metadata yet.

resolve_blockerMark a blocker as resolved with what fixed it.

Mark a blocker as resolved with what fixed it.

No parameter schema in public metadata yet.

log_decisionRecord a design or architecture choice and its rationale.

Record a design or architecture choice and its rationale.

No parameter schema in public metadata yet.

end_sessionClose the current session with an optional summary.

Close the current session with an optional summary.

No parameter schema in public metadata yet.

get_handoffStructured summary of the last session -- what was attempted, what's blocked, what was decided.

Structured summary of the last session -- what was attempted, what's blocked, what was decided.

No parameter schema in public metadata yet.

get_historyQuery past sessions (default: last 3, max 20).

Query past sessions (default: last 3, max 20).

No parameter schema in public metadata yet.

get_blockersList unresolved (or resolved) blockers across all sessions.

List unresolved (or resolved) blockers across all sessions.

No parameter schema in public metadata yet.

Sponsors

Configuration

MEMOIR_MAX_CONTENT

Max characters for content fields

MEMOIR_MAX_OUTCOME

Max characters for outcome/resolution fields

MEMOIR_MAX_ENTRIES

Max entries per session

MEMOIR_MAX_SESSIONS

Max sessions per project (rolling)

Readme

memoir-mcp

Structured session journals for AI agents. Persistent memory across sessions -- no more repeating dead ends.

When a session ends, all reasoning is lost -- what was tried, what failed, what's blocked. The next session starts from scratch and repeats the same mistakes. memoir logs it all and hands it off so the next session picks up where the last one left off.

Works with any MCP client: Claude Code, Cursor, Codex, Windsurf, and more.

memoir-mcp MCP server

Install

Claude Code

claude mcp add memoir -s user -- npx -y memoir-mcp

Other MCP clients

npx -y memoir-mcp

How it works

  • Automatic project detection -- identifies the project by its git root, so logs stay scoped without any configuration.
  • Implicit sessions -- a session is created automatically on first log. No setup step.
  • Rolling retention -- keeps the last 20 sessions per project (configurable). Old sessions are pruned automatically.

Tools

Write


View the full README on GitHub

Details

Repository
github.com/bighippoman/memoir-mcp
Category
AI & LLM Tools
Package
memoir-mcp
Transport
STDIO
Registry
MCP registry, active

More from bighippoman

Related AI & LLM Tools MCP servers

View all
1bnmbnmai avatarApollo Intelligence Networkbnmbnmai/mcp-proxy54 AI agent tools: OSINT, intel feeds, DeFi, crypto, weather, DNS, proxies. x402 micropayments.0stars
2bonsai-tech-llc avatarClyptbonsai-tech-llc/clypt-mcpAI-native link intelligence — shorten, track, and manage links from any AI agent0stars
3chaelynet avatarChainMemorychaelynet/chainmemory-mcpVerifiable, portable AI memory. Optional vault: encrypted on your machine, 12 words only you hold.0stars
4cmdenney avatarLogicnodes Mcpcmdenney/logicnodes-mcp-bridgeRemote MCP for LogicNodes: Signed PII-Shield flagship + payable x402 agent tools on Base.0stars
5convrgent avatarAEO Scannerconvrgent/aeo-scanner-mcpAI visibility for ChatGPT/Perplexity/Claude — triple score (AEO+GEO+Agent) with fix code. Free.0stars
6corsur avatarSwarm Tips — Earn, Spend, and Discover for AI Agentsio.github.corsur/swarm-tips51 tools: on-chain verified tasks, staked games, x402 video, MCP search, agent reputation.0stars