# gogabrielordonez/mcp-ragchat [Health: Active]

**Category:** 🗣️ Conversational AI  
**Repository:** https://github.com/gogabrielordonez/mcp-ragchat  
**GitHub Stars:** 2  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gogabrielordonez-mcp-ragchat

## Description
Add RAG-powered AI chat to any website with one command. Local vector store, multi-provider LLM (OpenAI/Anthropic/Gemini), self-contained chat server and embeddable widget.

## Tools
Capabilities this server exposes over MCP:

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

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What gogabrielordonez/mcp-ragchat MCP server does

The gogabrielordonez/mcp-ragchat MCP server creates a retrieval-augmented chat experience from Markdown content. It treats each `##` section as a separate searchable document, generates embeddings, and stores the resulting documents and vectors locally. A configured domain receives its own settings and vector data under `~/.mcp-ragchat/domains/`.

The project covers the main steps needed to add chat to a site: preparing content, checking retrieval quality, starting a local chat endpoint, and producing browser embed code. It is suited to FAQs, menus, product information, and other relatively compact website knowledge bases.

## How it works

`ragchat_setup` splits supplied Markdown into sections and creates embeddings for those sections. During a chat request, the server embeds the user’s question, compares it with stored vectors using cosine similarity, and selects the top three matching chunks. Those chunks are combined with the system prompt and user message before being sent to the selected language model.

The vector store uses local JSON files rather than a separate database or hosted vector service. Chat is handled by a Node.js HTTP server that provides CORS support and input sanitization. The generated widget is a dependency-free `<script>` tag that displays a floating chat bubble and connects to the local server.

## Setup and configuration

Install Node.js 20 or newer, clone the repository, then run `npm install` and `npm run build`. Configure the built `dist/mcp-server.js` as a stdio MCP server in Claude Code or another MCP-compatible client. The README’s example passes an API key through the MCP configuration’s `env` object.

The available language-model providers are OpenAI, Anthropic, and Google Gemini. OpenAI and Gemini can also provide embeddings, while AWS Bedrock supports embeddings through `AWS_REGION` and IAM credentials. Default models can be changed with `LLM_MODEL` and `EMBEDDING_MODEL`. At least one suitable provider configuration is needed for the operations you use.

## Tools and capabilities

- `ragchat_setup` creates or seeds a domain knowledge base from Markdown and reports the document count.
- `ragchat_test` sends a question through retrieval and generation so you can inspect the answer and retrieval behavior.
- `ragchat_serve` starts the local HTTP chat service.
- `ragchat_widget` returns the self-contained browser script for embedding the chat interface.
- `ragchat_status` lists configured domains, document counts, and configuration details.

A typical workflow runs setup first, tests a representative question, starts the server, and then adds the returned widget script to the site. The server exposes a `POST /chat` endpoint and serves the widget from the local HTTP process.

## Limitations and notes

The gogabrielordonez/mcp-ragchat MCP server stores its knowledge base in local JSON files, so it is intended for local or self-managed deployments rather than a managed multi-tenant service. API usage still depends on the provider selected for embeddings and chat responses, even though the vector store and server run locally.

The widget has no framework or build-step dependency, but it must be able to reach the HTTP server URL generated by the deployment. The README specifically demonstrates local hosting, so exposing the service publicly may require additional network and security configuration outside this project.

_Full upstream README: https://allmcps.com/mcp/gogabrielordonez-mcp-ragchat/readme_

