Ragstack MCP logo

Ragstack MCP

by HatmanStack

Connects AI assistants to RAGStack knowledge bases for search, chat, ingestion, web scraping, and metadata analysis.

Install Ragstack MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hatmanstack-ragstack-mcp": {
      "command": "uvx",
      "args": [
        "ragstack-mcp"
      ],
      "env": {
        "RAGSTACK_GRAPHQL_ENDPOINT": "YOUR_VALUE_HERE",
        "RAGSTACK_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx ragstack-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

HatmanStack/ragstack-mcp connects MCP-compatible assistants to RAGStack knowledge bases through a configured GraphQL endpoint and API key. It supports knowledge-base search, cited AI answers, website scraping jobs, document and media ingestion, image captioning, and metadata analysis. Use it when an assistant needs to retrieve from or add content to a RAGStack knowledge base, including audio and video transcripts. The server runs as a standard stdio process through `uvx` or a Python installation.

Use cases

  • Search a RAGStack knowledge base for relevant documents
  • Ask questions over indexed documents with source citations
  • Scrape documentation websites into a knowledge base
  • Upload documents, images, audio, and video for indexing
  • Analyze metadata keys and generate search filters

Key features

  • Knowledge-base search and cited chat
  • Configurable website scraping jobs
  • Document and media upload workflows
  • Image caption generation and indexing
  • Metadata statistics and filter analysis
  • Read-only RAGStack configuration inspection

Tools6

What Ragstack MCP lets your agent do. Expand a tool for its parameters.

Self-reported~65 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

27/27 checks healthy over the last 113d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · ragstack-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars26Stargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed6Callable tools this server registers over MCP.
Directory activity9 viewsConfig copies, upvotes, and views on AllMCPs.

How Ragstack MCP works

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:

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ragstack MCP

HatmanStack/ragstack-mcp is an MCP server that connects AI assistants to RAGStack knowledge bases through a GraphQL endpoint and API key. Its main tools search content, return cited AI answers, start and monitor website scraping, upload documents and media, caption images, and analyze metadata used for filtering.

Install it with `uvx ragstack-mcp`, or use `pip install ragstack-mcp` for a global Python installation. Configure your MCP client to launch `uvx` with `ragstack-mcp` as the argument.

Set `RAGSTACK_GRAPHQL_ENDPOINT` and `RAGSTACK_API_KEY`. The endpoint identifies the RAGStack GraphQL API, while the API key authenticates access and can be obtained from the RAGStack dashboard.

Yes, HatmanStack/ragstack-mcp works with Cursor through its MCP server settings. Add a server that runs `uvx ragstack-mcp` and provide the GraphQL endpoint and API key as environment variables.

Yes, it can scrape JavaScript-rendered websites with `scrape_mode` set to `FULL`. `AUTO` first tries the faster HTTP mode and falls back to a headless browser, while `FAST` may miss JavaScript content.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRagstack MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hatmanstack-ragstack-mcp?style=directory)](https://allmcps.com/mcp/hatmanstack-ragstack-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hatmanstack-ragstack-mcp"><img src="https://allmcps.com/api/badge/hatmanstack-ragstack-mcp?style=directory" alt="Ragstack MCP on AllMCPs" /></a>