mempalace-code

rergards/mempalace-code
★ 15 stars Python 🤖 AI/LLM Updated 4d ago
Offline-first AI memory for coding — mine codebases into a local LanceDB vector store with 18 MCP tools, temporal knowledge graph, and export/import. No API keys, no cloud, no server.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mempalace-code": {
      "command": "uvx",
      "args": [
        "mempalace-code"
      ]
    }
  }
}

Or install with pip: pip install mempalace-code

README Excerpt

<div align="center"> <img src="assets/mempalace_banner.jpg" alt="mempalace-code" width="640"> Index your codebase once. Your AI can recall architecture decisions, debugging sessions, and API patterns across sessions and projects without re-reading the repo. No cloud service, no API keys, no subscription. After the one-time embedding model download, indexing and search stay on your machine.

Tools (20)

codein_namespacein_projectis_layeris_patternmanualmempalace_add_drawermempalace_check_duplicatemempalace_code_searchmempalace_delete_drawermempalace_delete_wingmempalace_diary_readmempalace_diary_writemempalace_explain_subsystemmempalace_extract_reusablemempalace_file_contextmempalace_find_implementationsmempalace_find_referencesmempalace_find_tunnelsmempalace_get_taxonomy