We benchmarked Redis.

Here is exactly how much money and context space you waste if you feed it to Claude natively.

Token Usage

Raw Text: 3,847,616 tokens
AST Folded: 982,158 tokens
-74.5%

Cost per Run (Claude Sonnet)

Without mcp-injector: $7.70
With mcp-injector: $0.20
Save $7.50

Why context limits matter for Redis

Redis is known for its highly optimized, macro-heavy C architecture. Single files like src/module.c and src/redis-cli.c consume over 300,000 tokens combined. AST folding successfully compresses these massive monolithic files into their structural definitions, dropping overall token usage by 74.5%.

Reproduce this benchmark

You can verify these numbers yourself using the open-source mcp-benchmark tool:

git clone --depth 1 https://github.com/redis/redis.git mcp-benchmark ./redis

Stop paying for raw whitespace.

Install mcp-injector to cut your API bills today.

Get Pro →