Skip to content
Prompt

rag-code-mcp — Windsurf Rules

by doITmagic

AI Summary

RagCode MCP is a semantic code navigation tool that integrates RAG-powered code search into Windsurf and other IDEs, enabling developers to intelligently query and understand multi-language codebases using local LLMs. It's ideal for developers working with Laravel, Go, Python, and PHP who need fast, context-aware code exploration without leaving their IDE.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "rag-code-mcp — Windsurf Rules" prompt rules to my project.
Repository: https://github.com/doITmagic/rag-code-mcp

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Semantic code navigation MCP server using RAG (Retrieval-Augmented Generation). Features multi-language support (Go, PHP, Laravel, Python, HTML), local LLMs (Ollama), and vector search (Qdrant) for IDEs like Cursor, Windsurf, Copilot and Claude.

⚖️ The Golden Rule

For any information about the codebase (structure, logic, or usage), you MUST use RagCode MCP tools. Never guess code details from memory; always search the local index first using search_code or get_function_details.

Guidelines

• Context First: Always call search_code when starting a task to see where relevant logic exists. • Actual Code: Use get_function_details to read the implementation of a function instead of assuming what it does. • Workspace Detection: Always provide the current file_path to the tools so they can identify the correct project/workspace. • No Guesswork: If you don't find something, index the workspace using index_workspace and search again.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
20 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars20
Forks1
Issues1
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more