
Ragstack
io.github.HatmanStack由 GitHub 帳號 HatmanStack 發布v0.1.4更新於 Oct 24, 2026
Search, chat, upload, and scrape a serverless RAGStack knowledge base on AWS.
概覽
讓 AI 助理連接自建的 AWS 無伺服器 RAGStack 知識庫,進行搜尋、對話、上傳與網頁擷取。
- 可以做什麼
- 在 RAGStack 知識庫中檢索並提供附來源引用的檢索增強回答
- 與知識庫對話,回傳可追溯的來源,媒體來源附時間戳連結
- 上傳並索引文件、圖片、影片與音訊,進行 OCR、轉錄與向量化
- 將網站擷取並加入知識庫
- 依自動探索的文件中繼資料篩選檢索結果
- 適用情境
- 適合已在 AWS 部署 RAGStack,並希望讓 Claude Desktop、Cursor 或 VS Code 等助理直接檢索與對話自有文件、圖片與影音資料庫的使用者,不必把內容貼進對話。
- 執行需求
- 以本機 Python 套件 ragstack-mcp 透過 uvx 啟動,需要 Python 與 uv。需已有 AWS 上的 RAGStack 部署,並設定兩個環境變數:RAGSTACK_GRAPHQL_ENDPOINT 與 RAGSTACK_API_KEY,皆可在 RAGStack 儀表板設定中取得。僅支援桌面版 MCP 用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Ragstack,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[Apache 2.0 License] [Python 3.13] [React 19]
[AWS Lambda] [AWS Bedrock] [AWS Transcribe] [AWS S3] [AWS DynamoDB] [AWS Cognito]
Serverless document and media processing with AI chat. Scale-to-zero architecture — no vector database fees, no idle costs. Upload documents, images, video, and audio — extract text with OCR or transcription — query using Amazon Bedrock or your AI assistant via MCP.
QUESTIONS? [Deep WIKI]
Features
- ☁️ Fully serverless architecture (Lambda, Step Functions, S3, DynamoDB)
- 🧠 NEW Amazon Nova multimodal embeddings for text and image vectorization
- 📄 Document processing & vectorization (PDF, images, Office docs, HTML, CSV, JSON, XML, EML, EPUB) → stored in managed knowledge base
- 🎬 NEW Video/audio processing - transcribe speech with AWS Transcribe, searchable by timestamp
- 💬 AI chat with retrieval-augmented context and source attribution
- 📎 Collapsible source citations with optional document downloads
- ⏱️ NEW Media sources with timestamp links - click to play at exact position
- 🔍 Metadata filtering - auto-discover document metadata and filter search results
- 🎯 Relevancy boost for filtered results - prioritize matches from metadata filters
- 🔄 Knowledge Base reindex - regenerate metadata for existing documents with updated settings
- 🗑️ Document management - reprocess, reindex, or delete documents from the dashboard
- 🌐 Web component for any framework (React, Vue, Angular, Svelte)
- 🚀 One-click deploy
- 💰 $7-10/month (1000 docs, Textract + Haiku)
Live Demo
Base Pipeline: The core document processing tool - upload, OCR, and query documents.
Project Showcase: See RAGStack powering a real application.
Quick Start
Option 1: One-Click Deploy (AWS Marketplace)
REPO IS IN ACTIVE DEVELOPMENT AND WILL CHANGE OFTEN
Deploy directly from the AWS Console - no local setup required:
- Subscribe to RAGStack on AWS Marketplace (free, not required - If subscribed Lambda roles auto-accept Bedrock model agreements on first invocation)
- Click here to deploy
- Enter a stack name (lowercase only, e.g., "my-docs") and your admin email
- Click Create Stack (deployment takes ~10 minutes)
After deployment:
- Check your email for the temporary password (from Cognito)
- Go to CloudFormation → your stack → Outputs tab to find the Dashboard URL (
UIUrl)
Option 2: Deploy from Source
For customization or development:
Prerequisites:
- AWS Account with admin access
- Python 3.13+, Node.js 24+
- uv (Python package manager)
- AWS CLI, SAM CLI (configured)
- Docker (for Lambda layer builds)
Option 3: Nested Stack Deployment
Deploy RAGStack as part of a larger CloudFormation stack. See Nested Stack Deployment Guide for details.
Quick example:
Web Component Integration
See RAGSTACK_CHAT.md for web component integration guide.
API Access
Server-side integrations use API key authentication. Get your key from Dashboard → Settings.
Web component uses IAM auth (no API key needed - handled automatically).
Each UI tab shows server-side API examples in an expandable section.
MCP Server (AI Assistant Integration)
Use your knowledge base directly in Claude Desktop, Cursor, VS Code, Amazon Q CLI, and other MCP-compatible tools.
Add to your AI assistant's MCP config:
Then ask naturally: "Search my knowledge base for authentication docs"
See MCP Server docs for full setup instructions.
Architecture
Usage
Documents
Upload documents in various formats. Auto-detection routes to optimal processor:
Processing time: UPLOADED → PROCESSING → INDEXED (typically 1-5 min for text, 2-15 min for OCR, 5-20 min for media)
Images
Upload JPG, PNG, GIF, WebP with captions. Both visual content and caption text are searchable.
Web Scraping
Scrape websites into the knowledge base. See Web Scraping.
Video & Audio
Upload MP4, WebM, MP3, WAV, M4A, OGG, or FLAC files. Speech is transcribed using AWS Transcribe and segmented into 30-second chunks for search. Sources include timestamps (e.g., "1:30-2:00") with clickable links that play at the exact position.
Features:
- Speaker diarization (identify who said what)
- Configurable language (30+ languages supported)
- Timestamp-linked sources in chat responses
See Configuration for language and speaker settings.
Chat
Ask questions about your content. Sources show where answers came from.
Documentation
- Configuration - Settings, quotas, API keys & document management
- Nested Stack Deployment - Deploy as part of larger CloudFormation stack
- Image Upload - Image upload and captioning
- Web Scraping - Scrape websites
- Metadata Filtering - Auto-discover metadata and filter results
- Chat Component - Embed chat anywhere
- API Reference - GraphQL API documentation
- Architecture - System design & API reference
- Development - Local dev
- Migration - Version migration guide
- Troubleshooting - Common issues
- Library Reference - Public API for lib/ragstack_common
Development
Deployment Options
Direct Deployment
Publish to AWS Marketplace (Maintainers)
To update the one-click deploy template:
This packages the application and uploads to S3 for one-click deployment.
Note: Currently requires us-east-1 (Nova Multimodal Embeddings). When available in other regions, use
--region <region>.
Acknowledgments
This project was inspired by:
- Accelerated Intelligent Document Processing on AWS - AWS Solutions Library reference architecture
- docs-mcp-server - MCP server for documentation search
來源:README.md,提交 518598d
工具
0版本歷史
1- v0.1.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分