
Ragstack
io.github.HatmanStackPublished by GitHub account HatmanStackv0.1.4Updated Oct 24, 2026
Search, chat, upload, and scrape a serverless RAGStack knowledge base on AWS.
Overview
Connects an AI assistant to a self-hosted, serverless RAGStack knowledge base on AWS for search, chat, upload and web scraping.
- What you can do
- Search and query a RAGStack knowledge base with retrieval-augmented answers and source citations
- Chat with the knowledge base and get attributed sources, including timestamp links for media
- Upload and index documents, images, video and audio for OCR, transcription and vectorization
- Scrape websites into the knowledge base
- Filter results by auto-discovered document metadata
- When to use it
- Useful when you have deployed RAGStack on AWS and want an assistant such as Claude Desktop, Cursor or VS Code to search and chat over your own document, image and media library instead of pasting content into the conversation.
- Requirements
- Runs locally as a Python package (ragstack-mcp) launched with uvx, so Python and uv are needed. Requires an existing RAGStack deployment on AWS plus two environment variables: RAGSTACK_GRAPHQL_ENDPOINT and RAGSTACK_API_KEY, both taken from the RAGStack dashboard settings. Desktop MCP client only.
Installation
In SourceWeft
- Open Ragstack in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit 518598d
Tools
0Version history
1- v0.1.4LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts