cqs

jamie8johnson/cqs
★ 11 stars Rust AI/LLM Updated 4mo ago ✗ Risk
Code intelligence and RAG for AI agents: semantic search, call graphs, impact analysis, and context assembly in single tool calls. 54 languages + L5X/L5K PLC. 70.7% R@5 / 47.2% R@1 / 86.7% R@20 on v3.v2 dual-judge eval. Daemon mode (3-19ms). MCP server (cqs mcp). Local-first, GPU-accelerated.
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The cqs Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Code intelligence and RAG for AI agents: semantic search, call graphs, impact analysis, and context assembly in single tool calls. 54 languages + L5X/L5K PLC. 70.7% R@5 / 47.2% R@1 / 86.7% R@20 on v3.v2 dual-judge eval. Daemon mode (3-19ms). MCP server (cqs mcp). Local-first, GPU-accelerated. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the AI/LLM domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Route this complex analysis task to the connected model and return a structured JSON report."
"Compare the reasoning outputs between two connected models and highlight any discrepancies."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cqs": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "cqs"
      ]
    }
  }
}
⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,400+ MCP Ecosystem Dataset ($29) or the FastMCP + TypeScript Starter Kit ($39) with turnkey Docker & Cloudflare deployment.

README Documentation

Code intelligence and RAG for AI agents. Semantic search, call graph analysis, impact tracing, type dependencies, smart context assembly, and MCP server — all in single tool calls. Local ML embeddings, GPU-accelerated. TL;DR: Code intelligence toolkit for Claude Code. Instead of grep + sequential file reads, cqs understands what code *does* — semantic search finds functions by concept, call graph commands trace dependencies, and gather/impact/context assemble the right context in one c

View Full Documentation & Updates on GitHub ↗

Tools (20)

CQS_API_BASECQS_BATCH_AUDIT_RELOAD_SECSCQS_BATCH_CONFIG_RELOAD_SECSCQS_BATCH_DATA_IDLE_MINUTESCQS_BATCH_IDLE_MINUTESCQS_BATCH_MAX_LINE_LENCQS_BATCH_STALENESS_CHECK_MSCQS_BLAST_HIGH_MINCQS_BLAST_LOW_MAXCQS_BRUTE_FORCE_BATCH_SIZECQS_BUSY_TIMEOUT_MSCQS_CACHE_ENABLEDCQS_CACHE_MAX_SIZECQS_CAGRA_GRAPH_DEGREECQS_CAGRA_INTERMEDIATE_GRAPH_DEGREECQS_CAGRA_ITOPK_MAXCQS_CAGRA_ITOPK_MINCQS_CAGRA_MAX_BYTESCQS_CAGRA_MAX_GPU_BYTESCQS_CAGRA_PERSIST

Topics

ai-agentscall-graphclaude-codecode-intelligencecode-searchembeddingsragrustsemantic-searchvector-search
📊
Building AI Agents or Backtesting Quant Models?
Get the Polymarket Historical Dataset — 23.0M+ 15-minute price & orderbook snapshots across 18,400+ prediction markets. Clean CSV & SQLite download for backtesting & agent training.
Buy Dataset ($19) → View Sample →