npm cli ai tree-sitter

Claude Code Map

Pre-index your codebase so Claude Code skips the exploration phase. Every conversation saves 30-50K tokens.

The Problem

Every Claude Code conversation starts the same way: 10-20 tool calls exploring your codebase. Reading files, scanning directories, checking what functions exist. On a large project this burns 30-50K tokens before any real work begins. Every. Single. Time.

The Solution

npx claude-code-map

One command. Scans your project using tree-sitter AST parsing, generates 5 compact markdown index files. Add one line to your CLAUDE.md and every future conversation starts with the map already in hand.

Languages

TypeScriptJavaScriptTSXJSXPythonGoRustJavaC#

Frameworks Auto-Detected

Next.js (App + Pages Router), Astro, Express, Fastify, Django, Flask

Output

FileContents
structure.mdAnnotated file tree with framework info
exports.mdAll exported functions, classes, types with signatures
routes.mdHTTP routes with methods and auth tags
schema.mdDatabase schema (Prisma, Django, etc.)
types.mdInterfaces, enums, type aliases with fields

CC0 1.0 — Public Domain.

Built by ESDF.gg