ctx

simota/ctx
★ 0 stars Rust Code/Dev Tools Updated today
Rust CLI/TUI/MCP server for selecting, budgeting, and packaging repository context for AI.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ctx": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "ctx"
      ]
    }
  }
}

README Excerpt

**LLM に渡す文脈を、選り分ける。** `ctx` は、リポジトリから AI に渡すコンテキストを作るための Rust 製 CLI / TUI / MCP server です。 ファイル構造、トークン数、Git 状態、シンボル、関連度を見ながら、必要なファイルだけを束ね、何を省いたかも記録します。 ```bash ctx --tokens --git --symbols . ctx where "session login" ctx where "session login" --format json | ctx pack --from-where --budget 30000 --out context.md

Topics

aiaxumclicode-searchcontextdeveloper-toolsllmmcprustsveltetree-sittertui