
Contextweaver
Built for AI coding assistants that need more than grep. Exposes semantic search through MCP tools that combine vector similarity with full-text matching, then expand results using AST-based graph traversal across imports and class hierarchies. Handles 40+ languages via tree-sitter, chunks code semantically, and packs context with token budgets in mind. Includes dedicated tools for symbol lookup, file browsing, and codebase statistics alongside the core retrieval endpoint. Ships with filesystem watching for incremental indexing, query caching with automatic invalidation, and a crash-safe architecture that survives concurrent access. Reach for this when you want Claude to pull relevant code across files without manually copying half your repository into the context window.
- GitHub stars
- 2
- tools
- 4
- transport
- STDIO
- last updated
- Jun 13, 2026
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
codebase-retrievalPrimary tool: hybrid semantic + exact-match retrieval.
Primary tool: hybrid semantic + exact-match retrieval.
No parameter schema in public metadata yet.
list-filesList indexed file structure (path/language/size).
List indexed file structure (path/language/size).
No parameter schema in public metadata yet.
find-referencesFind heuristic text references to a symbol.
Find heuristic text references to a symbol.
No parameter schema in public metadata yet.
get-symbol-definitionFind likely definition blocks for a symbol.
Find likely definition blocks for a symbol.
No parameter schema in public metadata yet.
Sponsors
Readme
ContextWeaver
🧵 A codebase context engine woven for AI agents
Semantic Code Retrieval for AI Agents — Hybrid Search • Graph Expansion • Token-Aware Packing
Details
- Repository
- github.com/wchiway/contextweaver-mcp
- Category
- Search & Web Crawling
- Package
@chiway/contextweaver- Transport
- STDIO
- Registry
- MCP registry, active