danielguru avatar

Repomemory

danielguru/repomemory

Gives Claude persistent memory across coding sessions by maintaining a structured knowledge base in your repo's `.context/` directory. Exposes seven MCP tools including `context_search` for hybrid keyword and semantic search, `context_auto_orient` for session startup, and `context_write` for recording facts, decisions, and regressions. Auto-captures session summaries on shutdown and routes context intelligently between repo-specific and global developer preferences. Works with Claude Desktop natively via MCP, and integrates with Cursor through slash commands that let their AI populate context without external API keys. The `analyze` command uses Claude or other LLMs to scan your codebase and generate initial context entries. Useful when you're tired of re-explaining your architecture every conversation or want to prevent agents from reintroducing previously fixed bugs.

tools
7
transport
STDIO
last updated
Feb 18, 2026

Tools

7 tools

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

context_searchHybrid keyword + semantic search across repo + global context

Hybrid keyword + semantic search across repo + global context

No parameter schema in public metadata yet.

context_auto_orientOne-call orientation: index, preferences, recent sessions, recent changes

One-call orientation: index, preferences, recent sessions, recent changes

No parameter schema in public metadata yet.

context_writeWrite entries with smart scope routing (preferences → global)

Write entries with smart scope routing (preferences → global)

No parameter schema in public metadata yet.

context_readRead full content, repo-first with global fallback

Read full content, repo-first with global fallback

No parameter schema in public metadata yet.

context_listBrowse entries with [repo]/[global] provenance tags

Browse entries with [repo]/[global] provenance tags

No parameter schema in public metadata yet.

context_riskAssess modification risk — hotspots, hidden coupling, bus factor

Assess modification risk — hotspots, hidden coupling, bus factor

No parameter schema in public metadata yet.

context_deleteRemove stale knowledge

Remove stale knowledge

No parameter schema in public metadata yet.

Sponsors

Readme

repomemory

Your codebase never forgets.

AI agents lose context every session. repomemory fixes that — one command creates a persistent, searchable knowledge base that any AI tool can read, search, and write to.

npm version npm downloads license CI

npx repomemory go

The Problem

Every time you open a project with Claude Code, Cursor, Copilot, or any AI coding agent:

  • It re-discovers your architecture from scratch
  • It proposes changes that were already debated and rejected
  • It re-introduces bugs that were already fixed

View the full README on GitHub

Details

Repository
github.com/danielguru/repomemory
Categories
AI & LLM Tools, Search & Web Crawling
Package
repomemory
Transport
STDIO
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1dbsectrainer avatarMcp Eval Runnerdbsectrainer/mcp-eval-runnerA standardized testing harness for MCP servers and agent workflows0stars
2vickhunter avatarAllagiovickhunter/allagio-pluginAgent-to-agent partnerships on ORP: find counterparties, negotiate deals, settle.0stars
3slipstack avatarSlipstack PDFdev.slipstack/pdfGenerate invoice and receipt PDFs from JSON. Agent-callable document API with a free demo quota.0stars
4sunrays avatarSunrays — Local Service Bookingdev.sunrays/bookingBook local tradespeople — plumber, electrician, HVAC, and 7 more — via your AI agent. All US.0stars
5true402 avatarMcp Servertrue402/mcp-serverPay-per-call AI + web + on-chain tools over x402 (USDC on Base): LLM, SEO, extract, token safety.0stars
6cf-worker avatarApollo Salesforce Mapperdev.workers.selbyventurecap.cf-worker/apollo-salesforce-mapperApollo->Salesforce Lead mapper. No LLM. Strict-fail required fields. PASS/REPAIR/FAIL verdict.0stars