MCP.so
Sign In

R2R MCP Server

@eagurin

Basic information

Category

Other

License

MIT license

Transports

stdio

Author

eagurin

About R2R MCP Server

R2R MCP Server provides Model Context Protocol (MCP) with R2R (Retrieval-to-Response) to improve interaction with Claude and other MCP-compatible models, providing access to knowledge bases.

R2R MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "r2r-mcp": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

R2R MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is 🚀 R2R MCP Server?

R2R MCP Server provides a Model Context Protocol (MCP) integration with the R2R (Retrieval-to-Response) system, enabling Claude and other MCP-compatible models to access knowledge bases through tools like search, RAG, web search, and agent research.

How to use 🚀 R2R MCP Server?

Install Python 3.12+, uv, clone the repository, create a virtual environment, install dependencies via make install or uv pip install ., then run mcp install app/server.py -v R2R_API_URL=... or -v R2R_API_KEY=... to register as an MCP plug-in. The server exposes tools such as search, rag, web_search, document_search, list_documents, and agent_research. Use make run to start locally.

Key features of 🚀 R2R MCP Server

  • MCP server for Claude and other MCP-compatible models
  • Asynchronous R2R client for high-performance knowledge base access
  • Search and RAG tools with vector, full‑text, and hybrid search
  • Structured logging via Loguru
  • Lightweight architecture with minimal dependencies
  • Web search and agent research for complex queries

Use cases of 🚀 R2R MCP Server

  • Search documents and retrieve specific text fragments
  • Answer questions with citations from your knowledge base
  • Conduct multi‑source research by combining different information sources
  • Fetch up‑to‑date information from the web when needed

Frequently asked questions

1

What tools does the server expose?

It provides `search` (vector/hybrid), `rag` (answer with citations), `web_search`, `document_search`, `list_documents`, and `agent_research` for complex LLM‑driven research.

2

What are the runtime dependencies?

Python ≥3.12, the `uv` package manager, and three core libraries: `mcp`, `r2r`, and `loguru`. Development and testing require additional packages like pytest, black, mypy, etc.

3

How do I configure the R2R API connection?

Set the `R2R_API_URL` (e.g., `https://api.sciphi.ai`) or `R2R_API_KEY` environment variable when installing the server with `mcp install app/server.py -v`.

4

Can the server work with models other than Claude?

Yes—it is compatible with any LLM that supports the Model Context Protocol, including custom MCP clients.

5

Are there performance benchmarks?

Yes, the project includes dedicated performance tests in `test_r2r_mcp_performance.py` that measure formatting speed and tool processing throughput.

Comments

More Other MCP servers