Back to browse
GitHub Repository

📦 Ship & Use AI-friendly package context.

10 starsTypeScript

Ctxbrew – Ship and Use LLM-friendly library context

by mangilev·Apr 26, 2026·1 point·1 comment

AI Analysis

●●SolidShip ItBig Brain

Versioned AI context inside node_modules beats remote MCP servers for accuracy.

Strengths
  • Solves version drift by reading context from installed package files locally.
  • Token efficiency via sliced context instead of dumping entire documentation blobs.
  • Minimal config for authors compared to building full MCP servers.
Weaknesses
  • Requires library maintainers to adopt new standard before users benefit.
  • Currently JavaScript only; Python and Rust support remain on the roadmap.
Target Audience

Library maintainers, AI agent developers

Similar To

Model Context Protocol · Sourcegraph Cody

Post Description

ctxbrew is a CLI and protocol for shipping and consuming LLM-friendly library context.

If you’re building a package and thinking of creating an MCP server for your users, you should consider ctxbrew as a simpler alternative and focus on the library code itself.

If you’re building a product and find yourself fighting with LLMs generating incorrect code using your dependencies, you should consider asking the maintainers to add ctxbrew support.

Similar Projects

AI/ML●●Solid

Contexa – Git-inspired context management for LLM agents

Git metaphor for agent memory is clever; execution and adoption remain unproven.

Big BrainWizardry
0x0003r
103mo ago