# HatmanStack/ragstack-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/HatmanStack/RAGStack-Lambda/tree/main/src/ragstack-mcp  
**GitHub Stars:** 26  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hatmanstack-ragstack-mcp

## Description
MCP server for RAGStack serverless knowledge bases. Search, chat with AI-generated answers, upload documents/media, scrape websites, and analyze metadata through an AWS-powered RAG pipeline (Lambda, Bedrock, S3, DynamoDB).

## Tools
Capabilities this server exposes over MCP:

- **SUBPAGES** — Only URLs under the starting path
- **HOSTNAME** — All pages on the same subdomain
- **DOMAIN** — All subdomains of the domain
- **AUTO** — Try fast mode, fall back to full for SPAs
- **FAST** — HTTP only, faster but may miss JavaScript content
- **FULL** — Uses headless browser, handles all JavaScript

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "ragstack-mcp": {
    "command": "uvx",
    "args": ["ragstack-mcp"],
    "env": {
      "RAGSTACK_GRAPHQL_ENDPOINT": "",
      "RAGSTACK_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `RAGSTACK_GRAPHQL_ENDPOINT`, `RAGSTACK_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What HatmanStack/ragstack-mcp does

HatmanStack/ragstack-mcp exposes RAGStack knowledge-base operations as MCP tools. Assistants can search indexed content, ask questions that return AI-generated answers with source citations, and preserve chat context with a conversation ID. The server also supports ingestion workflows for documents, images, audio, and video, plus website scraping into the knowledge base.

Its tools cover more than retrieval. Read-only configuration inspection exposes settings for chat, metadata extraction, filtering, public access, document processing, media processing, and budget alerts. Metadata tools report discovered keys, generate filter examples, check proposed key similarity, and trigger analysis over sampled vectors.

## How it works

The server communicates with RAGStack through a GraphQL endpoint authenticated with an API key. It uses MCP over stdio, so an MCP client launches the `ragstack-mcp` command and passes connection details as environment variables.

Website ingestion starts with `start_scrape_job`, which accepts a starting URL and controls for page count, crawl depth, URL scope, inclusion and exclusion patterns, cookies, and scraping mode. `get_scrape_job_status` and `list_scrape_jobs` provide job tracking. `AUTO` mode tries HTTP retrieval before falling back to a browser, while `FAST` uses HTTP only and `FULL` uses a headless browser for JavaScript-heavy sites.

File ingestion is organized around presigned upload URLs. Document and media uploads use `upload_document_url`; image workflows use `upload_image_url`, optionally followed by `generate_image_caption`, then `submit_image` to finalize indexing. Audio and video can be transcribed and segmented for search.

## Setup and configuration

Install without a separate package setup using:

```bash
uvx ragstack-mcp
```

A global Python installation is also supported:

```bash
pip install ragstack-mcp
```

Set `RAGSTACK_GRAPHQL_ENDPOINT` to the GraphQL URL for the RAGStack knowledge base and `RAGSTACK_API_KEY` to an API key obtained from the RAGStack dashboard. Configure the client to launch `uvx` with `ragstack-mcp` as its argument. The documented client configurations include Claude Desktop, Cursor, VS Code with Cline, and VS Code with Continue.

## Tools and capabilities

- Search indexed documents with a configurable result limit.
- Ask questions with cited answers and optional conversation continuity.
- Start and monitor scoped website scraping jobs.
- Request upload URLs for supported documents, images, audio, and video.
- Generate image captions and submit images for indexing.
- Read current RAGStack configuration settings.
- Inspect metadata statistics and the available metadata key library.
- Generate filter examples using comparison and logical operators.
- Check proposed metadata keys for similarity before ingestion.
- Run metadata analysis over up to 1,000 sampled vectors.

Supported document formats include PDF, DOCX, XLSX, HTML, TXT, CSV, JSON, XML, EML, EPUB, and Markdown. Supported media includes common image, video, and audio formats such as JPEG, PNG, MP4, WebM, MP3, WAV, M4A, OGG, and FLAC.

## Limitations and notes

Configuration tools are read-only; changes must be made through the RAGStack admin dashboard with Cognito authentication. Metadata analysis is a long-running operation that can take one to two minutes and uses LLM analysis. `FAST` scraping may miss JavaScript-rendered content, while `FULL` uses a headless browser. Image caption generation is optional and requires the S3 URI returned by the image upload step.

_Full upstream README: https://allmcps.com/mcp/hatmanstack-ragstack-mcp/readme_

