SuperAPI AI Directory

minima

Minima is an open-source, locally deployable conversational RAG (Retrieval-Augmented Generation) tool that runs as a container and supports integration with ChatGPT, Anthropic Claude, and MCP. It offers four operating modes: a fully isolated Ollama local mode, a custom OpenAI-compatible LLM mode, a custom GPT mode, and an Anthropic Claude mode. Users can index documents such as PDF, Excel, Word, text, Markdown, and CSV from local folders, and ask questions based on these documents through a chat interface or external AI applications. The project is licensed under the Mozilla Public License v2.0.

Open website

About this tool

Minima is an open-source localized conversational RAG container solution designed to let users ask questions based on local documents while balancing data privacy and flexibility. Its core purpose is to build a vector index of documents in a specified folder and use a large language model to generate answers based on retrieved content.

In terms of main capabilities, Minima supports four operating modes:

  1. Isolated installation (Ollama): runs entirely locally or in a private cloud, with all neural networks (LLM, reranker, embedding model) executed locally, without relying on external services such as ChatGPT or Claude.
  2. Custom LLM (OpenAI-compatible API): the indexer runs locally, and the LLM can be deployed on your own server, in the cloud, or locally, supporting compatible endpoints such as vLLM, Ollama Server, TGI, LiteLLM, LocalAI, and OpenAI API, with no need to deploy Ollama and with lower resource usage.
  3. Custom GPT: the indexer runs locally or in the cloud, the main LLM uses ChatGPT, and local documents are queried through a custom GPT.
  4. Anthropic Claude: the indexer runs locally, the main LLM uses Anthropic Claude, and local documents are queried through the Claude app.

In terms of usage, the project provides a run.sh script as a quick start method and also supports manual Docker Compose commands. Users need to create a .env file in the project root directory and configure variables such as LOCAL_FILES_PATH (index root directory, recursively indexing subfolders, supporting .pdf, .xls, .docx, .txt, .md, .csv), EMBEDDING_MODEL_ID (currently only Sentence Transformer models are supported), EMBEDDING_SIZE, OLLAMA_MODEL, RERANKER_MODEL, LLM_BASE_URL, LLM_MODEL, LLM_API_KEY, USER_ID, and PASSWORD. Different modes correspond to different docker-compose files: docker-compose-ollama.yml, docker-compose-custom-llm.yml, docker-compose-chatgpt.yml, docker-compose-mcp.yml. After startup, you can use the chat interface via http://localhost:3000 ; in ChatGPT mode, you need to copy the OTP from the terminal and use the Minima GPT; in Claude mode, you need to modify claude_desktop_config.json; MCP mode can be integrated with GitHub Copilot and requires local Python >= 3.10 and uv installed. For a fully local installation, you can also enter the electron directory and run npm install and npm start to launch the desktop application.

Applicable scenarios include: enterprises or individuals with high data privacy requirements who want to build a document question-answering system locally or in a private environment; users who need to combine a local knowledge base with external LLMs such as ChatGPT and Claude; and scenarios where users want to connect local document retrieval capabilities to development tools through MCP.

In terms of limitations, the embedding model currently only supports the Sentence Transformer series; custom LLM mode does not perform reranking and uses direct vector retrieval; some configuration items (such as OLLAMA_MODEL and RERANKER_MODEL) are only required in specific modes; MCP integration has requirements for the Python version and uv. The project uses the MPLv2 license.