importlens-mcp gives coding agents import-aware context on Python repos
ilydragon · reddit · 2026-11-28
Reddit launch of importlens-mcp: an MCP server that parses a Python repo's imports into a dependency graph and feeds coding agents only the relevant files, cutting 24% of tokens in the author's benchmark. Aimed at developers using Claude Code, Cursor or other MCP clients on medium-to-large Python codebases. Compared to tools that send the whole tree or use embeddings, it relies on the real import graph — deterministic, offline, no API costs. Open source, pip install importlens-mcp.
More from coding & agent
- Musk: the goal with Grok Bots is to let you build a whole company — elonmusk · 2026-11-28
- Dev reverse-engineers NVIDIA driver, claims it deliberately nefts old GPUs to force upgrades — QuixiAI · 2026-11-28
- 8 tricks to make a Grok Bot weekly usage pool last 3x longer, retweeted by Musk — elonmusk · 2026-11-28
- importlens-mcp: import-graph MCP server cuts coding agent tokens by ~24% — ilydragon · 2026-11-28
- Antigravity desktop's low compaction threshold causes Neon hallucinations—CLI fix inside — dotey · 2026-11-28
- Musk endorses Grok Bot as the first autonomous agent he's kept using for months — elonmusk · 2026-11-28