contextlens-mcp is a zero-dependency Python library for context-window estimation, intelligent truncation, and token budgeting. It is designed specifically for developers building with MCP (Model Context Protocol) servers and LLM-powered tools. The package supports JSONL and JSON-RPC formats and is distributed under the MIT license.
In the Developer Tools space, contextlens-mcp takes a focused approach. Accurately estimating, truncating, and budgeting tokens within context windows for LLM and MCP applications. contextlens-mcp is an open-source project aimed at developers. contextlens-mcp is open source under the MIT license. contextlens-mcp is available on the command line and API.
contextlens-mcp first shipped in 2026. Key capabilities include Context Window Estimation, Intelligent Truncation, and Token Budgeting. It exposes integrations via an MCP server.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Other projects tracked alongside this one