IUM: MCP Symbol Indexer Cuts AI Agent Token Usage by 15.9x vs grep

✍️ OpenClawRadar📅 Published: April 29, 2026🔗 Source
IUM: MCP Symbol Indexer Cuts AI Agent Token Usage by 15.9x vs grep
Ad

IUM is a two-pass AST walker that builds an SQLite database of every symbol event — definitions, call sites, mutations — then exposes the index over the Model Context Protocol (MCP) as tools for Claude Code, Cursor, or any MCP client. Instead of grep dumping thousands of lines into context, agents get exact file:line coordinates, call graph tracing, and semantic search.

Why this exists

Claude Code was burning context windows by making repeated grep calls across unfamiliar codebases — reading dozens of files to find a single function. IUM replaces that with a prebuilt index queried via MCP.

Benchmark: token cost

Tested against the DataFusion codebase (1,538 files, Rust). Four equivalent queries were run with grep versus IUM:

  • Grep: 82,645 tokens
  • IUM: 5,190 tokens
  • Ratio: 15.9x fewer tokens

Caveat from the author: grep wins on raw execution speed. IUM wins on token cost at volume. For one-off scripts, use grep. For AI agents making thousands of calls, the math favors IUM.

Ad

Technical details

  • Two-pass AST walk → SQLite matrix of symbol events
  • Exposes MCP tools for trace, search, and coordinate lookup
  • Everything runs locally — your code never leaves your machine
  • Supported languages: Rust, Python, TypeScript, CSS, HTML

Usage

Install from copecode.dev. Works with Claude Code, Cursor, or any MCP client out of the box.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Gemma Gem: On-Device AI Agent for Browser Automation via WebGPU
Tools

Gemma Gem: On-Device AI Agent for Browser Automation via WebGPU

Gemma Gem is a Chrome extension that runs Google's Gemma 4 model (2B or 4B) entirely on-device using WebGPU, with no API keys or cloud dependencies. It provides tools to read page content, take screenshots, click elements, type text, scroll, and run JavaScript through a chat interface.

OpenClawRadar
Open Source AI Context Packs for Legal, Compliance, and Finance Questions
Tools

Open Source AI Context Packs for Legal, Compliance, and Finance Questions

A developer used Claude to research and build 32 free, open source context packs that provide specific answers to legal, compliance, and finance questions instead of generic 'consult a lawyer' responses. The packs cover GDPR, contracts, SaaS billing, EU AI Act, and more.

OpenClawRadar
Built AI Forensic Accounting Software with My Dad — CaseTrail Automates Financial Fraud Detection
Tools

Built AI Forensic Accounting Software with My Dad — CaseTrail Automates Financial Fraud Detection

A father-son team built CaseTrail, an AI-powered forensic accounting tool that ingests bank statements and identifies anomalies. The blog details integration with LLMs for transaction analysis.

OpenClawRadar
ClaudeClaw: Free Claude Code Plugin for Persistent AI Agents on Messaging Platforms
Tools

ClaudeClaw: Free Claude Code Plugin for Persistent AI Agents on Messaging Platforms

ClaudeClaw is a free, open-source MIT-licensed Claude Code plugin that runs Claude as a persistent agent on Slack, WhatsApp, and Telegram. It requires Node.js 20+, Claude Code, and your own Anthropic API key, with OS-level sandbox isolation via Anthropic's sandbox-runtime.

OpenClawRadar