@nativecontextindex/cli
v0.3.0
Published
Native Context Index CLI (downloads prebuilt binary from GitHub Releases on install)
Maintainers
Readme
@nativecontextindex/cli
npm wrapper for the Native Context Index (nci) — indexes TypeScript declaration graphs from node_modules for search and agent tooling.
Install
Global install (recommended):
npm install -g @nativecontextindex/cliOne-off without installing:
npx @nativecontextindex/cli --helpOther package managers (pnpm, yarn, bun), curl install, and platform notes: Installation.
curl -fsSL https://nativecontextindex.com/install.sh | shpostinstall downloads a prebuilt native binary into vendor/ (per platform). Override with NCI_BINARY.
Quick start
nci init -y
nci index
nci query find --phrase "RequestHandler" --package express
nci db statusFull walkthrough: Quickstart.
MCP
Wire the server in your editor’s MCP config — see MCP docs. Set NCI_BINARY to nci binary-path when the host cannot find nci.
Docs
- CLI reference — every flag and subcommand
- Indexing — scan, filter, graph, store
- Configuration —
nci.config.json
License
Apache-2.0
