Houseofmvps/codesight
Universal AI context generator. Saves thousands of tokens per conversation in Claude Code, Cursor, Copilot, Codex, and more.
What it solves
AI assistants often waste thousands of tokens during a conversation because they must manually explore a codebase to understand its structure, routes, and schema. codesight reduces this overhead by pre-compiling a codebase into a compact, high-precision context map that AI tools can read instantly.
How it works
The tool uses a combination of Abstract Syntax Tree (AST) precision for TypeScript and battle-tested regex detection for other languages. It scans the project root to detect routes, schema models, UI components, and environment variables across 30+ frameworks and 14 ORM parsers.
It provides three layers of token reduction:
- Base Scan: Replaces manual file exploration with a single compiled map.
- Wiki Knowledge Base: Compiles a persistent, narrative layer of markdown files (e.g.,
auth.md,database.md) so the AI can read only the specific article relevant to a question rather than the full map. - Knowledge Mode: Maps non-code context, such as ADRs, meeting notes, and Obsidian vaults, into a
KNOWLEDGE.mdprimer.
Who it’s for
Developers using AI coding assistants like Claude Code, Cursor, GitHub Copilot, Windsurf, Cline, or Aider who want to reduce token usage, lower costs, and speed up AI responses.
Highlights
- Zero Dependencies: Runs via a single
npxcall with no configuration or API keys required. - Broad Language Support: Works with TypeScript, JavaScript, Python, Go, Ruby, Elixir, Java, Kotlin, Rust, PHP, Dart, Swift, and C#.
- MCP Integration: Includes 14 Model Context Protocol (MCP) tools to allow AI assistants to interact with the codebase map and wiki directly.
- High Efficiency: Claims up to 91x total token reduction by combining base scans with targeted wiki access.
Related
- Project
- Project
- Project
- Project
- Project