SymDex: Open-Source MCP Code Indexer Reduces AI Agent Token Usage

What SymDex Does
SymDex addresses a specific problem with current AI coding agents: when asked to find a function, they typically read the entire file containing that function, burning through context window tokens before doing any real work. The developer built SymDex because every AI agent they used was reading entire files just to find one function.
The Token Math
According to the source material, a 300-line file contains approximately 10,500 characters. With BPE tokenizers (used by major LLMs) processing roughly 3-4 characters per token, that's about 3,000 tokens for the code, plus indentation whitespace and response framing, totaling approximately 3,400 tokens to look up one function. A real debugging session might touch 8-10 files, consuming most of the context window before any fixes are made.
How It Works
SymDex pre-indexes your codebase once. After indexing, your agent knows exactly where every function and class is without reading full files. The same 300-line file that costs ~3,400 tokens to read returns results in ~100 tokens with SymDex.
Additional features include:
- Semantic search locally (find functions by what they do, not just name)
- Call graph tracking so your agent knows what breaks before touching anything
Getting Started
Installation and basic usage:
pip install symdex
symdex index ./your-project --name myproject
symdex search "validate email"Compatibility and Licensing
SymDex works with Claude, Codex, Gemini CLI, Cursor, Windsurf, and any MCP-compatible agent. It also has a standalone CLI. The tool is free, MIT licensed, and runs entirely on your machine. It supports 12 programming languages.
📖 Read the full source: r/ClaudeAI
👀 See Also

Automated Session State Management for Claude Code Handoff
A GitHub project provides automated hooks to maintain a live session state file (.claude/session-state.md) throughout Claude conversations, addressing autocompact context loss and mid-conversation context degradation. The system uses four bash scripts with jq to track important events and file edits.

MCP Server for Semantic Search in Obsidian Vaults
A developer built an MCP server that indexes Obsidian vaults into Qdrant with local embeddings, enabling semantic search instead of keyword matching. It chunks markdown by headings, uses BAAI/bge-small-en-v1.5 embeddings, and works with Claude Code, Cursor, Windsurf, or any MCP client.

ATLAS: Open-Source Test-Time Compute Pipeline for Qwen3-14B Achieves Frontier-Level Coding Performance
A college student has developed ATLAS, an open-source test-time compute pipeline built around Qwen3-14B that achieves 74.6% pass@1 on LiveCodeBench v5 problems at ~$0.004 per task in electricity costs. The system is slow for complex problems but offers comparable performance to frontier models like GPT-5 (84.6%) and Claude 4.5 Sonnet (71.4%).

Kontext CLI: Credential Broker for AI Coding Agents
Kontext CLI is a Go-based credential broker that provides AI coding agents with short-lived access tokens instead of long-lived API keys. It uses RFC 8693 token exchange, streams audit logs for every tool call, and works with Claude Code today.