RAGex icon

RAGex

Provides a secure, intelligent Model Context Protocol server for Claude and AI assistants, offering semantic, symbolic, and regex-based code search.

About

RAGex is an advanced MCP server designed to empower Claude Code and other AI coding assistants with sophisticated code search capabilities. Unlike traditional grep-based tools, RAGex understands code semantically by combining Retrieval-Augmented Generation (RAG) for natural language queries, Tree-sitter for language-aware symbol search, and Ripgrep for blazing-fast regex pattern matching. This unique blend allows AI to find 'auth functions' with semantic search, 'validateUser()' with symbol-aware search, and specific patterns with high performance, significantly enhancing the assistant's ability to navigate and understand codebases.

Key Features

  • 0 GitHub stars
  • Semantic search using RAG and sentence-transformers embeddings for natural language code queries
  • Intelligent code search with auto-detection of query patterns (regex, semantic, symbol-aware)
  • Fast regex search with Ripgrep and language-aware symbol search with Tree-sitter
  • JSON-RPC interface following MCP standards for seamless integration with AI coding assistants
  • Security-first design with input validation, path restrictions, file type filtering, and comprehensive exclusions

Use Cases

  • Enhancing Claude Code and other AI coding assistants with advanced code search capabilities.
  • Enabling natural language queries to find relevant code snippets within large codebases.
  • Providing precise symbol-aware and fast regex searches for AI-driven code analysis and development.
Advertisement

Advertisement