📡 MCP Radar

jackandjac/token-saver-mcp-java

MCP server that delegates simple Claude Code / Codex / Wibey tasks to a local LLM via langchain4j and langgraph4j.

⭐ 20 stars
⑂ 0 forks
Java
momentum ▲ 40.0
created 2026-08-06
on radar since 2026-08-07
star trend 9 → 20 since 2026-08-07
View on GitHub ↗

About token-saver-mcp-java

An MCP server that lets Claude Code / Codex / Wibey (or any MCP-compliant coding agent) delegate simple, well-scoped tasks to your local LLM — code snippets, isolated refactors, documentation, code reviews, basic Q&A — so you spend premium tokens on coordination and architecture, not on work a local model can already do.

This is a complete rewrite in Java on langchain4j (local LLM client), langgraph4j (orchestration), and the official MCP Java SDK (stdio server).

Credit for the original idea and the Python/FastMCP prototype goes to csabakecskemeti/cctokensavermcp — this project builds on that concept with a graph-based classify/delegate/escalate flow, server-side file reading, timeouts, and actionable errors.

The server exposes two MCP tools — querylocalllm and querylocalllmwithcontext — that Claude Code is instructed to try first for simple subtasks. Every call runs through a small langgraph4j graph instead of just forwarding straight to the model:

classify makes a cheap, low-temperature call to the local model to judge whether the task is actually simple enough for it. If not, escalate returns a structured ESCALATE: ... message telling Claude Code to handle the task itself — so a task that's too complex for the local model comes back as a clear signal, not a low-quality answer.

- Server-side file reading. Both tools accept an optional filepaths array. The server reads the files itself and passes their content straight to the local LLM — Claude Code passes a path instead of Read()-ing the file into its own context first. This is where the real token savings on large f

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/jackandjac--token-saver-mcp-java.html)

Related MCP servers

shigella520/MindTrain

AI-driven knowledge training platform with pluggable schedulers, Codex Skill integration, and optional Anki/FSRS support.

⭐ 73Java
2005selene2005-a11y/susu-phone-agent

Android device bridge for Claude Code via MCP + Shizuku. No root, no model polling.

⭐ 29Java
ghorbelhamdi/buddy-android

A floating chat bubble that lets Claude Code, Codex or OpenCode use your Android phone. Runs inside the app on your own subscription or free models. No adb, no PC, no root.

⭐ 27Java
0xdad0/jadx-mcp

MCP (Model Context Protocol) server as a jadx-gui plugin. Lets an AI client (Claude Code, Claude Desktop, or any MCP client) analyze the app currently loaded in jadx-gui.

⭐ 11Java
GabsDev/spring-ai-demos

Spring AI demos: OpenAI & Ollama chat, RAG with pgvector, image generation, text-to-speech, MCP server/client (Java 25, Spring Boot 4, Spring AI 2)

⭐ 9Java
Naptila/recaf-mcp

An MCP server for headless Recaf analysis, decompilation, search, bytecode patching, and JVM/Android reverse engineering.

⭐ 5Java

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.