wchiway avatar

Contextweaver

wchiway/contextweaver-mcp

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 tools

Public 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


View the full README on GitHub

Details

Repository
github.com/wchiway/contextweaver-mcp
Category
Search & Web Crawling
Package
@chiway/contextweaver
Transport
STDIO
Registry
MCP registry, active

Related Search & Web Crawling MCP servers

View all
1jacklenzotti avatarPullPush Redditjacklenzotti/pullpush-mcpSearch Reddit comments and submissions via PullPush.io with filtering by subreddit, author, and date2stars
2jarmstrong158 avatarSkillmatch Mcpjarmstrong158/skillmatch-mcpJob search and ranking pipeline via MCP for Claude Desktop.2stars
3jawdat6 avatarFixgraph Mcpjawdat6/fixgraph-mcpSearch 25K+ verified engineering fixes by error or technology. For developers and AI agents.2stars
4kynuxdev avatarMcp Instagram Dmkynuxdev/mcp-instagram-dmRead, send, search & manage Instagram DMs through AI assistants. 15 tools, cookie auth.2stars
5laradji avatarDeadzonelaradji/deadzoneLocal-first MCP server: semantic search over library docs. No cloud, no API key, no telemetry.2stars
6libres-coder avatarParseflowlibres-coder/parseflowPDF parsing server with text extraction, metadata, search, images, and TOC via MCP2stars