Show HN: Phileas – Local-first long-term memory for the AI you chat with Phileas, a local-first long-term memory layer for AI chatbots, launched on Hacker News. The open-source tool uses MCP to let any LLM read and write persistent context across sessions, running two small models locally on the user's machine. AI conversations reset every session. Phileas is a local memory layer that any LLM can read and write through MCP https://modelcontextprotocol.io/ , so context survives across sessions and tools. Python 3.11 or newer. An MCP client. Phileas exposes its memory over MCP. The setup wizard wires it into Claude Code https://docs.claude.com/en/docs/claude-code automatically; any other MCP client a GPT or Ollama front-end, and so on connects to phileas serve . A few hundred MB of disk and one download. Phileas runs two small models locally about 150 MB and depends on PyTorch. The steps below keep that download lean. python3 -m venv ~/.venvs/phileas an isolated environment source ~/.venvs/phileas/bin/activate pip install torch --index-url https://download.pytorch.org/whl/cpu pip install phileas-memory phileas init Phileas uses PyTorch only to run two small models an embedding model and a reranker on the CPU, so the first install line fetches PyTorch's lean CPU build. That keeps the download to a few hundred MB; without it, pip pulls the multi-gigabyte CUDA build on Linux. On macOS and Windows the CPU build is already the default, so that line is harmless there too. phileas init is the setup wizard: it chooses where memories live, connects Phileas to Claude Code, downloads the models, and starts the background daemon. Restart Claude Code afterward so it picks up the memory tools. The MCP server is launched by its full path, so Claude Code finds it whether or not the venv is active. To run phileas commands yourself such as phileas status , activate the venv first. The first run downloads two models from Hugging Face https://huggingface.co/ that then run locally: an embedding model all-MiniLM-L6-v2 and a reranker ms-marco-MiniLM-L-6-v2 , about 150 MB together. They are cached after the first download, so later runs work offline. No external LLM API key is needed: your MCP client's model does the reasoning, while embedding and reranking run on your machine. phileas init wires up Claude Code. Any other MCP client connects to the same server: phileas serve speaks MCP over stdio, so register it the way that client registers a stdio server. Most clients Cursor, Antigravity, and others read a JSON config with the same shape. Add Phileas to its mcpServers map: { "mcpServers": { "phileas": { "type": "stdio", "command": "/absolute/path/to/phileas", "args": "serve" } } } Use the absolute path to the phileas executable run command -v phileas to find it , since the client launches it without your shell's PATH or an active venv. To point a client at a named profile, add "env": {"PHILEAS PROFILE": "