Story

Show HN: MCP Codebase Index – 87% fewer tokens when AI navigates your codebase

localforthewin Tuesday, February 17, 2026

Built because AI coding assistants burn massive context window reading entire files to answer structural questions.

mcp-codebase-index parses your codebase into functions, classes, imports, and dependency graphs, then exposes 17 query tools via MCP.

Measured results: 58-99% token reduction per query (87% average). In multi-turn conversations, 97%+ cumulative savings.

Zero dependencies (stdlib ast + regex). Works with Claude Code, Cursor, and any MCP client.

  pip install "mcp-codebase-index[mcp]"

1 0
github.com
Visit article Read on Hacker News