# ContextWeaver

> Use this tool when you need to retrieve relevant semantic code snippets and provide precise context to Large Language Models (LLMs). ContextWeaver solves the problem of inefficient code search and context understanding by offering hybrid search, graph expansion, and token-aware context packing capabilities. It integrates with MCP, taking in natural language queries and code snippets as inputs, and outputs relevant code contexts to enhance LLM performance.

Canonical page: https://skillsregistry.net/skills/hsingjui-contextweaver  
JSON: https://api.skillsregistry.net/v1/skills/hsingjui-contextweaver

## Description

A semantic code retrieval engine for AI agents that enables hybrid search, graph expansion, and token-aware context packing, integrating with MCP to provide precise code context to LLMs.

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/m6c34jazwr)
- **Repository:** <https://github.com/hsingjui/ContextWeaver>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "hsingjui-contextweaver"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/hsingjui-contextweaver` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/hsingjui-contextweaver/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
