Reduced Claude context from 47,450 tokens → 360 tokens. Every Claude Code session starts the same way. It reads your files, traces your imports, figures out your routes and schema. On a 40 file project that’s 47,450 tokens before you’ve typed a single question. You’ve paid for that exploration in every session. It has never carried over. Andrej Karpathy described this exact problem and closed with: “I think there is room here for an incredible new product instead of a hacky collection of scripts.” I built it entirely with Claude Code: npx codesight Compiles your codebase into a structured context file in 200ms. No LLM. No API calls. Uses the TypeScript compiler API for TS projects, AST parsing for Python, Go, Ruby, Rust, Swift, Kotlin, C#, Dart, PHP, and more. What it finds is exactly what’s in your code nothing model reasoned. What Claude Code gets from message one: Full route map with methods, paths, middleware chains Schema with field types, foreign keys, relations (13 ORM parsers) Component tree Hot files most imported files = most critical to understand Env vars, middleware, dependency graph, blast radius analysis 47,450 tokens → 360 on a FastAPI project. Zero false positives. As an MCP server Claude Code calls it directly. No pasting, no manual context loading. 13 tools including blast radius, hot files, test coverage, events: { “mcpServers”: { “codesight”: { “command”: “npx”, “args”: [“codesight”, “–mcp”] } } } New in v1.9.8 knowledge mode: npx codesight --mode knowledge If you keep ADRs, meeting notes, decision records, or an Obsidian vault alongside your code, this scans all your .md and .mdx files and extracts decisions made, open questions, people mentioned, recurring themes, and a backlink graph showing which notes are most referenced. Generates an AI Primer block you can drop into any conversation for instant context. codesight_get_knowledge MCP tool lets Claude query your second brain directly without you pasting anything. Built entirely with Claude Code. Free and open source. 2,000+ weekly downloads. GitHub: github.com/Houseofmvps/codesight a star helps a lot as a solo founder and a follow would faint me. submitted by /u/Eastern_Exercise2637
Originally posted by u/Eastern_Exercise2637 on r/ClaudeCode
