Praxis RAG logo

Praxis RAG

Self-hosted RAG with hybrid retrieval, source citations, Console, REST API, and MCP access.

Install Praxis RAG

Run the project’s own setup commands, in order.

Setup steps from the project

Praxis-RAG installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/Guan0923/Praxis-RAG.git
    
  2. 2. Run
    cd Praxis-RAG
    

Overview

Praxis-RAG MCP server provides self-hosted document retrieval with evidence that points back to source text and sections. A Go service accepts documents and retrieval requests through its Console, REST API, and MCP interface, while Qdrant handles indexed search and MySQL tracks ingestion tasks. Kafka and a document worker process parsing, chunking, and indexing asynchronously in the full deployment. Reach for Praxis-RAG when an assistant or application needs searchable private documents with inspectable retrieval results.

Use cases

  • Search private manuals and return traceable passages
  • Build assistant retrieval over self-hosted documents
  • Expose cited knowledge-base results through MCP
  • Inspect indexed evidence through a Console or REST API

Key features

  • Hybrid BM25 and dense retrieval
  • Source excerpts with chunk identifiers
  • Console, REST API, and MCP interfaces
  • Qdrant-backed document indexing
  • Optional model-based reranking
  • Mock retrieval quick start

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

4/4 checks healthy over the last 13d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit11d agoMost recent push to the default branch.

How Praxis RAG works

What Praxis-RAG does

Praxis-RAG is a self-hosted knowledge base for AI assistants and business applications. Its main purpose is document retrieval that preserves enough context to check where an answer came from. Results include an original text fragment, a source reference, and a chunk identifier, allowing an application or reviewer to trace a retrieved passage back to its indexed material.

The project exposes the same retrieval service through three entry points: a web Console, a REST API, and MCP. The Console can be used to import documents and inspect search results. The repository includes an X7 maintenance manual example, including a demonstration search for the E03 fault code and its corresponding manual section.

How it works

The Go retrieval service coordinates document ingestion and search. In the full topology, Qdrant stores the searchable index, while MySQL records ingestion tasks and their status. Kafka carries change notifications from MySQL through Debezium CDC to a document worker. That worker parses documents, divides them into chunks, creates document vectors through a model API, and writes the indexed content to Qdrant.

Search is synchronous at the service layer. The system supports hybrid retrieval, combining BM25 and dense retrieval with reciprocal rank fusion (RRF). A model API can also provide vectorization and optional reranking. Retrieved evidence is returned with its source information rather than only as an untraceable generated answer.

A lightweight debug command can run the bundled example search without starting the database services or configuring a model API key. It uses mock mode to verify the example path and return sample results.

Setup and configuration

The quick-start path requires Git and Go 1.27 or newer. Clone the repository, enter its directory, and run the debug command with a query and result limit:

sh
git clone https://github.com/Guan0923/Praxis-RAG.git
cd Praxis-RAG
go run ./cmd/rag-mcp-debug --query "RRF 怎么融合 BM25 和 Dense?" --limit 2

A successful example run reports mock mode and two results. Each result contains fields such as Text, Source, and ChunkID. This path downloads Go dependencies but does not require a database or model API key.

The complete deployment uses the service, Qdrant, MySQL, Kafka, Debezium CDC, a document worker, and a model API. Documents can then be imported and searched through the Console, REST API, or MCP interface.

Tools and capabilities

  • Retrieve document passages through Console, REST API, or MCP.
  • Import documents for processing and indexing.
  • Combine BM25 and dense retrieval with RRF-based fusion.
  • Return source references, original text excerpts, and chunk IDs with results.
  • Use optional model-based reranking.
  • Run bundled mock searches for local verification.

The documented default search settings return up to five results from ten candidates. Requests may use up to 100 candidates and return up to ten results. Batch uploads accept up to ten files, with a 10 MiB limit per file.

Limitations and notes

The service defines a 120-second search timeout budget. Evidence artifacts are retained for one hour by default, so applications that need longer-lived references should account for that retention window. The complete architecture has more operational dependencies than the mock quick start, including Qdrant, MySQL, Kafka, Debezium CDC, a worker, and a model API.

The example command validates the bundled retrieval flow in mock mode; it is not the same as deploying the full ingestion and search stack. Production setup therefore requires following the service topology and configuring the supporting components used by the selected deployment.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Praxis RAG

Praxis-RAG is an MCP server that connects AI assistants and applications to a self-hosted document knowledge base. Its main interfaces are MCP, a REST API, and a Console, with retrieval results that include source references, original text excerpts, and chunk identifiers for checking evidence.

Install Git and Go 1.27 or newer, clone the repository, and run its debug command. The quick-start path downloads Go dependencies and runs the bundled mock retrieval example without a database or model API key.

The mock quick-start search does not require a database. A complete deployment uses Qdrant for the search index and MySQL for ingestion tasks, with Kafka and a document worker supporting asynchronous document processing.

Praxis-RAG returns the retrieved text together with a source reference and chunk ID. These fields let applications and users inspect the passage and identify the indexed document location behind a retrieval result.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPraxis RAG AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/praxis-rag?style=directory)](https://allmcps.com/mcp/praxis-rag)
HTML Embed
<a href="https://allmcps.com/mcp/praxis-rag"><img src="https://allmcps.com/api/badge/praxis-rag?style=directory" alt="Praxis RAG on AllMCPs" /></a>