Query your local documents using Minima RAG system
Minima is an open-source Retrieval-Augmented Generation (RAG) system that operates on-premises through configurable containers. It allows users to query their local documents using various LLM interfaces while maintaining data privacy and security. The system supports multiple operation modes, including fully local installation, ChatGPT integration, and Anthropic Claude integration through MCP.
Minima is a powerful on-premises RAG system that lets you search and query your local documents using AI. It offers three distinct operation modes to suit different needs:
Isolated Installation: Run completely on-premises with containers, free from external dependencies. All neural networks (LLM, reranker, embedding) operate on your cloud or PC, ensuring your data remains secure.
ChatGPT Integration: Query your local documents using ChatGPT app or web with custom GPTs. The indexer runs on your cloud or local PC, while ChatGPT serves as the primary LLM.
Anthropic Claude Integration: Use Anthropic Claude app to query your local documents via MCP. The indexer operates on your local PC, while Claude serves as the primary LLM.
uv
package installed (for MCP usage).env
file in the project's root directory based on the provided .env.sample
.LOCAL_FILES_PATH=/path/to/your/documents/
EMBEDDING_MODEL_ID=sentence-transformers/all-mpnet-base-v2
EMBEDDING_SIZE=768
For fully local installation, also add:
OLLAMA_MODEL=qwen2:0.5b
RERANKER_MODEL=BAAI/bge-reranker-base
For ChatGPT integration, add:
USER_ID=your-email@example.com
PASSWORD=your-password
Choose one of the following commands based on your preferred mode:
Fully Local Installation:
docker compose -f docker-compose-ollama.yml --env-file .env up --build
ChatGPT Integration:
docker compose -f docker-compose-chatgpt.yml --env-file .env up --build
MCP Integration (for Anthropic Claude):
docker compose -f docker-compose-mcp.yml --env-file .env up --build
For automatic installation with Claude Desktop:
npx -y @smithery/cli install minima --client claude
cd electron
, run npm install
and npm start
to launch the Minima electron app.To use Minima with Claude Desktop, add the following to your Claude configuration file at /Library/Application Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"minima": {
"command": "uv",
"args": [
"--directory",
"/path_to_cloned_minima_project/mcp-server",
"run",
"minima"
]
}
}
}
Replace /path_to_cloned_minima_project
with the actual path to your cloned Minima repository.
Minima can index and search through the following file types:
All documents within the specified LOCAL_FILES_PATH folder and its subfolders will be indexed automatically.