Skip to content

Releases: Rohithmatham12/ContextOS

v0.1.2 — MCP Server

Choose a tag to compare

@Rohithmatham12 Rohithmatham12 released this 30 Jun 21:27

What's New

MCP Server (contextos serve)

ContextOS now runs as a Model Context Protocol server — AI agents can call it directly as a tool instead of running CLI commands.

pip install "rm-contextos[mcp]"
contextos serve --stdio /path/to/project

6 tools exposed:

  • scan_repo — index a repo (incremental cache, only re-scans changed files)
  • pack_context — get task-relevant context pack with token savings report
  • list_files — rank all files by relevance to a task
  • get_file — read a file with automatic secret redaction
  • get_summary — static analysis summary (imports, exports, symbols)
  • churn_report — most-modified files from git history

Claude Desktop integration:

{
  "mcpServers": {
    "contextos": {
      "command": "contextos",
      "args": ["serve", "--stdio", "/path/to/project"]
    }
  }
}

Git Churn Scoring

Files modified frequently in recent git history now get a scoring boost. Shown in list_files output as churn:Ncommits.

Incremental Scan Cache

Re-scanning an unchanged repo is now near-instant — files with matching content hashes are skipped.

Token Savings Report

contextos pack now shows:

  Token savings vs no ContextOS
    Without ContextOS : ~284,000 tokens  (entire repo, 126 files)
    With ContextOS    : ~8,000 tokens  (15 files)
    Saved             : ~276,000 tokens (97% reduction)

Install:

pip install rm-contextos          # base
pip install "rm-contextos[mcp]"   # + MCP server
pip install "rm-contextos[all]"   # everything

v0.1.1

Choose a tag to compare

@Rohithmatham12 Rohithmatham12 released this 30 Jun 00:39

What's Changed

  • Fix PyPI metadata: author name/email now shows correctly as Rohith Matam
  • Fix PyPI metadata: license field shows Apache-2.0 (SPDX) instead of full license text
  • Add MkDocs Material docs site (GitHub Pages)
  • Skip AST tests on CI when tree-sitter not installed
  • Fix ruff format check in CI

Install: pip install rm-contextos

v0.1.0 — MVP release

Choose a tag to compare

@Rohithmatham12 Rohithmatham12 released this 30 Jun 00:22

First public release of ContextOS.

Install: pip install rm-contextos

  • Scanner, selector, secret redaction, AST-level ranking
  • Exporters for Claude Code, Codex, Cursor, Aider
  • Optional Headroom compression (Apache-2.0)
  • 960 tests