Cover image
Try Now
6 天前

On-Premise-Konversationslappen mit konfigurierbaren Behältern

3 years

Works with Finder

717

Github Watches

70

Github Forks

717

Github Stars

MNMA Logo

Minima is an open source RAG on-premises containers, with ability to integrate with ChatGPT and MCP. Minima can also be used as a fully local RAG.

Minima currently supports three modes:

  1. Isolated installation – Operate fully on-premises with containers, free from external dependencies such as ChatGPT or Claude. All neural networks (LLM, reranker, embedding) run on your cloud or PC, ensuring your data remains secure.

  2. Custom GPT – Query your local documents using ChatGPT app or web with custom GPTs. The indexer running on your cloud or local PC, while the primary LLM remains ChatGPT.

  3. Anthropic Claude – Use Anthropic Claude app to query your local documents. The indexer operates on your local PC, while Anthropic Claude serves as the primary LLM.

Running as containers

  1. Create a .env file in the project’s root directory (where you’ll find env.sample). Place .env in the same folder and copy all environment variables from env.sample to .env.

  2. Ensure your .env file includes the following variables:

  • LOCAL_FILES_PATH
  • EMBEDDING_MODEL_ID
  • EMBEDDING_SIZE
  • OLLAMA_MODEL
  • RERANKER_MODEL
  • USER_ID
  • - required for ChatGPT integration, just use your email
  • PASSWORD
  • - required for ChatGPT integration, just use any password
  1. For fully local installation use: docker compose -f docker-compose-ollama.yml --env-file .env up --build.

  2. For ChatGPT enabled installation use: docker compose -f docker-compose-chatgpt.yml --env-file .env up --build.

  3. For MCP integration (Anthropic Desktop app usage): docker compose -f docker-compose-mcp.yml --env-file .env up --build.

  4. In case of ChatGPT enabled installation copy OTP from terminal where you launched docker and use Minima GPT

  5. If you use Anthropic Claude, just add folliwing to /Library/Application\ Support/Claude/claude_desktop_config.json

{
    "mcpServers": {
      "minima": {
        "command": "uv",
        "args": [
          "--directory",
          "/path_to_cloned_minima_project/mcp-server",
          "run",
          "minima"
        ]
      }
    }
  }
  1. To use fully local installation go to cd electron, then run npm install and npm start which will launch Minima electron app.

  2. Ask anything, and you'll get answers based on local files in {LOCAL_FILES_PATH} folder.

Explanation of Variables:

LOCAL_FILES_PATH: Specify the root folder for indexing (on your cloud or local pc). Indexing is a recursive process, meaning all documents within subfolders of this root folder will also be indexed. Supported file types: .pdf, .xls, .docx, .txt, .md, .csv.

EMBEDDING_MODEL_ID: Specify the embedding model to use. Currently, only Sentence Transformer models are supported. Testing has been done with sentence-transformers/all-mpnet-base-v2, but other Sentence Transformer models can be used.

EMBEDDING_SIZE: Define the embedding dimension provided by the model, which is needed to configure Qdrant vector storage. Ensure this value matches the actual embedding size of the specified EMBEDDING_MODEL_ID.

OLLAMA_MODEL: Set up the Ollama model, use an ID available on the Ollama site. Please, use LLM model here, not an embedding.

RERANKER_MODEL: Specify the reranker model. Currently, we have tested with BAAI rerankers. You can explore all available rerankers using this link.

USER_ID: Just use your email here, this is needed to authenticate custom GPT to search in your data.

PASSWORD: Put any password here, this is used to create a firebase account for the email specified above.

Example of .env file for on-premises/local usage:

LOCAL_FILES_PATH=/Users/davidmayboroda/Downloads/PDFs/
EMBEDDING_MODEL_ID=sentence-transformers/all-mpnet-base-v2
EMBEDDING_SIZE=768
OLLAMA_MODEL=qwen2:0.5b # must be LLM model id from Ollama models page
RERANKER_MODEL=BAAI/bge-reranker-base # please, choose any BAAI reranker model

To use a chat ui, please navigate to http://localhost:3000

Example of .env file for Claude app:

