rag_query
RAG-powered context retrieval
How to use it
Project documentation lists rag_query for the Grok Faf MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Grok Faf MCP
bunx grok-faf-mcpOther tools in Grok Faf MCP (19)
Auto-detect stack and populate context
Bi-directional .faf ↔ platform context
Intelligent enhancement
Pure introspection of the effective policy WITHOUT running the orchestrator. Returns { tier, thresholds, source, overridesapplied } — what aggressiveness tier the next orchestration call would use, and whether it came from defaults or a .faf:orchestration: override. No drift detection · no signals ·
Create project.faf from your project
Discover projects with .faf files
The heavy orchestrator. Reads current substrate state, composes the full 1.5 library substrate (drift detection · CheckID · repeat-offender · take-a-hint · refresh history), returns a structured Recommendation with recommend, severity, summary, reason, and a rich hints object including effectivepoli
Read any file
AI-readiness score (0-100%) with breakdown
Check current AI-readability
Sync .faf → CLAUDE.md
Validate .faf integrity
Write any file
Auto-load .faf context for Grok
Clear RAG cache
RAG cache statistics
The baked-in two-intensity refresh (Cmd+R / Cmd+Shift+R analog). mode: "blend" (default) fires refreshfaf (light) + refreshfafm (delta); mode: "nuke" fires both at hard intensity. Blend is BAKED IN, NOT a dial — both layers always fire; mode only affects fafm intensity.
Re-ground on the live .faf — re-read + re-score, report drift, return fresh DNA (drift → refresh → re-grounded). Requested by Grok.
Re-ground on the live .fafm memory layer for one or more souls. Returns a stamped delta (added/updated facts) by default; verbatim: true for full content. Read-only · always stamped. Sister to refreshfaf for the RAM/memory layer in the vROM/RAM model. Built for Grok, by request.