Contextweaver
Indexes codebases for hybrid semantic and exact-match retrieval, symbol lookup, file browsing, and context expansion through MCP.
Install Contextweaver
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"contextweaver-2": {
"command": "npx",
"args": [
"-y",
"@chiway/contextweaver"
],
"env": {
"EMBEDDINGS_API_KEY": "YOUR_VALUE_HERE",
"EMBEDDINGS_BASE_URL": "YOUR_VALUE_HERE",
"EMBEDDINGS_MODEL": "YOUR_VALUE_HERE",
"EMBEDDINGS_MAX_CONCURRENCY": "YOUR_VALUE_HERE",
"EMBEDDINGS_DIMENSIONS": "YOUR_VALUE_HERE",
"RERANK_API_KEY": "YOUR_VALUE_HERE",
"RERANK_BASE_URL": "YOUR_VALUE_HERE",
"RERANK_MODEL": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y @chiway/contextweaverNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Search a local repository with natural-language code questions
- Find definitions and references for symbols
- Browse indexed files by language or path pattern
- Expand retrieved code with nearby and imported context
- Inspect indexing and search health statistics
Key features
- Hybrid vector and lexical code retrieval
- Tree-sitter-based semantic chunking
- Neighbor, breadcrumb, and import context expansion
- Symbol definition and reference lookup
- File structure browsing
- Index and health statistics
Tools5
What Contextweaver lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 3d ago via OSV.dev · @chiway/contextweaver (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Contextweaver works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Contextweaver
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/contextweaver-2)<a href="https://allmcps.com/mcp/contextweaver-2"><img src="https://allmcps.com/api/badge/contextweaver-2?style=directory" alt="Contextweaver on AllMCPs" /></a>