leantoken: Code intelligence for agents: find the code that matters and keep your context window and tokens lean

by morluto · MCP Server · ★ 169

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install leantoken

npx leantoken setup
npx leantoken doctor

Taken from the project's README on GitHub.

Security audit verdict: SAFE · quality 65/100

None of the 44 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours.

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

ai-codingcode-intelligencecode-navigationcode-retrievalcode-searchcodebase-indexingcoding-agentscontext-engineeringcontext-windowcordis

Quick Facts

Stars169
Forks35
LanguageRust
CategoryMCP Server
LicenseApache-2.0
Quality Score65/100
Open Issues16
Last Updated2026-11-16
Created2026-07-15
Platformsmcp, rust
Est. Tokens~26k

About leantoken

LeanToken Code intelligence for agents: find the code that matters and keep your context window and tokens lean. Language: English · 简体中文 · 日本語 · 한국어 MCP Registry name: Install · Why LeanToken · Tools · CLI · How it works · Docs 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,...

leantoken alternative? Top 6 similar tools

Looking for a leantoken alternative? If you're comparing leantoken with other mcp server tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • memtrace-public by syncable-dev · ⭐ 516

    Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code ·

  • octocode by Muvon · ⭐ 530

    Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in o

  • sweet-search by mrsladoje · ⭐ 121

    Local code search for AI agents: cheaper, faster and sweeter. Because maybe grep isn't all you need... 🍬

  • archex by Mathews-Tom · ⭐ 67

    Verified code context for agents

  • roam-code by Cranot · ⭐ 516

    Local codebase intelligence CLI + MCP server for AI coding agents: SQLite code graph, 28 languages, 288 comman

  • OpenLore by clay-good · ⭐ 369

    Deterministic, local-first code and contract intelligence for AI coding agents, with no LLM in the hot path.

More MCP Server Tools

Explore other popular mcp server tools:

View all MCP Server tools →

Popular Rust Agent Tools

Recently added MCP Server tools

The newest pages in this category on Agent Skills Hub:

More from the catalog

A different selection from across Agent Skills Hub every day:

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse MCP Server tools

Every skill page, A–Z · Every security audit, A–Z