How does LeanKG reduce token usage?
It uses Graph RAG to extract precise function signatures, dependencies, and variables instead of sending entire files or repositories.
@FreePeak
基本情報
A local, Rust-based Knowledge Graph MCP server. Cuts AI coding token usage by up to 98% by intelligently querying your codebase instead of sending full files.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"leankg": {
"command": "leankg",
"args": [
"start",
"--mcp"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
LeanKG is a local Knowledge Graph powered by Rust and Tree-sitter that indexes your codebase and uses the Model Context Protocol (MCP) to feed your AI assistant only the exact structural context it needs. It is built for developers who want to drastically reduce token usage (up to 98% drop) and avoid sending entire files or repositories to cloud-based AI tools.
Visit the LeanKG GitHub repository for full installation instructions, benchmarks, and supported languages. After installation, the MCP server exposes tools that your AI assistant can invoke — no additional configuration steps beyond connecting it to an MCP-compatible host (e.g., Claude Desktop, Cursor, Windsurf, OpenCode).
analyze_dependencies and extract_signatures.It uses Graph RAG to extract precise function signatures, dependencies, and variables instead of sending entire files or repositories.
No. LeanKG runs entirely on your local machine; your repository is never blindly uploaded.
LeanKG supports any MCP-compatible host, including Claude Desktop, Cursor, Windsurf, and OpenCode.
Hindsight: Agent Memory That Learns

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
コメント