Vinkius
R2R logo
Vinkius
Vinkius runs on Claude Code

How to Use the R2R MCP in Claude Code

Connect Claude Code to your R2R engine for terminal-based RAG and vector search in your CI/CD pipelines.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

R2R MCP on Cursor AI Code Editor MCP Client R2R MCP on Claude Desktop App MCP Integration R2R MCP on OpenAI Agents SDK MCP Compatible R2R MCP on Visual Studio Code MCP Extension Client R2R MCP on GitHub Copilot AI Agent MCP Integration R2R MCP on Google Gemini AI MCP Integration R2R MCP on Lovable AI Development MCP Client R2R MCP on Mistral AI Agents MCP Compatible R2R MCP on Amazon AWS Bedrock MCP Support
MCP Servers — Included with Plan
Vinkius runs on Claude Code

Connect R2R MCP to Claude Code

Create your Vinkius account to connect R2R to Claude Code — we handle the hosting, security, and runtime updates so you don't have to. No server setup required.

GDPR Included with Plan

Key Capabilities

Headless RAG via Claude Code

Execute `rag_query` directly from your terminal. Use it in shell scripts or CI/CD jobs to generate context-aware reports from your R2R engine. It returns structured data ready for piping into other CLI tools. Automate your knowledge retrieval without a GUI.

Terminal-based vector search with Claude Code

Call `search` to find document chunks based on semantic similarity. It is ideal for searching massive logs or documentation sets stored in R2R. Integrate this into your workflow to verify documentation presence before deploying. Claude Code runs the search and displays the results in your standard output.

Monitor R2R via Claude Code

Use `get_health` to check your R2R engine availability within your automated pipeline. It provides a simple status check for your infrastructure. Combine this with `list_collections` to audit your data availability before running heavy ingestion jobs. It keeps your automation robust.

Setup guide

Set up R2R MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see r2r-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest R2R transactions." It will automatically discover and invoke the available R2R tools.

Terminal
claude mcp add --transport http r2r-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about R2R MCP in Claude Code

Use the tool-calling interface in your terminal. Call `search` with your query string to get semantic results directly in your shell.
Yes. The MCP Server allows you to chain `rag_query` and other operations within shell scripts, provided the server is connected via the standard transport.
The connection uses encrypted transport protocols between your terminal and the server. No data is stored in the cloud; all document indices remain under your local control.
Run `claude mcp list` to ensure the server is registered. Then execute `get_health` to confirm the R2R engine is responding.
Yes. All six tools, including `list_documents` and `get_document`, are fully accessible once you add the server via `claude mcp add`.

Start using the R2R MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 6 tools

We've already built the connector for R2R. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 6 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.