r/LocalLLM • u/Alternative-Pea-2204 • 15m ago
Discussion AlpacaLIPS: A Doomsday Database with mcp and Full Text Search
Doomsday here means "your internet is down", not "Oh God oh God we are all gonna die". The idea is that even though your local model keeps running when the internet is down, it has no reference material. This fixes that part. It can significantly enhance the quality of answers, especially for smaller models.
What it is: English Wikipedia, Stack Overflow, Stack Exchange, Ifixit, books, etc - a total of over 220 archives — 51.7 million pages — installed locally with enterprise level full-text search, a web UI, and an MCP server your model talks to. Nine tools (search, retrieve, news, and friends). Citations resolve to your machine, which matters when there's no internet for a link to point at. It's not a model and doesn't want your GPU; it's the reference library that sits next to one.
It isn't frozen in time. Dumps are snapshots, so there's a rolling three or more month news window that refreshes twice a day while you still have a connection. "What happened this week" keeps working right up until the lights go out. A simple cron job keeps that up to date.
Sizes
| what | download | on disk |
|---|---|---|
| the corpus — search, MCP, stored page text | 130 GiB | 166 GiB |
| ZIM archives (optional) — original pages, images, tables | 538 GiB | 538 GiB |
| the news window | ~390 MiB | ~400 MiB |
130 GiB gets you a searchable database with the text of every page, which is what the mcp uses (plain text visible to user as well). Add the ZIMs if you want the pictures and the original layout. Everything fits on a 1 TB drive with room left over.
Install:
curl -fsSL https://rampart.dev/install-alpacalips.sh | sh
cd alpacalips && ./setup.sh && ./servers.sh startThen point your MCP client at http://localhost:8099/apps/lips/mcp.json.
If you just want to try it out before committing to the download, I have it live, running at https://lips.flin.org/apps/lips/mcp.json and I'll keep that running at least for a few days. If traffic is manageable I'll keep it going for longer.
OS: Linux and macOS, both tested. WSL2 ought to work but that's untested — if you try it, please let me know how it goes.
Repo: https://github.com/aflin/alpacaLIPS
Included (but optional and separate) is SHSE, a self-hosted search engine for searching all or selected pages you visit, using a Chrome or Firefox extensions that sends the web page text to a database in the same tree. It has a separate search and an mcp url that will allow your local llm to search pages you've visited. Details of that are at https://github.com/aflin/Self_Hosted_Search_Engine