MCP server
LeanToken
Token-bounded repository context for coding agents over MCP.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.28
- Listing updated
- 6 days ago
About LeanToken
LeanToken is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add leantoken -- npx -y leantokenAdd to claude_desktop_config.json
{
"mcpServers": {
"leantoken": {
"command": "npx",
"args": [
"-y",
"leantoken"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"leantoken": {
"command": "npx",
"args": [
"-y",
"leantoken"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"leantoken": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"leantoken"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"leantoken": {
"command": "npx",
"args": [
"-y",
"leantoken"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"leantoken": {
"command": "npx",
"args": [
"-y",
"leantoken"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
LeanToken FAQ
Is LeanToken free?
Yes. LeanToken is open source, so you can use and self-host it for free.
How do I add LeanToken to Claude Code?
Run this command in your terminal: claude mcp add leantoken -- npx -y leantoken
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.