
Code intelligence for agents: find the code that matters and keep your context window and tokens lean.
Install Leantoken
Not a bundle: wire it through the official mcp-client bridge with a single config row.
This is an MCP server, not a DSH bundle. It is wired in through the official @deepseek-ai/dsh-mcp-client bridge: one plugin row in your config, pointing at either a stdio command or an http endpoint. Its tools then appear to the agent as mcp__leantoken__<tool>, the same naming Claude Code and Codex use.
One config row for the mcp-client bridge — fill the command or URL from this repo's README
{
"name": "@deepseek-ai/dsh-mcp-client",
"config": {
"server": "leantoken",
"command": "<stdio command from the README>",
"url": "<or an http endpoint, if the server is remote>"
}
}Placeholders are placeholders
Prerequisites
- API key
- Not required.
- Network access
- Not required at runtime.
- Language
- Rust
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| entityType | pass | info | mcp-server is not installed via `dsh plugin add` |
- Verdict reason
- mcp-server uses its own install path, so bundle checks do not apply
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
From the README
Excerpt as published by the author, plain text, unedited
**Code intelligence for agents: find the code that matters and keep your context window and tokens lean.** **Language:** English · [简体中文](docs/i18n/zh-CN/README.md) · [日本語](docs/i18n/ja-JP/README.md) · [한국어](docs/i18n/ko-KR/README.md) - MCP Registry name: `mcp-name: io.github.morluto/leantoken` > **Measured token savings:** In a controlled 60-run study, LeanToken used > 20.1% fewer model input tokens than the agent's built-in tools with limited > repository exploration, and 37.6% fewer than those tools with broad > exploration. See exactly > how it was measured in the [measurement methodology](docs/measurement.md). Add LeanToken to Claude Code, Cursor, OpenCode, Codex, Gemini CLI, or Antigravity:
Topics
GitHub topics on this repository
More in Mcp Server Model Context Protocol
Ranked by similarity inside the cluster, not alphabetically
Flameox
morluto
Runtime evidence that helps agents trace, profile, and burn down hotspots in application and native code, GPU kernels, and inference stacks.
Jacobian
morluto
Pure mathematics for agents: search for examples and counterexamples, compute exactly, and independently check what a result proves.
Deepseek Harness Handbook
sandbaseai
Agent-first, multilingual handbook for DeepSeek Harness: quickstarts, architecture, safety, troubleshooting, and production recipes.
Gitcontribute
morluto
Contribution research for agents: check repository guidance, related work, code context, and validation before writing a patch.
Smokinggun
morluto
Help your agents find the smoking gun they're looking for. Optimization evidence for agents: find complexity hotspots.
Rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.