Skip to main content

Crate narsil_mcp

Crate narsil_mcp 

Source

Modulesยง

cache
Analysis cache infrastructure for expensive operations
callgraph
Call graph analysis - tracks which functions call which
cfg
Control Flow Graph (CFG) analysis module.
chunking
AST-aware code chunking for improved semantic search.
config
dead_code
Dead code analysis module.
dfg
Data Flow Graph (DFG) analysis module.
embeddings
Semantic embeddings for code similarity search using TF-IDF
extract
Intelligent code excerpt extraction
git
Git integration for code intelligence
hybrid_search
Hybrid search combining BM25 keyword search with TF-IDF semantic similarity.
incremental
Incremental Indexing with Merkle Trees
index
Code Intelligence Engine - main indexing and query implementation
lsp
LSP integration for enhanced code intelligence
mcp
metrics
Performance metrics tracking for tool operations
neural
Neural embedding engine for semantic code search
parser
persist
Persistent index storage and watch mode for incremental updates
remote
Remote repository support via GitHub API
repo
Repository management utilities
search
Semantic code search with BM25 ranking and code-aware tokenization
security_config
Security configuration and output sanitization for narsil-mcp
security_rules
Security Rules Engine for configurable vulnerability detection.
streaming
Streaming responses for large result sets
supply_chain
Supply Chain Security Analysis
symbols
Symbol types and classification for code intelligence
taint
Taint Analysis module for security vulnerability detection.
tool_handlers
Tool handlers for MCP protocol
tool_metadata
type_inference
Type inference for dynamic languages (Python, JavaScript, TypeScript)