mksglu/context-mode

Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.

83
/ 100
Verified

Operates as an MCP server that intercepts tool outputs at the protocol layer, sandboxing large responses (56 KB Playwright snapshots, API logs) into local SQLite databases instead of flooding the context window—achieving 98% token reduction. Implements full-text search (FTS5/BM25) to retrieve only relevant session events during context compaction, preserving conversation continuity without re-injecting raw data. Integrates with Claude Code, Gemini CLI, and VS Code Copilot via hooks that automatically route tool calls, with zero cloud dependencies or telemetry.

5,190 stars and 41,329 monthly downloads. Actively maintained with 468 commits in the last 30 days. Available on npm.

Maintenance 25 / 25
Adoption 20 / 25
Maturity 20 / 25
Community 18 / 25

How are scores calculated?

Stars

5,190

Forks

317

Language

JavaScript

License

Last pushed

Mar 17, 2026

Monthly downloads

41,329

Commits (30d)

468

Dependencies

8

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/mksglu/context-mode"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.