RagRabbit MCP server

Integrates with RagRabbit to crawl websites, generate vector embeddings, and enable search and question answering from indexed content for domain-specific information retrieval.
Back to servers
Setup instructions
Provider
Marco D'Alia
Release date
Feb 27, 2025
Language
TypeScript
Package
Stats
321 downloads
111 stars

RagRabbit's MCP Server allows AI clients to access your documentation through semantic search. It provides a bridge between AI assistants like Claude Desktop and Cursor IDE and your indexed documentation.

Installation

The MCP Server can be easily installed using npm:

npx @ragrabbit/mcp "http://your-ragrabbit-instance.com/" "your-documentation-name"

Requirements

  • Node.js 20.x
  • A running RagRabbit instance with indexed documentation
  • Access to Claude Desktop or Cursor IDE (for AI integration)

Setting Up AI Client Integration

Claude Desktop Integration

To allow Claude AI to access your documentation:

  1. Open Claude Desktop
  2. Go to Settings → Developer → Edit Config
  3. Add a custom MCP server to the configuration:
{
  "mcpServers": {
    "your_documentation_name": {
      "command": "npx",
      "args": ["@ragrabbit/mcp", "http://your-ragrabbit-instance.com/", "your documentation name"]
    }
  }
}

Cursor IDE Integration

To use the MCP server with Cursor:

  1. Open Cursor IDE
  2. Navigate to Cursor → Settings → Cursor Settings → MCP
  3. Add a new MCP of type command with the following:
npx @ragrabbit/mcp "http://your-ragrabbit-instance.com/" "your documentation name"

Command Parameters

The MCP server accepts the following parameters:

  • ragrabbit-url (Required): Base URL of your RagRabbit instance (e.g., https://my-ragrabbit.vercel.com/)
  • name (Required): Custom name for the documentation search service that helps AI assistants understand when to use this knowledge source

Usage with RagRabbit

Before using the MCP server, make sure you have:

  1. Indexed your documentation in the RagRabbit admin interface
  2. Completed the indexing job (keep the job runner tab open until finished)
  3. Verified that your content is available in the LLM.txt preview

Once these steps are complete, the MCP server will be able to retrieve information from your indexed content and provide it to AI assistants when queried about topics related to your documentation.

Testing the Integration

After setting up the MCP server:

  1. In Claude Desktop, ask a question about your documentation
  2. Claude should recognize the topic and use your MCP server to provide accurate information
  3. Similarly, in Cursor IDE, the AI should be able to reference your documentation when answering related queries

The AI assistants will automatically recognize when to use your documentation based on the name you provided during setup.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "ragrabbit" '{"command":"npx","args":["@ragrabbit/mcp","http://<RagRabbit install>/","<name of your documentation>"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "ragrabbit": {
            "command": "npx",
            "args": [
                "@ragrabbit/mcp",
                "http://<RagRabbit install>/",
                "<name of your documentation>"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "ragrabbit": {
            "command": "npx",
            "args": [
                "@ragrabbit/mcp",
                "http://<RagRabbit install>/",
                "<name of your documentation>"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later