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

Hardware widget and Chrome extension monitor Claude API rate limits
A developer built a hardware widget using ESP8266 and OLED display that tracks Claude's rate limits in real time, plus a Chrome extension that intercepts Claude's internal /usage API and shows usage patterns. The total BOM cost is approximately $6.50.

ClawMetry adds remote monitoring with E2E encryption for OpenClaw agents
ClawMetry v0.1.0 now includes cloud sync for remote monitoring of OpenClaw agents from any browser or Mac menu bar app, with end-to-end encryption that keeps data encrypted until it reaches your client.

Trepan: Local VS Code Security Auditor for AI-Generated Code
Trepan is an open-source VS Code extension that acts as a security gatekeeper for AI-generated code suggestions. It uses Ollama to run local security audits against project-specific rules in a .trepan/system_rules.md file.

Bitcoin MCP Server with 43 Tools for AI Coding Agents
bitcoin-mcp is an MCP server with 43 Bitcoin tools including fee advisors, mempool analysis, and inscription detection. It works with Claude Desktop, Claude Code, Cursor, VS Code, and Windsurf using live data from APIs or local nodes.