minima
by dmayboroda·★ 1,048·综合分 52
Minima 是一个带有 MCP 集成的本地 RAG 系统,可安全地查询本地文档。
概述
Minima 是一个开源的本地 RAG 系统,以容器方式运行,内置 MCP 支持。它可以完全在本地使用 Ollama 运行,或者与多种 LLM 提供商(包括 ChatGPT、Anthropic Claude 或自定义 OpenAI 兼容 API)集成。该系统会索引文档,并通过多种界面允许用户查询它们,确保数据隐私同时保持部署选项的灵活性。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当你需要安全的本地文档检索与RAG功能,并希望与Claude或ChatGPT等AI助手集成时,选择Minima。
什么时候不要选它
如果你需要保留高级文档格式、要求实时协作功能,或不想自托管而需要完全管理的云服务,则不应选择Minima。
此 server 暴露的工具
从 README 抽取出 3 个工具(置信度较低)query_documentsSearch and retrieve information from local documents
index_filesIndex local files for retrieval-augmented generation
search_local_filesSearch through indexed local files for relevant information
说明:Tool names inferred from documentation as specific MCP tools aren't explicitly named. The server appears to document functionality rather than explicit tool names.
可对比工具
安装
Docker 安装
- 克隆仓库并导航到它
- 创建 .env 文件,使用 .env.sample 作为模板
- 设置所需变量(LOCAL_FILES_PATH, EMBEDDING_MODEL_ID, EMBEDDING_SIZE)
- 运行:
docker compose -f docker-compose-mcp.yml --env-file .env up --build
Claude Desktop 集成
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"minima": {
"command": "uv",
"args": [
"--directory",
"/path_to_cloned_minima_project/mcp-server",
"run",
"minima"
]
}
}
}GitHub Copilot 集成
创建或更新 .vscode/mcp.json:
{
"servers": {
"minima": {
"type": "stdio",
"command": "path_to_cloned_minima_project/run_in_copilot.sh",
"args": [
"path_to_cloned_minima_project"
]
}
}
}FAQ
- Minima 支持哪些文件类型?
- Minima 支持 .pdf、.xls、.docx、.txt、.md、.csv 文件类型用于索引和检索。
- Minima 可以与自定义 LLM 服务器一起使用吗?
- 是的,Minima 通过 OpenAI 兼容 API 支持自定义 LLM 服务器,包括 vLLM、TGI、Ollama 服务器、LiteLLM、LocalAI 和任何 OpenAI 兼容端点。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by dmayboroda · 2024-12-11
- Minima▲ 3帖子 by handfuloflight · 2024-12-02
- 帖子 by dmayboroda · 2025-01-15
minima 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。