@sharc-code/mcp
Run on demand
Most users don’t install this package directly — your MCP client launches it vianpx:
Usage with Claude Code
Features
- 7 MCP tools for indexing and searching code
- Real-time file watching for incremental updates
- AST-based code chunking with context injection
- Merkle-based sync for efficient re-indexing
@sharc-code/splitter
Installation
Usage
Supported Languages (AST)
Features
- AST-based chunking: Extracts complete semantic units (functions, classes, methods)
- Context injection: Adds parent class/module context to each chunk
- Decorator support: Extracts
@Decorator,#[attribute], and@Annotationcontext - LangChain fallback: Character-based chunking for unsupported languages
- Syntax validation: Detects parse errors before chunking