Ragrabbit MCP Server
Open Source, Self-Hosted, AI Search and LLM.txt for your website
Ragrabbit scores 33 (Limited), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 135 stars. Package registries report about 8 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
33 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 33 comes from
0 + 5 + 7 + 10 + 4 + 7 = 33. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "madarco-ragrabbit": { "command": "npx", "args": [ "-y", "@ragrabbit/mcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Self Hosted Site AI Search, LLMs.txt, MCP Server that crawls your content. 1-Click Deploy on Vercel.

How it works
RagRabbit is a Next.js Turborepo app that uses Llamaindex with pgVector.
Features
- π¬ Chat Widget: Embeddable AI Chat agent and instant Search
- πΈοΈ Website Crawler: scrapes and index pages with pgVector and PostgreSQL
- π LLMs.txt Generation: fully customizable wiht ToC reorder
- π MCP Server:
npx @ragrabbit/mcpto access your docs from Claude Desktop and Cursor IDE - π οΈ Flexible: Authentication, Open Source, API Keys access
- π Easy Deployment: One-click setup on Vercel
Integrations:
Demo
View RagRabbit Demo Page

Install
To install on Vercel:
Requirements:
- Node.js 20.x
- PostgreSQL w/ pgVector
- OpenAI API Key
- (Optional) Trigger.dev API Key
Configuration
Set the following environment variables:
- OPENAI_API_KEY
For username/password login:
- ADMIN_USER
- ADMIN_PASSWORD
For email login:
- RESEND_AUTH=true
- To restrict access to those emails: RESEND_ALLOWED_EMAILS="test@test.com,foo@bar.com"
- To not send emails but logs the login link instead (in Vercel logs): SIMULATE_EMAILS=true
See .env.example for the complete list.
How to use
Use the Indexing section to add a new url/website to index, either a single url or a website to crawl recursively:

Then start the Job Runner (keep the tab open until it finish)

In the LLM.txt section you can preview the generated LLM.txt file:

You can then embed the widget in your site with the following snippet:
Chat Button
Embed a button at the bottom of your page:
<script src="https://<your deployed app>/widget.js"></script>

Chat Widget
Insert a search input anwhere in your page:

<script src="https://ragrabbit.com/widget.js?type=search"></script>
<ragrabbit-search></ragrabbit-search>
To use with React.js
"use client";
import Script from "next/script";
export function RagRabbitSearch() {
return (
<>
<Script src="/widget.js?type=search" strategy="lazyOnload" />
<style>{`
ragrabbit-search .ragrabbit-search-input {
padding: 6px 12px;
}
`}</style>
<div className="ml-auto min-w-[300px] flex-1 sm:flex-initial">
{/* @ts-ignore - Custom element will be mounted by external script */}
<ragrabbit-search></ragrabbit-search>
</div>
</>
);
}
MPC Server
The MCP Server allows any supported AI Clients to retrieve pages from your documentation using semantic search.
Claude Desktop
Add a custom mcp server with the name of your product, so that Claude AI can use it when looking for info about it.
in claude_desktop_config.json (Claude -> Settings -> Developer -> Edit Config)
{
"mcpServers": {
"<name_of_your_documentation_no_spaces>": {
"command": "npx",
"args": ["@ragrabbit/mcp", "http://<RagRabbit install>/", "<name of your documentation>"]
}
}
}
In Cursor IDE
Go to Cursor -> Settings -> Cursor Settings -> MCP
And add a new MCP of type command with the command:
npx @ragrabbit/mcp", "http://<RagRabbit install>/", "<name of your documentation>"
Arguments:
ragrabbit-url: (Required) The base URL of your RagRabbit instance, eg https://my-ragrabbit.vercel.com/name: (Required) Custom name for the documentation search service (defaults to "RagRabbit") so that AI will know to use it when looking for info
Configuration Options
Chat button
You can configure the chat button by adding the following parameters to the widget.js script tag:
buttonText
<script src="https://ragrabbit.com/widget.js?buttonText=Ask%20AI"></script>
Search widget
You can configure the search widget by adding the following parameters and use the mountSearch call:
searchPlaceholder
<div id="search-container"></div>
<script>
window.mountSearch("search-container", { searchPlaceholder: "Search documentation..." });
</script>
Integrations
Fumadocs
Create a component to replace the Search Dialog:
pnpm add @ragrabbit/search-react
"use client";
import type { SharedProps } from "fumadocs-ui/components/dialog/search";
import { RagRabbitModal } from "@ragrabbit/search-react";
export default function SearchDialog({ open, onOpenChange }: SharedProps) {
return <RagRabbitModal
domain="http://localhost:3000/"
open={open}
onOpenChange={onOpenChange}
/>;
}
Then set it in the layout.tsx:
<RootProvider
search={{
SearchDialog,
}}
>
...
</RootProvider>
Optionally add the Floating Chat button:
"use client";
import { RagRabbitChatButton } from "@ragrabbit/search-react";
export default function ChatButton() {
return <RagRabbitChatButton domain="http://localhost:3000/" />;
}
And add it to the layout.tsx:
<body className="flex flex-col min-h-screen">
<ChatButton />
...
Development
# Start the db (Docker needed)
pnpm dev:utils # Starts postgresql with pgvector, Storybook and Drizzle ORM Studio
# Start the app
cd apps/saas
pnpm dev
Directory structure:
RagRabbit is a monorepo with Turborepo a Next.js app and a modular design with separate packages.
apps/
βββ docs -> the documentation site
βββ saas -> the main application
βββ web -> the web site
packages/
βββ db -> the database with Drizzle ORM
βββ auth -> the authentication with Auth.js
βββ core -> shared utils
βββ design -> the design system
βββ rag -> the LLM and RAG package with LlamaIndexTS
βββ jobs -> job runner with Trigger.dev
βββ storybook -> a Next.js Storybook app
.cursorrules -> Fine tuned Cursor rules with all the locations to work with the monorepo
Author
Marco D'Alia - @madarco - Linkedin
License
MIT
Frequently asked questions
What is Ragrabbit MCP Server?
Open Source, Self-Hosted, AI Search and LLM.txt for your website
How do I install Ragrabbit MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Ragrabbit MCP Server runs locally from the npm package @ragrabbit/mcp with the command npx -y @ragrabbit/mcp.
Is Ragrabbit MCP Server free and open source?
Yes. Ragrabbit MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Ragrabbit MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Ragrabbit MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Ragrabbit MCP Server's trust score calculated?
Ragrabbit MCP Server scores 33 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetβBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.