NL

nonatofabio/local_faiss_mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

36 stars 13 forks 품질 68 트렌드 0MIT

nonatofabio/local faiss mcp는 [T0]]에서 수입된 MCP 서버 후보입니다

개요

nonatofabio/local faiss mcp는 [T0]]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Retrieval-Augmented Generation (RAG) 애플리케이션을 사용하여 로컬 벡터 데이터베이스 기능을 제공하는 모델 Context Protocol (MCP) 서버.

특징

핵심 능력

  • **Local Vector Storage **: FAISS를 사용하여 외부 의존성 없이 효율적인 유사성 검색
  • Document Ingestion: 자동 펑크 및 저장 문서
  • Semantic Search: 문장 embeddings를 가진 자연적인 언어를 사용하는 Query 문서
  • Persistent Storage: 인덱스 및 메타데이터는 디스크에 저장됩니다.
  • **MCP 호환 **: 어떤 MCP 호환 AI 에이전트 또는 클라이언트와 함께 작동

v0.2.0 하이라이트

  • CLI Tool: local-faiss 독립 색인 및 검색 명령
  • 문헌 형식: Native PDF/TXT/MD 지원, DOCX/HTML/EPUB with pandoc -Re-ranking: 더 나은 결과를 위해 2 단계 retrieve 및 rerank
  • ** 사용자 정의 Embeddings**: Hugging Face embedding 모델 선택
  • MCP Prompts: 응답 추출 및 요약에 대한 내장 프롬프트

퀵스타트

또는 Claude Code로 사용 - MCP 클라이언트 구성 (설정 참조) 및 시도:

Claude는 벡터 저장소에서 관련 문서 펑크를 검색하고 질문에 답하기 위해 그들을 사용합니다.

설치

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Local FAISS MCP Server

A Model Context Protocol (MCP) server that provides local vector database functionality using FAISS for Retrieval-Augmented Generation (RAG) applications.

Features

Core Capabilities

  • Local Vector Storage: Uses FAISS for efficient similarity search without external dependencies
  • Document Ingestion: Automatically chunks and embeds documents for storage
  • Semantic Search: Query documents using natural language with sentence embeddings
  • Persistent Storage: Indexes and metadata are saved to disk
  • MCP Compatible: Works with any MCP-compatible AI agent or client

v0.2.0 Highlights

  • CLI Tool: local-faiss command for standalone indexing and search
  • Document Formats: Native PDF/TXT/MD support, DOCX/HTML/EPUB with pandoc
  • Re-ranking: Two-stage retrieve and rerank for better results
  • Custom Embeddings: Choose any Hugging Face embedding model
  • MCP Prompts: Built-in prompts for answer extraction and summarization

Quickstart

# Install
pip install local-faiss-mcp

# Index documents
local-faiss index document.pdf

# Search
local-faiss search "What is this document about?"

Or use with Claude Code - configure MCP client (see Configuration) and try:

Use the ingest_document tool with: ./path/to/document.pdf
Then use query_rag_store to search for: "How does FAISS perform similarity search?"

Claude will retrieve relevant document chunks from your vector store and use them to answer your question.

Installation

⚡️ Upgrading? Run pip install --upgrade local-faiss-mcp

pip install local-faiss-mcp

Optional: Extended Format Support

For DOCX, HTML, EPUB, and 40+ additional formats, install pandoc:

# macOS
brew install pandoc

# Linux
sudo apt install pandoc

# Or download from: https://pandoc.org/installing.html

Note: PDF, TXT, and MD work without pandoc.

From Source

git clone https://github.com/nonatofabio/local_faiss_mcp.git
cd local_faiss_mcp
pip install -e .

Usage

Running the Server

After installation, you can run the server in three ways:

1. Using the installed command (easiest):

local-faiss-mcp --index-dir /path/to/index/directory

2. As a Python module:

python -m local_faiss_mcp --index-dir /path/to/index/directory

3. For development/testing:

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "local-faiss-mcp": { "command": "local-faiss-mcp" } } }