
一个自托管的家庭实验室知识代理平台。跨 Kiwix、FreshRSS、Open-Meteo、SearXNG、Uptime Kuma 和 Home Assistant 路由并融合查询,并跟踪时间的变化。
概览
一个统一的本地知识搜索API,用于自架家庭实验室。Mnemolis 作为内部网络上的 Docker 容器运行,通过单一端点将查询路由到相应的后端——离线知识、天气预报、RSS 新闻、实时网页搜索、服务监控或多个来源。当客户端需要答案而非原始文本——尤其是语音助手——它也可以仅根据检索材料生成简短、有根据的答案,并与原始结果一同返回(参见答案综合)。 它会同时暴露a和a,任何客户端都能连接到它。 这份 README 涵盖了它是什么、安装以及 API 参考。关于深入的机制细节、精确评分权重以及沿途发现和修复的真正错误,请参见 。
概述(AI 翻译)
一个统一的本地知识搜索API,用于自架家庭实验室。Mnemolis 作为内部网络上的 Docker 容器运行,并通过单一端点将查询路由到相应的后端——离线知识、天气预报、RSS 新闻、实时网页搜索、服务监控或多个来源同时进行。当客户端需要答案而非原始源文本——尤其是语音助手——它还可以仅从检索到的材料中生成简短、有根据的答案,并与原始结果一同返回(参见答案综合)。
它同时暴露了REST API和MCP服务器,因此任何客户端都可以连接。
这份README涵盖了它是什么、安装以及API参考。关于深入的机制细节、精确评分权重以及沿途发现和修复的真实bug,请参见Wiki。
为什么是Mnemolis
家庭实验室积累了真实且独特的真实来源——你自己的RSS订阅源、离线百科全书、天气、服务运行时间、Home Assistant状态——但每个家庭实验室通常都需要自己的查询语言、自己的客户端和自己的心理上下文切换。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Mnemolis
A unified local knowledge search API for self-hosted homelabs. Mnemolis runs as a Docker container on your internal network and routes queries to the appropriate backend — offline knowledge, weather forecast, RSS news, live web search, service monitoring, or multiple sources concurrently — via a single endpoint. When a client wants an answer rather than raw source text — voice assistants especially — it can also compose a short, grounded answer from the retrieved material only, returned alongside the raw result (see Answer Synthesis).
Exposes both a REST API and an MCP server so any client can connect to it.
This README covers what it is, installation, and the API reference. For deep-dive mechanism detail, exact scoring weights, and the real bugs found and fixed along the way, see the Wiki.
Why Mnemolis
A homelab accumulates real, distinct sources of truth — your own RSS feeds, an offline encyclopedia, weather, service uptime, Home Assistant state — but each one normally needs its own query language, its own client, its own mental context switch. Mnemolis exists so you can ask one plain-language question and not have to know in advance which backend actually has the answer, or query three of them yourself when the real answer spans more than one. It runs entirely on your own infrastructure — Open-Meteo is the one deliberate exception — so asking it something never means sending your query, your home’s state, or your reading habits to a third party.
Sources
| Source | Backend | Description |
|---|---|---|
kiwix |
Kiwix | Offline knowledge base — Wikipedia, Stack Exchange, iFixit, FreeCodeCamp, DevDocs |
forecast |
Open-Meteo | 3-day weather forecast, no API key required |
news |
FreshRSS | Recent articles from your RSS feeds via GReader API |
web |
SearXNG | Live web search via your local SearXNG instance |
uptime |
Uptime Kuma | Service monitor status — reports any down services |
ha |
Home Assistant | Entity state summaries — lights, locks, sensors, motion, batteries, power |
安装
docker run --rm -v mnemolis_data:/app/data -v $(pwd):/backup alpine \配置
{
"mcpServers": {
"mnemolis": {
"url": "http://your-host-ip:8888/mcp"
}
}
}