File Search Assistant with LLM Integration
@Code-Trees
About 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
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Agentic_search": {
"command": "python",
"args": [
"main.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
Frequently asked questions
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.
Basic information
More Search MCP servers
Version 2.0 is here!!
mixelpixxMCP Server built for use with Claude Code, Claude Desktop, VS Code, Cline - enable google search and ability to follow links and research websites
DuckDuckGo Search MCP Server
nickclydeA Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
Search Console Mcp
saurabhsharma2uSearch & analytics data as infrastructure — MCP server for Google Search Console, Bing Webmaster Tools, and GA4, designed for AI agents and automation.
Baidu AI Search
baidubceappbuilder-sdk, 千帆AppBuilder-SDK帮助开发者灵活、快速的搭建AI原生应用
Comments