Skip to main content

RAG Tools (/mcp/rag)

tip

See RAG Overview for an introduction to ProxySQL's RAG capabilities, architecture, and use cases.

The tools available at the /mcp/rag endpoint are designed for Retrieval Augmented Generation (RAG) workflows, including advanced search and source data retrieval.

Search Tools

ToolDescription
rag.search_ftsPerforms a full-text search across indexed documents.
rag.search_vectorExecutes a vector-based semantic search.
rag.search_hybridCombines full-text and vector search for more relevant results.

Data Retrieval Tools

ToolDescription
rag.get_chunksRetrieves specific chunks of text from indexed documents.
rag.get_docsFetches metadata or full content for specified documents.
rag.fetch_from_sourceRetrieves the original source data for a given document or chunk.

Management & Monitoring

ToolDescription
rag.admin.statsProvides detailed statistics on RAG index usage and performance.