DuckDB-RAG-MCP-Sample
DuckDB RAG MCP Sample
markdown 문서를 포함 벡터화하여 MCP에서 RAG로 설명할 수 있는 샘플입니다.
벡터화에는 Plamo-Embedding-1B 를 사용합니다.
기능
markdown 파일에서 텍스트 추출 및 벡터화
DuckDB를 사용하여 벡터 검색
Parquet 파일로 벡터 데이터 지속성
MCP에서 벡터 검색
Related MCP server: RAG-MCP
사용방법
벡터 데이터 생성
먼저 검색할 markdown 파일을 특정 디렉토리에 넣고 다음 명령을 사용하여 Parquet 파일로 변환하십시오.
uv run main.py --directory ~/path/to/markdown/files --parquet vectors.parquetMCP 설정
빌드
다음 명령은 단일 바이너리를 dist/server 로 생성합니다.
uv run pyinstaller --clean --strip --noconfirm --onefile server.pyMCP 클라이언트 설정
사용하려는 클라이언트에 따라 설정하십시오.
Claude Desktop의 경우는 다음과 같은 느낌입니다.
VECTOR_PARQUET는 이전에 변환된 파일을 지정해야 합니다.
uv run mcp install server.py -v VECTOR_PARQUET=/path/to/vectors.parquet다음과 같이 설정됩니다.
{
"mcpServers": {
"DuckDB-RAG-MCP-Sample": {
"command": "/path/to/dist/server",
"env": {
"VECTOR_PARQUET": "/path/to/vectors.parquet"
}
}
}
}개발 서버 시작
uv run mcp dev server.py라이센스
DuckDB RAG MCP Sample은 Apache License, Version 2.0에서 제공됩니다.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).24536MIT
- Flicense-qualityDmaintenanceA Retrieval Augmented Generation MCP server that ingests documents into a local vector database and enables semantic search queries.10
- Alicense-qualityDmaintenanceMCP RAG Server is a Python MCP server that indexes documents in multiple formats (Markdown, text, PowerPoint, PDF) using multilingual-e5-large embeddings and enables vector search for retrieval-augmented generation.MIT
- Alicense-qualityCmaintenanceAn MCP server that enables semantic search over a private knowledge base via pgvector, with GitHub OAuth authentication and a RAG pipeline.11MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nananaman/DuckDB-RAG-MCP-Sample'
If you have feedback or need assistance with the MCP directory API, please join our Discord server