{"id":27952,"library":"mempalace","title":"MemPalace","description":"MemPalace (v3.3.4) gives AI applications a memory by mining projects and conversations into a searchable, structured knowledge base. It uses a local language model (Ollama/LM Studio) for free setup, no API key required. Release cadence is active with multiple minor releases per month.","status":"active","version":"3.3.4","language":"python","source_language":"en","source_url":"https://github.com/MemPalace/mempalace","tags":["memory","AI","knowledge-base","LLM","retrieval","embedding"],"install":[{"cmd":"pip install mempalace","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Direct import of the class is required; bare module import does not expose the API.","wrong":"import mempalace","symbol":"MemPalace","correct":"from mempalace import MemPalace"}],"quickstart":{"code":"from mempalace import MemPalace\nmp = MemPalace()\nmp.mine(directory='./project')\nresults = mp.search('key concept')\nprint(results)","lang":"python","description":"Initialize MemPalace, mine a directory, and search for a concept."},"warnings":[{"fix":"pip install mempalace>=3.3.3","message":"In v3.3.2, the `mempalace-mcp` console script was missing from pyproject.toml, causing plugin installation failures. Upgrade to v3.3.4 to ensure the binary is present.","severity":"breaking","affected_versions":"3.3.2"},{"fix":"Ensure a local LLM server is running, or set environment variables to configure an external API endpoint.","message":"MemPalace by default uses a local LLM (Ollama/LM Studio/llama.cpp) for zero-cost setup. If no local LLM is running, it falls back gracefully but may not mine effectively.","severity":"gotcha","affected_versions":">=3.3.4"},{"fix":"Use `from mempalace import MemPalace` instead.","message":"The old API `import mempalace` without explicit class import is deprecated and may be removed in a future version.","severity":"deprecated","affected_versions":">=3.0.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"pip install mempalace","cause":"Package not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'mempalace'"},{"fix":"from mempalace import MemPalace","cause":"Importing the module directly instead of the class.","error":"AttributeError: module 'mempalace' has no attribute 'MemPalace'"},{"fix":"pip install mempalace>=3.3.3","cause":"Installation of v3.3.2 missing the console script entry point.","error":"mempalace-mcp: command not found"},{"fix":"Start Ollama with `ollama serve` or configure a different host/port via environment variable.","cause":"Local LLM server (Ollama) is not running or not reachable on default port.","error":"Ollama connection refused"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}