DuckDB RAG MCP Sample
markdown 문서를 포함 벡터화하여 MCP에서 RAG로 설명할 수 있는 샘플입니다.
벡터화에는 Plamo-Embedding-1B 를 사용합니다.
기능
- markdown 파일에서 텍스트 추출 및 벡터화
- DuckDB를 사용하여 벡터 검색
- Parquet 파일로 벡터 데이터 지속성
- MCP에서 벡터 검색
사용방법
벡터 데이터 생성
먼저 검색할 markdown 파일을 특정 디렉토리에 넣고 다음 명령을 사용하여 Parquet 파일로 변환하십시오.
MCP 설정
빌드
다음 명령은 단일 바이너리를 dist/server
로 생성합니다.
MCP 클라이언트 설정
사용하려는 클라이언트에 따라 설정하십시오.
Claude Desktop의 경우는 다음과 같은 느낌입니다.
VECTOR_PARQUET는 이전에 변환된 파일을 지정해야 합니다.
다음과 같이 설정됩니다.
개발 서버 시작
라이센스
DuckDB RAG MCP Sample은 Apache License, Version 2.0에서 제공됩니다.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
An MCP server that enables RAG (Retrieval-Augmented Generation) on markdown documents by converting them to embedding vectors and performing vector search using DuckDB.
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server for converting Markdown documents to PDF files.Last updated -11JavaScript
- AsecurityAlicenseAqualityConverts various file formats to Markdown using the MarkItDown utility and can be integrated with MCP clients for seamless document processing and conversion.Last updated -26PythonMIT License
Vectorizeofficial
AsecurityAlicenseAqualityVectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.Last updated -36067JavaScriptMIT LicenseAgentsetofficial
AsecurityAlicenseAqualityAn open-source platform for Retrieval-Augmented Generation (RAG). Upload documents and query them ⚡Last updated -1415JavaScriptMIT License