query
(string, required): Search query in natural language
How to use it
query is exposed by the Devrag MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL DEVRAG LISTINGOther tools in Devrag (9)
delete_document
Remove a document from the index
directory
(string, optional): Filter to specific directory (e.g., "docs/api")
file_pattern
(string, optional): Glob pattern for filename (e.g., "api-.md", ".md")
filepath
(string): Path to the file to index
index_markdown
Index a markdown file
list_documents
List all indexed documents
reindex_document
Re-index a document
search
Perform semantic vector search with optional filtering
top_k
(number, optional): Maximum number of results (default: 5)