# Install context-mode with npm

MCP plugin that saves 98% of your context window. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, and Codex CLI. Sandboxed code execution, FTS5 knowledge base, and intent-driven search. Version 1.0.169 via npm; verified 2026-06-29.

## Install

```sh
sudo av install npm:context-mode
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g context-mode
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:context-mode
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/context-mode>
- **Version:** 1.0.169
- **Source summary:** MCP plugin that saves 98% of your context window. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, and Codex CLI. Sandboxed code execution, FTS5 knowledge base, and intent-driven search.
- **Homepage:** <https://github.com/mksglu/context-mode#readme>
- **Repository:** <https://github.com/mksglu/context-mode>
- **Upstream docs:** <https://github.com/mksglu/context-mode#readme>
- **License:** Elastic-2.0
- **Source archive:** <https://registry.npmjs.org/context-mode/-/context-mode-1.0.169.tgz>
- **Issue tracker:** <https://github.com/mksglu/context-mode/issues>
- **Published:** 2026-06-29T18:18:27.670Z
- **Last updated:** 2026-06-29T18:18:27.670Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- context-mode (cli)
- context-mode (alias)

## Dependencies

- @clack/prompts
- @mixmark-io/domino
- @modelcontextprotocol/sdk
- better-sqlite3
- picocolors
- turndown
- turndown-plugin-gfm
- zod

## Build dependencies

- @types/better-sqlite3
- @types/node
- @types/turndown
- esbuild
- tsx
- typescript
- vitest

## Install behavior

- Post-install hook: defined
- Lifecycle scripts: postinstall
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.0.169
- Package-manager updated: 2026-06-29
- Local data: ok
- Upstream repository: https://github.com/mksglu/context-mode
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for context-mode. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.0.169
- **Version Count:** 223
- **Maintainers:** mksglu
- **Author:** Mert Koseoğlu
- **Publisher:** mksglu
- **Engines:** Node: >=22.5.0
- **Integrity:** sha512-94JIaFuLjF9SO2BsGTrbGtyT44K95+9OC8BdbaL/UT76xOkanJLfUR5CzmNw+GELXZQqH4nBrKg9wjBnSFkVnQ==
- **Shasum:** d5aa9acc648ed420c5dd32ee5f15aa5608f09fea
- **Unpacked Size:** 4,249,752
- **File Count:** 0
- **Created At:** 2026-02-23T06:21:45.097Z
- **Latest Published At:** 2026-06-29T18:18:27.670Z
- **Modified At:** 2026-06-29T18:18:27.782Z


## Related links

- [MCP tool packages](https://pkg.so/mcp-tools/) - Matched curated package taxonomy and local package facts.
- [add-mcp](https://pkg.so/npm/add-mcp/) - Local package facts share a topical domain. Shared terms: ai, clack, claude, claude-code, cli.
- [exa-mcp-server](https://pkg.so/npm/exa-mcp-server/) - Local package facts share a topical domain. Shared terms: ai, claude, cli, context, mcp.
- [gitnexus](https://pkg.so/npm/gitnexus/) - Local package facts share a topical domain. Shared terms: ai, claude, cli, code, codex.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
