Story

Show HN: Ragtoolina – MCP tool that adds codebase RAG to AI coding agents

slack812 Monday, March 02, 2026

Ragtoolina is an MCP server that pre-indexes your codebase and provides targeted context to AI coding agents instead of letting them scan files one by one.

I benchmarked it on Cal.com (~300K LOC, 40K GitHub stars):

- 63% token reduction across 5 diverse query types - 43% fewer tool calls - Cost: $3.01 vs $7.81 per 5-query session

The benchmark covers different complexity levels — from simple call-chain tracing to architectural understanding queries. RAG overhead doesn't pay off on trivial lookups (one query was actually worse with Ragtoolina), but on complex multi-file tasks the savings are substantial (up to 79% token reduction).

Quality evaluation was done via blind AI-judge scoring (the judge didn't know which answer came from which system) across correctness, completeness, specificity, and conciseness. Ragtoolina matched or exceeded baseline quality on 4 out of 5 tasks.

Works with any MCP-compatible client: Claude Code, Cursor, Windsurf, Claude Desktop.

Free tier available, would appreciate any feedback.

2 0
ragtoolina.com
Visit article Read on Hacker News