locallama-mcp

Heratiki/locallama-mcp
★ 41 stars TypeScript Code/Dev Tools Updated 6mo ago ✗ Risk
An MCP Server that works with Roo Code/Cline.Bot/Claude Desktop to optimize costs by intelligently routing coding tasks between local LLMs free APIs and paid APIs.
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The locallama-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and An MCP Server that works with Roo Code/Cline.Bot/Claude Desktop to optimize costs by intelligently routing coding tasks between local LLMs free APIs and paid APIs. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Code/Dev Tools domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Review recent commits in this repository, run the test suite, and highlight performance bottlenecks."
"Search for functions that don't have unit tests and generate test cases for them."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "locallama-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "Heratiki/locallama-mcp"
      ]
    }
  }
}
⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,500+ Ecosystem Dataset ($29) or the Production Starter Kit ($39) with turnkey Python & TypeScript boilerplates.
For Server Authors
Feature This Server
Top homepage & category placement.
Sponsor ($49/wk) →

🛡️ Protodex Verified Badge

Are you the author of locallama-mcp? Add this badge to your GitHub README for social proof and backlink verification.

Protodex Verified
[![Protodex Verified](https://img.shields.io/badge/Protodex-Verified_MCP-2DD9E0?style=flat-square&logo=github)](https://protodex.io/servers/heratiki-locallama-mcp.html)

README Documentation

LocalLama MCP is a local-first, provider-neutral Model Context Protocol server for modern coding-agent workflows. It is being revived to support current MCP-capable tools such as Codex, Claude Code, Claw Code, Cursor, GitHub Copilot Agent mode, and generic MCP clients. The project routes coding work across local models, free or low-cost remote models, and paid frontier models using cost, latency, context capacity, benchmark history, and task fit. It is no longer designed around Cline or Roo Code

View Full Documentation & Updates on GitHub ↗

Tools (20)

CODE_SEARCH_ENABLEDCODE_SEARCH_EXCLUDE_PATTERNSCODE_SEARCH_INDEX_ON_STARTCODE_SEARCH_REINDEX_INTERVALCOST_THRESHOLDDEFAULT_LOCAL_MODELDEPENDENCY_ANALYSIS_ENABLEDLM_STUDIO_ENDPOINTLOCK_FILE_CHECK_ACTIVE_PROCESSMAX_SUBTASKSOLLAMA_ENDPOINTOPENROUTER_API_KEYPYTHON_DETECT_VENVPYTHON_PATHPYTHON_VENV_PATHQUALITY_THRESHOLDREMOVE_STALE_LOCK_FILESSUBTASK_GRANULARITYTASK_DECOMPOSITION_ENABLEDTOKEN_THRESHOLD

Topics

clinebotmcp-serverroocodevscode