mcp-rag-server is a Model Context Protocol (MCP) server that enables Retrieval Augmented Generation (RAG) capabilities. It empowers Large Language Models (LLMs) to answer questions based on your document content by indexing and retrieving relevant information efficiently.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add rag -- npx mcp-rag-server~/.codex/config.toml
[mcp_servers.rag]
command = "npx"
args = ["mcp-rag-server"]
# codex mcp add rag -- npx mcp-rag-server~/.cursor/mcp.json
{
"mcpServers": {
"rag": {
"command": "npx",
"args": [
"mcp-rag-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"rag": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-rag-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rag": {
"command": "npx",
"args": [
"mcp-rag-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rag": {
"command": "npx",
"args": [
"mcp-rag-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"rag": {
"command": "npx",
"args": [
"mcp-rag-server"
]
}
}
}