FI-Mihej/codebase-agent-mcp
by Various
A sub-harness (both an MCP server and an MCP client). Delegates documentation and source code analysis, as well as interactions with related context-providing MCP servers, to a loc
MCP
FI-Mihej/codebase-agent-mcp
Added 8 Sept 2026
Overview
A sub-harness that acts as both an MCP server and client. It delegates documentation and source code analysis, as well as interactions with related context-providing MCP servers, to a local or inexpensive OpenAI-compatible LLM. This reduces token usage and context size for coding agents running on a top-tier LLM.
Best for
Best for
Developers using top-tier coding agents who want to cut token costs by offloading analysis to cheaper models.
Use cases
- Offload codebase analysis to a cheaper local LLM
- Provide context from MCP servers without consuming top-tier tokens
- Reduce overall token costs for AI-assisted development
How to use
Install
uvx --from codebase-agent-mcp cb-agent-initTools exposed
base_urlapi_keyreasoning_allowedreasoning_effortmax_tokensmodel_name
Clients listed in this record (not verified here)
Claude Code, Cursor, ChatGPT
Notes
1 stars on GitHub. Last updated 2026-08-02. Licensed Apache-2.0.
Pros
- Lowers token consumption for expensive coding agents
- Leverages local or low-cost LLMs for analysis tasks
- Integrates as both server and client in MCP workflows
Cons
- Limited to analysis and context delegation, not full coding
- Depends on an external LLM for the delegated work
- May add latency or complexity in setup
Open-source & AI alternatives
Swap-in tools that solve the same job. Weigh the trade-offs before you commit.
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
