A tool that solves the context management gap for LLMs by organizing codebase information into structured documents.
CTX is worth checking the docs before setup with trust notes worth reviewing. Check agent compatibility and use-case fit before adding it to your workflow.
gh repo view context-hub/generator --webOpen the official repository or website.
Check the README for package manager, auth, and platform requirements.
Try it in a small test task inside your agent workflow.
CTX helps developers automatically collect and organize information from their codebase into structured documents that can be easily shared with AI assistants like ChatGPT or Claude. It uses MCP (Model Context Protocol) to give AI full access to your codebase, making it easier to get relevant help without manually copying files.
CTX is a developer tool designed to bridge the context management gap when working with large language models (LLMs) like ChatGPT or Claude. It automatically extracts and organizes information from your codebase into structured documents that can be shared with AI assistants. By leveraging the Model Context Protocol (MCP), CTX provides AI assistants with full, structured access to your codebase, enabling more accurate and context-aware assistance. The tool supports PHP and is built with extensibility in mind, allowing developers to define custom context extraction rules. It integrates seamlessly with popular AI coding tools and can be used in various development workflows, from code review to debugging and documentation generation.
Looks usable, but maintenance, license, or security notes deserve a closer look.
Last commit was about 88 days ago.
324 GitHub stars indicate community interest.
18 open issues signal maintenance load.
MIT license detected.
Automatically generate context documents for AI code review sessions
Provide structured codebase overview to AI assistants for debugging
Create onboarding documentation for new team members using AI
Enhance AI-assisted refactoring by giving full project context
Generate comprehensive context for AI-powered code generation tasks
Automatically extracting and sharing codebase information may expose sensitive data if not properly configured.
The tool requires network access to communicate with AI services, which could be a privacy concern for some organizations.
324
Stars
21
Forks
18
Issues
MIT
License
Universal AI context generator that saves thousands of tokens per conversation in Claude Code, Cursor, Copilot, and more.
One command gives AI agents instant codebase context, replacing 50,000+ tokens of exploration with ~250 tokens.
A memory layer for coding agents that stores and retrieves repo context, conventions, and invariants.
2 security/trust notes recorded.
Setup difficulty is 3/5.