Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chrisfentimanv0.1.0MITIn 1 marketplace
Auto-indexing for claude-context-mcp. Keeps your codebase index fresh on session start, after git operations, and on session end. Includes /insights skill for promoting memsearch patterns to auto-memory.
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
ctx)Auto-indexing CLI and Claude Code plugin for @zilliz/claude-context-mcp. Keeps your codebase index fresh automatically.
claude-context-mcp provides semantic code search via Milvus, but it only indexes when explicitly told to. After git pulls, code edits, or branch switches, the index goes stale and search results become incomplete.
.mcp.json > ~/.claude.json > ~/.context/.env)npm install -g claude-context-cli
This installs both claude-context-cli and the shorter ctx alias.
/plugin marketplace add chrisfentiman/claudesplace
/plugin install claude-context-cli
git clone https://github.com/chrisfentiman/claude-context-cli.git
cd claude-context-cli
npm install
npm run build
# Index a codebase (incremental)
ctx index [path]
# Index only if stale (new commits or dirty files changed)
ctx index --if-stale [path]
# Force full re-index
ctx index --force [path]
# Check index status
ctx status [path]
# Semantic search
ctx search "authentication middleware" [path]
ctx search "database connection" -n 5 [path]
# Clear index
ctx clear [path]
If running from source, use npx ts-node cli.ts or node dist/cli.js after npm run build.
Configuration is resolved by walking the same sources as claude-context-mcp, in priority order:
process.env (highest).mcp.json (project-level, claude-context server env).claude/.mcp.json~/.claude.json (user-level MCP config)~/.context/.env (claude-context global config)| Variable | Default | Description |
|---|---|---|
EMBEDDING_PROVIDER | Ollama | Ollama, OpenAI, Gemini, VoyageAI |
EMBEDDING_MODEL | Provider-specific | Model name |
OLLAMA_HOST | http://127.0.0.1:11434 | Ollama server URL |
OLLAMA_MODEL | nomic-embed-text | Ollama model (overrides EMBEDDING_MODEL) |
MILVUS_ADDRESS | 127.0.0.1:19530 | Milvus server address |
MILVUS_TOKEN | -- | Milvus/Zilliz Cloud auth token |
OPENAI_API_KEY | -- | Required for OpenAI provider |
OPENAI_BASE_URL | https://api.openai.com/v1 | Custom OpenAI-compatible endpoint |
GEMINI_API_KEY | -- | Required for Gemini provider |
GEMINI_BASE_URL | -- | Custom Gemini endpoint |
VOYAGEAI_API_KEY | -- | Required for VoyageAI provider |
The CLI tracks index state in .claude/context/last-index.json:
--if-stale, compares current git state against saved state@zilliz/claude-context-core handles file-level diffingWhen installed as a Claude Code plugin, three hooks fire automatically:
| Hook | Event | Behavior |
|---|---|---|
SessionStart | Session opens | index --if-stale (async) |
PostToolUse | After Bash commands | Re-index after git pull/merge/checkout/rebase (async) |
SessionEnd | Session closes | index --if-stale (async) |
All hooks are async and non-blocking.
claude-context-mcp configured as an MCP servergit checkout -b feat/something)git commit -m 'feat: add something')git push origin feat/something)Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
claude-context-cli@claudesplace is listed by chrisfentiman/claudesplace — review the source before installing
npx claudepluginhub chrisfentiman/claudesplace --plugin claude-context-cliPlugins from other owners that cover similar ground