RAG MCP server
Provides local LLM support for the RAG workflow, allowing the server to run inference locally using models like llama2 pulled through Ollama
Handles dependency management for the project, providing streamlined installation of required packages for the MCP server
Serves as the runtime environment for the MCP server implementation, requiring version 3.12+ to run the RAG workflow and document processing
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RAG MCP serverexplain how Bonsai handles zero-knowledge proofs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RAG-MCP Server
A general-purpose Retrieval-Augmented Generation (RAG) server using the Model Control Protocol (MCP), designed to be tested with RISC Zero's Bonsai documentation.
Overview
This project implements a RAG server that:
Uses MCP (Model Control Protocol) for standardized communication
Implements RAG (Retrieval-Augmented Generation) workflow for document querying
Can be tested with RISC Zero's Bonsai documentation
Supports local LLM integration through Ollama
Related MCP server: linkup-mcp
Features
Document ingestion and indexing
Semantic search capabilities
Local LLM integration
MCP protocol compliance
RISC Zero Bonsai documentation support
Prerequisites
Python 3.12+
Ollama (for local LLM support)
Poetry (for dependency management)
Installation
Install Python dependencies:
poetry installInstall and start Ollama:
# Install Ollama
brew install ollama # for macOS
# or
curl -fsSL https://ollama.com/install.sh | sh # for Linux
# Start Ollama service
ollama servePull the required model:
ollama pull llama2Usage
Start the MCP server:
poetry run python mcp_server.pyThe server will:
Initialize the LLM and embedding model
Ingest documents from the data directory
Process queries using the RAG workflow
Test with RISC Zero Bonsai docs:
Place RISC Zero Bonsai documentation in the
data/directoryQuery the server about Bonsai features and implementation
Project Structure
mcp_server.py: Main server implementationrag.py: RAG workflow implementationdata/: Directory for document ingestionstorage/: Vector store and document storagestart_ollama.sh: Script to start Ollama service
Testing with RISC Zero Bonsai
The server is configured to work with RISC Zero's Bonsai documentation. You can:
Add Bonsai documentation to the
data/directoryQuery about Bonsai features, implementation details, and usage
Test the RAG workflow with Bonsai-specific questions
Made with ❤️ by proofofsid
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI coding assistants to search and retrieve information from a locally ingested knowledge base using hybrid search, grounded in user-curated documentation.17MIT
- Flicense-qualityBmaintenanceProvides web search and local document RAG using Ollama, enabling privacy-preserving AI assistance in Cursor IDE.
- Flicense-qualityDmaintenanceEnables semantic code search across codebases using AI embeddings and vector similarity, integrated with Claude Desktop and Cursor.
- Flicense-qualityDmaintenanceStores and searches AI-generated knowledge about software projects, enabling Cursor to access project structures, design patterns, best practices, and technical documentation.
Related MCP Connectors
Search your knowledge bases from any AI assistant using hybrid RAG.
A personal RAG database you build from chat, so AI creates work that sounds like you.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/proofofsid/rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server