MCP.so
ログイン

File Search Assistant with LLM Integration

@Code-Trees

File Search Assistant with LLM Integration について

Learn how to: ✅ Build a file-search AI using natural language queries ✅ Create embeddings from local Linux files using Hugging Face models ✅ Integrate Gemini API (Google AI Studio) into your local apps ✅ Use MCP to control multiple agents with server-client architecture ✅ Apply c

基本情報

カテゴリ

検索

ランタイム

python

トランスポート

stdio

公開者

Code-Trees

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "Agentic_search": {
      "command": "python",
      "args": [
        "main.py"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is File Search Assistant with LLM Integration?

File Search Assistant with LLM Integration combines semantic search (BERT embeddings) with Google’s Gemini large language model to enable natural‑language file queries on Linux systems. It is built as an MCP server for file‑system integration.

How to use File Search Assistant with LLM Integration?

Install Python 3.8+ and dependencies (pip install -r requirements.txt), set the GEMINI_API_KEY in a .env file, then run python main.py. Enter a natural‑language query when prompted; the system extracts a filename via the LLM, performs semantic search, and displays matching file locations.

Key features of File Search Assistant with LLM Integration

  • Natural language file search queries
  • Semantic search using BERT embeddings
  • Gemini LLM integration for query understanding
  • Automatic file extension inference
  • MCP server for file system operations
  • Extensible architecture

Use cases of File Search Assistant with LLM Integration

  • Find a Python script that handles file operations by describing its purpose
  • Locate a document by describing its content or context
  • Search for files when the exact filename is forgotten

FAQ from File Search Assistant with LLM Integration

What are the prerequisites?

Python 3.8 or higher, a Linux operating system, and a Gemini API key. A CUDA‑compatible GPU is optional for faster processing.

How does the semantic search work?

It uses BERT embeddings for context‑aware file matching, combined with the LLM to convert natural language into search terms.

Where are the embeddings stored?

Embeddings are stored in the file OSData_store.pth inside the project directory.

What should I do if I get “Embeddings file not found”?

Run the command cd ~ && find / -type f 2>/dev/null >> Desktop/LLm_To_agent to rebuild the file index.

What transport or authentication does it use?

The README does not specify transport details. Authentication is handled via the Gemini API key set in the .env file.

コメント

「検索」の他のコンテンツ