Skip to content

LoomMCP

LoomMCP — The context compiler for AI coding agents.

Core trick

Indexes code with tree-sitter AST parsing and serves byte-precise symbol slices over MCP instead of whole files.

Tags

Description

LoomMCP — The context compiler for AI coding agents. Every time Claude Code opens your codebase, it reads thousands of lines it doesn't need. A typical session burns 140,000+ tokens just on code reading - most of it irrelevant context. That's money wasted, latency added, and quality degraded. LoomMCP fixes this at the infrastructure layer. It's a single MCP server that indexes your codebase once using tree-sitter AST parsing, then lets Claude retrieve only the exact code it needs -- function signatures, specific implementations, references, dependencies, with byte-level precision.
mnehan67/loom-mcp★ 52 forksTypeScriptCreated Apr 25, 2026 · last push May 15, 2026

README excerpt

# LoomMCP

<img src="loom.png" alt="LoomMCP" width="1000">

> The universal context compiler for AI coding agents. **97.75% token reduction**, GPU embeddings, compact wire format. Free forever — no enterprise license required.

**[🌐 Live Website](https://muhnehh.github.io/loom-mcp/)** · **[📦 npm](https://www.npmjs.com/package/@loom-mcp/server)** · **[⭐ GitHub](https://github.com/muhnehh/loom-mcp)**

---

## 🎥 Demo

See LoomMCP compress a real-world codebase in seconds:

<p align="center">
  <a href="https://www.youtube.com/watch?v=z1gBFO4jdbI">
    <img src="https://img.youtube.com/vi/z1gBFO4jdbI/maxresdefault.jpg" width="800" />
  </a>
</p>

<p align="center"><b>Watch LoomMCP in action</b></p>

---

### Structured code retrieval for serious AI agents

![License](https://img.shields.io/badge/license-MIT-green)
![MCP](https://img.shields.io/badge/MCP-compatible-purple)
![Local-first](https://img.shields.io/badge/local--first-yes-brightgreen)
![Polyglot](https://img.shields.io/badge/parsing-tree--sitter-9cf)
![npm version](https://img.shields.io/npm/v/@loom-mcp/server)
![npm](https://img.shields.io/npm/dy/@loom-mcp/server)

LoomMCP ships with a full observability dashboard at **http://localhost:2337** — no extra setup required.

![LoomMCP Dashboard demo](website/assets/demo.gif)


---


<!-- mcp-name: @loom-mcp/server -->

---

## Documentation

| Doc | What it covers |
|-----|----------------|
| [README.md](README.md) | This file - overview and quick start |
| [Dashboard](http

Team