Skip to content
Back to the index

contextlens-mcp

PyPIInfrastructure

PulseGate's liveness check found it on 14 Sep 2026; it is registered on PyPI and has been in the index since 29 Jul 2026. How this is checked

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.

Inferred · not functionally tested

Open SourceMITCLIAPI
Visit PyPI

Overview

6 features

Purpose: Accurately estimating, truncating, and budgeting tokens within context windows for LLM and MCP applications.

Inferred · not functionally tested

Audience: developers

Inferred · not functionally tested

Functions: Unknown

Interfaces: API: indicated (inferred, not tested) · MCP: indicated (inferred, not tested) · CLI: indicated (inferred, not tested) · Self-hosting: unknown

Recorded constraints: pricing: open_source · license: MIT · platforms: CLI · deployment: cli, api_only

Constraint provenance is unknown; confirm requirements with the publisher.

Record sources: pypi.org. These links do not verify the individual claims.

In the Frameworks & SDKs space, contextlens-mcp takes a focused approach. Inferred · not functionally tested: Accurately estimating, truncating, and budgeting tokens within context windows for LLM and MCP applications. Inferred · not functionally tested: contextlens-mcp is an open-source project aimed at developers. Basis unknown · not verified: contextlens-mcp is open source under the MIT license. Basis unknown · not verified: contextlens-mcp is available on the command line and API.

contextlens-mcp first shipped in 2026. Inferred · not functionally tested: Key capabilities include Context Window Estimation, Intelligent Truncation, and Token Budgeting. Inferred · not functionally tested: Catalogued interfaces include an MCP server.

Summary written by a language model from the project’s public pages.

Tasks: Inferred · not functionally tested

  • Context Window Estimation
  • Intelligent Truncation
  • Token Budgeting
  • Zero Dependencies
  • JSONL Support
  • JSON-RPC Support

Topics: Inferred · not functionally tested

Tags
context-windowtoken-estimationllm-truncationmcp-toolingbudgeting
AI capabilities
Structured

JSON profile · Text profile · Access guide

Built with & integrations

Connectors
MCP
Runs on
CLIAPI-only

Trust & compliance

License
MIT
Public signals
HTTPSOpen Source

Indexing history

1

What PulseGate has recorded for this listing

  1. Indexed29 Jul · 22:28 UTC
    contextlens-mcp seen via PyPI Fresh Feed
    Source: PyPI Fresh Feed · Open

Frequently asked questions about contextlens-mcp

What does contextlens-mcp do?
Inferred · not functionally tested: Accurately estimating, truncating, and budgeting tokens within context windows for LLM and MCP applications. It is catalogued under Frameworks & SDKs on PulseGate.
Who is contextlens-mcp for?
Inferred · not functionally tested: contextlens-mcp is an open-source project built for developers.
Is contextlens-mcp free?
Basis unknown · not verified: Yes — contextlens-mcp is open source under the MIT license and free to use.
What platforms does contextlens-mcp run on?
Basis unknown · not verified: contextlens-mcp runs on the command line and API.
Is contextlens-mcp still active?
PulseGate's liveness check found it on 14 Sep 2026.
What are alternatives to contextlens-mcp?
Similar projects tracked by PulseGate include contextl-mcp, contextmeter, and contextlens-profiler.contextl-mcpcontextmetercontextlens-profiler
How long has contextlens-mcp been around?
contextlens-mcp first shipped in 2026.
Is contextlens-mcp open source?
Basis unknown · not verified: Yes — contextlens-mcp is open source under the MIT license.

Similar projects

Closest matches by what these projects do