lean-ctx-client
Level AMCP ecosystemNot an MCP ServerLocalThin, dependency-free Python client for the lean-ctx HTTP /v1 contract
Overview
lean-ctx-client is a thin, dependency-free Python client for the lean-ctx HTTP /v1 contract, built only on the standard library (urllib). It speaks the wire protocol only, never linking the engine or re-implementing compression, and mirrors the TypeScript and Rust SDKs. It covers health, tool listing and calls, event subscription and search, context summaries, and metrics, plus a shared conformance kit and offline OCLA verification.
Installation
MCP client config (paste into mcp.json)
{
"mcpServers": {
"yvgude-lean-ctx-archive-clients-python": {
"command": "uvx",
"args": [
"--from",
"lean-ctx-client",
"leanctx-ocla-verify"
]
}
}
}Agent install prompt
Copy and paste into Cursor / Claude / other agents to install this MCP for you
Please read this MCP repository and install it into my current environment:
https://github.com/yvgude/lean-ctx/tree/main/_archive/clients-python
Known working client config (can write into mcp.json):
{
"mcpServers": {
"yvgude-lean-ctx-archive-clients-python": {
"command": "uvx",
"args": [
"--from",
"lean-ctx-client",
"leanctx-ocla-verify"
]
}
}
}
Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.
Related servers
lean-ctxLeanCTX is the Context Gateway for AI Systems. Select task-relevant context, apppi-lean-ctxPi Coding Agent integration for LeanCTX Engine, the Context Gateway for AI SysteagnoThe programming language for agentic software.12_contextThe self-improving agent platformagnoThe self-improving agent platformgemini_interactionsThe self-improving agent platform