rag-code-mcp
Verified Safeby doITmagic
Overview
Provides AI-ready semantic code search and RAG capabilities for various programming languages to AI assistants, running entirely locally.
Installation
rag-code-mcpEnvironment Variables
- OLLAMA_BASE_URL
- OLLAMA_MODEL
- OLLAMA_EMBED
- QDRANT_URL
- QDRANT_COLLECTION
- QDRANT_API_KEY
- MCP_LOG_LEVEL
- MCP_LOG_FILE
- WORKSPACE_COLLECTION_PREFIX
- WORKSPACE_ENABLED
- WORKSPACE_AUTO_INDEX
- WORKSPACE_MAX_WORKSPACES
Security Notes
The server is designed for 100% local operation, significantly reducing external network attack surfaces. It primarily interacts with local Ollama and Qdrant instances. File system access for code analysis is expected for its functionality, but no dynamic code execution (`eval`-like mechanisms) from user input are observed. The installer requires broad system permissions for Docker setup and binary installation, which is a standard pattern for such tools. Input validation is performed for tool arguments, mitigating some injection risks.
Similar Servers
abcoder
An AI-oriented code processing framework that parses code into a universal AST, and provides tools for LLMs to understand and interact with code repositories for AI-assisted programming tasks like reviewing, optimizing, or translating code.
Context-Engine
A Retrieval-Augmented Generation (RAG) stack for codebases, enabling context-aware AI agents for developers and IDEs through unified code indexing, hybrid search, and local LLM integration.
codegraph-rust
CodeGraph transforms your codebase into a semantically searchable knowledge graph to augment AI coding assistants with deep understanding and advanced reasoning capabilities beyond simple file searching.
qdrant-loader
The QDrant Loader MCP Server provides advanced Retrieval-Augmented Generation (RAG) capabilities to AI development tools by bridging a QDrant knowledge base. It offers intelligent search through semantic, hierarchy-aware, and attachment-focused tools, integrating seamlessly with MCP-compatible AI tools to provide context-aware code assistance, documentation lookup, and intelligent suggestions.