The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP Ragchat listing page.
An MCP server that adds RAG-powered AI chat to any website. One command from Claude Code.
Tell Claude Code "add AI chat to mysite.com" and it will crawl your content, build a local vector store, spin up a chat server, and hand you an embed snippet. No cloud infra. No database. Just one API key.
1. Clone and build
2. Configure Claude Code (~/.claude/mcp.json)
3. Use it
Open Claude Code and say:
"Add AI chat to mysite.com. Here's the content: [paste your markdown]"
Claude handles the rest.
| Tool | What it does |
|---|---|
ragchat_setup | Seed a knowledge base from markdown content. Each ## section becomes a searchable document with vector embeddings. |
ragchat_test | Send a test message to verify RAG retrieval and LLM response quality. |
ragchat_serve | Start a local HTTP chat server with CORS and input sanitization. |
ragchat_widget | Generate a self-contained <script> tag -- a floating chat bubble, no dependencies. |
ragchat_status | List all configured domains with document counts and config details. |
Everything runs locally. No cloud infrastructure. Bring your own API key.
| Provider | Env Var | Default Model |
|---|---|---|
| OpenAI | OPENAI_API_KEY | gpt-4o-mini |
| Anthropic | ANTHROPIC_API_KEY | claude-sonnet-4-5-20250929 |
| Google Gemini | GEMINI_API_KEY | gemini-2.0-flash |
| Provider | Env Var | Default Model |
|---|---|---|
| OpenAI | OPENAI_API_KEY | text-embedding-3-small |
| Google Gemini | GEMINI_API_KEY | text-embedding-004 |
| AWS Bedrock | AWS_REGION + IAM | amazon.titan-embed-text-v2:0 |
Override defaults with LLM_MODEL and EMBEDDING_MODEL environment variables.
<script> tag. No frameworks, no build step.Issues and pull requests are welcome.
Need multi-tenancy, security guardrails, audit trails, and managed infrastructure? Check out Supersonic -- the enterprise AI platform built on the same RAG pipeline.
MIT License -- Gabriel Ordonez