LOCAL_FILES_PATH=/Users/davidmayboroda/Downloads/PDFs/
EMBEDDING_MODEL_ID=sentence-transformers/all-mpnet-base-v2
EMBEDDING_SIZE=768

For the Claude app, please apply the changes to the claude_desktop_config.json file as outlined above.

Example of .env file for ChatGPT custom GPT usage:

LOCAL_FILES_PATH=/Users/davidmayboroda/Downloads/PDFs/
EMBEDDING_MODEL_ID=sentence-transformers/all-mpnet-base-v2
EMBEDDING_SIZE=768
USER_ID=user@gmail.com # your real email
PASSWORD=password # you can create here password that you want

Also, you can run minima using run.sh.

Installing via Smithery (MCP usage)

To install Minima for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install minima --client claude

For MCP usage, please be sure that your local machines python is >=3.10 and 'uv' installed.

Minima (https://github.com/dmayboroda/minima) is licensed under the Mozilla Public License v2.0 (MPLv2).

相关推荐

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • evalstate
  • Definieren, fordern und testen Sie MCP -fähige Agenten und Workflows

  • kubb-labs
  • Das ultimative Toolkit für die Arbeit mit APIs.

  • snexus
  • Abfragen lokaler Dokumente, angetrieben von LLM

  • 0xJacky
  • Noch ein Webui für Nginx

  • Tencent
  • Ein umfassendes, intelligentes, einfach zu bedienendes und leichtes Erkennungsentdeckungswerkzeug für Schwachstellen und MCP-Server-Sicherheitsrisiko-Scan-Tool.

  • mattzcarey
  • Ein erweiterbarer Code -Überprüfungsagent 🚢

  • heurist-network
  • Ein flexibles Multi-Grenz-AI-Agenten-Framework zum Aufbau von Agenten mit Argumentation, Werkzeuggebrauch, Speicher, tiefem Forschung, Blockchain-Interaktion, MCP und Agenten-AS-A-Service.

  • mixcore
  • 🚀 Ein zukunftssicheres Web-CMS, das sowohl kopflose als auch entkoppelte Ansätze unterstützt. Erstellen Sie jede Art von App mit anpassbaren APIs auf ASP.NET CORE/.NET CORE. Vollständig offen und für Flexibilität ausgelegt.

    Reviews

    3 (5)
    Avatar
    user_207o8mjI
    2025-04-23

    I've been a faithful user of minima by dmayboroda, and I must say it's a highly intuitive application. It effortlessly simplifies complex processes and offers a seamless user experience. The support and updates from the developer are commendable, adding to the overall satisfaction. Highly recommended!

    Avatar
    user_2jmkgZgM
    2025-04-23

    Minima by dmayboroda is a remarkable application that demonstrates a minimalist yet highly efficient approach to user experience. The clean interface and intuitive navigation make it a delight to use. As an MCP application enthusiast, I appreciate the seamless performance and the thoughtful design that clearly prioritizes user needs. Highly recommended for those who value functionality and simplicity in one package.

    Avatar
    user_I8W4aig6
    2025-04-23

    Minima by dmayboroda is an exceptional MCP application that stands out for its simplicity and efficiency. As a long-time user, I appreciate the intuitive design and smooth functionality which enhance productivity. The welcome messages are always engaging and helpful, making the onboarding process seamless. Highly recommended for anyone seeking a reliable and user-friendly MCP app!

    Avatar
    user_KdC4F9Bp
    2025-04-23

    As an avid user of MCP applications, I found Minima by dmayboroda to be an exceptional tool. Its intuitive design and seamless integration into my workflow are truly commendable. The product’s features and ease of use have significantly enhanced my productivity. Highly recommended for anyone seeking efficiency and reliability.

    Avatar
    user_E5ltKHYD
    2025-04-23

    Minima by dmayboroda is a remarkable MCP application that stands out for its simplicity and efficiency. As a dedicated user, I appreciate the seamless experience it offers, from its intuitive interface to its robust performance. The welcoming information is clear and helpful, making it easy to get started. Overall, Minima is a must-have for anyone looking to maximize productivity with minimal hassle. Highly recommend!