Ctx MCP — AI skill for Claude Code
Zero-dependency Rust in-RAM Context Broker & MCP server for AI coding agents (Antigravity, Claude Code, Codex).
How to install Ctx MCP
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open be0hhh/ctx-mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ctx MCP does
Zero-dependency Rust in-RAM Context Broker & MCP server for AI coding agents (Antigravity, Claude Code, Codex).
Alternatives in AI
- Xerj — Local-first search engine and MCP server for AI agents 12.5k ★
- Octocode — Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in o 464 ★
- onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
README
`ctx-mcp` — In-RAM Codebase Context Broker & MCP Server for AI Agents
[](https://github.com/be0hhh/ctx-mcp/actions/workflows/ci.yml) [](https://github.com/be0hhh/ctx-mcp/releases/latest) [](#license) 
`ctx-mcp` (`ctx`) is a fast, single-binary **in-RAM Context Broker and Model Context Protocol (MCP) server** written in pure Rust (`0` external crates). Instead of letting every AI coding agent blindly scan your repository from scratch on every prompt, `ctx-mcp` keeps a live, auto-invalidated index of your codebase in memory and answers multi-file navigation, symbol, and read queries in **one compact round-trip**.
[!IMPORTANT] **Current Validation Status — Battle-Tested on Google Antigravity (CLI, Desktop App 2.0 & IDE):**
- Google Antigravity (Gemini): Primary default target, thoroughly benchmarked and proven. Clean install automatically enables 5 eager navigation tools (
ctx_search,ctx_inspect,ctx_read,ctx_symbols,ctx_capsule), lifecycle hooks across CLI/App/IDE, and an automatic WSL2 <-> Windows Desktop App bridge. In end-to-end 5-agent parallel waves,ctx-mcpcuts parallel wave time by-51.8%, mean task time by-44.7%, tool round-trips by-64.3%, and new (uncached) input tokens by-38.5%while maintaining100%(20/20)file:lineaccuracy (see full comparison table below).- Claude Code: Opt-in (
--targets antigravity,claudeor toggle2inctx setup); stdio MCP and lifecycle hooks are supported.- Codex CLI (
GPT / Sol): Opt-in (--targets codexor toggle3). Reported transparently below: although `
Related Skills
Furl Ctx
Context compression for AI agents — cut token usage costs with retrievable CCR compression. Rust core + Python
Gographctx
Single-binary, zero-dependency code graph indexer & confidence-aware MCP server for Claude Code, Cursor & AI c
Agent Genesis Kit
Turn any generic LLM (Antigravity, Claude Code, Cursor, Windsurf) into a persistent senior engineering peer wi
Ctxray
See what your AI sees. AST-aware context compiler, Dependency PageRank budgeter, Agent Flight Recorder, Intera
Context Engine
Drop-in token saver for Claude Code & MCP agents — auto-rewrite hooks + 10-tool MCP server + BM25/PageRank rep
SynapseVault
Local-first, zero-dependency Python 3.11+ unified memory library for multi-Agent AI workflows (Cursor, Claude
Related Agents
Security Sentinel
Deep security review focused on OWASP Top 10, injection, auth/authz, data exposure, and dependency vulnerabili
Untrusted Reader
Reads external content that A3 classifies as untrusted, in an isolated context with no write tools. Use proact
Independent Reviewer
Product-technical alignment reviewer. Spawned in a tmux pane via OpenAI Codex CLI with zero inherited context.