← Back to Context+

Install Context+

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add contextplus -- bunx contextplus

Environment Variables

Set these before running Context+.

VariableDescriptionRequired
OLLAMA_EMBED_MODELThe embedding model to use for semantic search and memory nodes.No

Available Tools (17)

Once configured, Context+ gives your AI agent access to:

get_context_treeStructural AST tree of a project with file headers and symbol ranges.
get_file_skeletonFunction signatures, class methods, and type definitions with line ranges.
semantic_code_searchSearch by meaning using embeddings over file headers and symbols.
semantic_identifier_searchIdentifier-level semantic retrieval for functions, classes, and variables.
semantic_navigateBrowse codebase by meaning using spectral clustering.
get_blast_radiusTrace every file and line where a symbol is imported or used.
run_static_analysisRun native linters and compilers to find unused variables, dead code, and type errors.
propose_commitValidates code against strict rules before saving and creates a shadow restore point.
get_feature_hubObsidian-style feature hub navigator for mapping features to code files.
list_restore_pointsList all shadow restore points created by propose_commit.
undo_changeRestore files to their state before a specific AI change.
upsert_memory_nodeCreate or update a memory node with auto-generated embeddings.
create_relationCreate typed edges between nodes.
search_memory_graphSemantic search with graph traversal.
prune_stale_linksRemove decayed edges and orphan nodes.
add_interlinked_contextBulk-add nodes with auto-similarity linking.
retrieve_with_traversalStart from a node and walk outward to return reachable neighbors.

Try It Out

After setup, try these prompts with your AI agent:

Show me the structural AST tree for the authentication module.
Find all files related to the payment processing logic using semantic search.
What is the blast radius if I modify the User class constructor?
List all recent shadow restore points and undo the last change.
Create a memory node for the new API integration and link it to the existing service layer.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx installed
Alternative installation methods

npx

npx contextplus

Keep this setup from going cold

Save the docs, env vars, and workflow around Context+ in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup