tokensaver

Overview

tokensaver is a local MCP server that turns web pages, PDFs, Office files and JSON into compact, LLM-ready text — so your coding agent spends its context on content, not markup.

Ask your agent "read https://go.dev/doc/effective_go with tokensaver" or "fetch this JSON via tokensaver and drop the large lists". tokensaver fetches or opens the thing, strips everything an LLM doesn't need (navigation, scripts, styling, ads, citation marks, running page headers, null fields…) and returns clean Markdown or shrunk JSON — paged, with an outline so the agent can read just the part it needs.

Where to start

How much it saves

Measured on real sources by the live benchmark (tokens estimated as characters / 4):

SourceRaw tokenstokensaverSaved
Wikipedia article (Go), whole article183,20219,38389%
…its outline24899.9%
GitHub repo page87,1001,43398%
MDN guide (Using Fetch), whole page45,9546,27086%
GitHub search API, 50 repos, select + table78,74537999.5%

See the full table and methodology in the README.