⌐
Gateway Console
lean-ctx · self-hosted org gateway
The token is the value of LEAN_CTX_GATEWAY_ADMIN_TOKEN on the gateway host. It is kept in this tab's session only — never in URLs or persistent storage. Failed attempts are rate-limited and logged.
⌐
Gateway Console lean-ctx gateway
live
Spend
—
Saved
—
Requests
—
Active people
—
Org projection i
—

Spend & savings trend

Spend Saved Baseline (avoided-cost reference)

No usage in this window yet. Point a client at the gateway and events appear within seconds:

export ANTHROPIC_BASE_URL=http://<gateway-host>:8484
export ANTHROPIC_AUTH_TOKEN=<personal key — see `lean-ctx gateway keys add`>

Usage breakdown

Nothing matches.

Tool channel MCP · observed

Tool calls
—
Context tokens i
—
Context cost i
—
Changed definitions i
—
Server Tool Calls Errors People Result tok Context cost p50 ms Definition

No MCP servers registered yet. The tool channel monitors every MCP tool your org uses — calls, errors, latency, context cost, and schema drift (rug-pull detection).

Register an upstream server in config.toml:

[[gateway_server.mcp_servers]]
id = "my-server"
url = "http://host:port"
auth_env = "MY_SERVER_TOKEN"   # optional

Then point MCP clients at the gateway: http://<gateway>:8484/mcp/my-server

All segments person × project × model × provider

Person Project Model Provider Req In tok Out tok Saved Cost
No segments in this window.
numbers from usage_events + mcp_events · projection is an extrapolation, not billing