Asif Razzaq 是 Marktechpost Media Inc. 的首席执行官。作为一名有远见的企业家和工程师,Asif 致力于利用人工智能的潜力造福社会。他最近的项目是推出人工智能媒体平台 Marktechpost,该平台以深入报道机器学习和深度学习新闻而著称,这些内容既技术可靠,又易于广大受众理解。该平台月浏览量超过 200 万次,显示了其在观众中的受欢迎程度。
AI developers, researchers, and professionals frequently hit a frustrating wall when analyzing large documents with LLMs: the hidden, compounding cost of context windows. Pasting a 200-page PDF into a chat isn’t a one-time charge. Because the conversation history is re-sent to the model on every single turn, that massive document is paid for again with every follow-up question.
Marktechpost AI team just released Token Saver:https://github.com/Marktechpost/Token-Saver , an open-source Model Context Protocol (MCP) extension for Claude Desktop (MIT licensed, currently at v1.0). It was developed at Marktechpost AI Media Inc by Arnav Rai:https://www.linkedin.com/in/arnav-rai-475033243/ (CS student at Rochester Institute of Technology) during his internship at Marktechpost, supervised by Jean-marc Mommessin:https://www.linkedin.com/in/contactjmm/ and Asif Razzaq:https://www.linkedin.com/in/asifrazzaq/. Token Saver fundamentally changes how Claude interacts with local documents. By implementing a Local Hybrid RAG :https://github.com/Marktechpost/Token-Saver (system directly on your machine, it allows you to ask questions about massive PDFs without ever uploading the actual file to the model.
Most users assume that when they drop a PDF into Claude, it simply extracts the text. In reality, Claude’s default behavior converts each page into an image to preserve charts and layouts, while separately extracting text. Before a single image token is even counted, the text alone can run 1,500 to 3,000 tokens per page.
While Prompt Caching and Claude Projects help soften this blow, they don’t solve the core issue: the entire document still crosses the boundary to the provider’s servers. Furthermore, if you only need two relevant paragraphs from a 1,000-page textbook, forcing the LLM to search the entire 1,000 pages itself is both inefficient and prone to hallucination.
Marktechpost’s Token Saver :https://github.com/Marktechpost/Token-Saver acts as a local MCP server : a lightweight background program on your machine that Claude can call as a tool. The PDF never leaves your hard drive.
When you ask a question, Token Saver utilizes Local Hybrid RAG to find the answer. Hybrid RAG is the gold standard for document retrieval because it combines two powerful search methods:
By blending these two approaches locally, the server searches the file and hands Claude only the highly relevant passages. Claude then synthesizes the answer, citing the exact page numbers and providing a running tally of the tokens you just saved.
Token Saver:https://github.com/Marktechpost/Token-Saver runs entirely inside a single, long-running local process. Before any text reaches Claude, the local Hybrid RAG pipeline executes eight rapid steps:
(Note: The embedding model is optional but recommended. If it fails to load, the system gracefully falls back to keyword-only matching).
Because the Hybrid RAG pipeline caps the returned text slice, the token savings grow exponentially with the size of the document. Here is how Token Saver performed in benchmarking (measured via tiktoken, assuming one question per document):
Disclaimer: Token counts use cl100k_base as a stand-in, and baselines assume the whole document is charged on every search.
For professionals working repeatedly with court opinions, technical standards, financial reports, or dense textbooks, Token Saver eliminates the repetitive token tax.
Marktechpost’s Token Saver works across all three Claude 3.5 tiers, but testing revealed distinct behaviors:
Unlike many open-source AI tools that require complex Python environments and JSON configurations, Token Saver is packaged as a single .mcpb bundle.
The extension will not run until a folder is chosen, because that single choice serves three purposes at once.
That folder is worth a moment’s thought. It sets the boundary of what can be read, it is what lets you ask for a file by name instead of typing a path, and it is the list the server shows Claude when a conversation starts. A small folder holding only what you intend to ask about works considerably better than pointing it at all of Documents.
Check out the GitHub Repo:https://github.com/Marktechpost/Token-Saver.
References: MCP Bundle format:https://github.com/anthropics/mcpb | all-MiniLM-L6-v2:https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 | pdfkb-mcp:https://github.com/juanqui/pdfkb-mcp | wesleygriffin/pdfrag:https://github.com/wesleygriffin/pdfrag | Corpora: Dobbs v. Jackson Women’s Health Organization ; Berkshire Hathaway 2023 Annual Report
Arnav is currently a student at Rochester Institute of Technology pursuing a Bachelor’s degree in Computer Science and a minor in Economics with hands-on backend development experience, and is a contributor at Marktechpost, where he writes about AI/ML research.
Jean-marc is a successful AI business executive .He leads and accelerates growth for AI powered solutions and started a computer vision company in 2006. He is a recognized speaker at AI conferences and has an MBA from Stanford.
Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.
情报判断
Aioga 编辑摘要
MarkTechPost AI 团队发布开源 MCP 扩展 Token Saver,面向 Claude Desktop 在本地处理 PDF 检索。材料称其通过本地混合 RAG 减少 92%-99% 的 token 消耗,并表示文件无需上传。
背景分析
材料指出,大型 PDF 在多轮对话中可能因上下文重复发送而增加消耗;Claude 默认处理 PDF 时会提取文本并将页面转为图像。Token Saver 作为本地 MCP 服务器,向 Claude 提供相关段落。
若材料所述机制和节省幅度在不同 PDF、问题类型及对话场景中均能复现,用户可能降低长文档分析的上下文负担。与此同时,本地检索效果、页面引用准确性和设备资源占用仍值得关注。 建议进一步核对项目文档中的测试样本、计算口径、支持的 PDF 类型及隐私边界,并在实际使用前确认 Claude Desktop 的配置要求、检索结果质量与本地运行稳定性。