Dev Guru MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add dev-guru -- docker compose up --build
README.md

Your AI-powered code consultation MCP server.

🧘 Dev Guru

Your AI-powered code consultation MCP server.

When you're stuck, afraid, or just lazy to ask for help — Dev Guru is here.


💡 What is Dev Guru?

Dev Guru is a specialized MCP (Model Context Protocol) server that acts as an on-demand senior code consultant for AI agents. It routes coding problems to the most suitable AI model based on the requested expertise level, providing structured, actionable feedback.

Think of it as a second brain for your AI agent — a guru it can consult when facing tough coding decisions.

🎯 Use Cases

Scenario How Dev Guru Helps
🐛 Debugging Complex Issues Your agent is stuck on a tricky bug. It calls Dev Guru with the context and gets expert-level reasoning and suggestions.
🏗️ Architecture Decisions Unsure about a design pattern? Dev Guru analyzes your code structure and recommends the best approach.
🔄 Code Review on Demand Submit code for review and get structured feedback with a thinking process and concrete suggestions.
🤔 Validating Reasoning Your agent has an idea but isn't confident. Dev Guru validates the reasoning and either confirms or corrects the approach.
Multi-Model Leverage Automatically routes to Gemini, Claude, or GPT based on the complexity level — getting the right model for the right job.

✨ Features

  • 🧠 Expert-based Routing — Automatically selects the best AI model for the task:
    • noviceGemini (fast, efficient)
    • mediumClaude (balanced, analytical)
    • expertOpenAI GPT (deep reasoning)
  • 🔀 OpenRouter Fallback — If a primary API key is missing, seamlessly falls back to OpenRouter
  • 🎛️ Configurable Models — Choose exactly which model to use per level via environment variables
  • FastMCP Core — High-performance MCP server implementation
  • 📦 Skill Management API — Dynamic skill installation and management via REST
  • 🐳 Docker Ready — Multi-stage build with uv for efficient containerized deployments
  • 🧩 Agno Framework — Leverages Agno for agent orchestration and structured outputs

🚀 Quick Start

Prerequisites

  • Python 3.12+
  • `uv` (recommended)
  • At least one API key: Gemini, Anthropic, OpenAI, or OpenRouter

Installation

# Clone the repository
git clone https://github.com/your-user/dev-guru.git
cd dev-guru

# Create your environment file
cp .env.example .env
# Edit .env with your API keys

# Install dependencies
uv sync

Running

# Start the full API + MCP server
uv run python main.py

Docker

docker compose up --build

⚙️ Configuration

Environment Variables

Variable Description Default
GEMINI_API_KEY Google Gemini API key
ANTHROPIC_API_KEY Anthropic Claude API key
OPENAI_API_KEY OpenAI API key
OPENROUTER_API_KEY OpenRouter API key (universal fallback)
API_KEY Optional API key to protect REST and MCP endpoints
NOVICE_MODEL Model ID for novice level gemini-3.1-pro-preview
MEDIUM_MODEL Model ID for medium level claude-opus-4.6
ADVANCED_MODEL Model ID for expert level gpt-5.3-codex
PORT Server port 8000
DEBUG Debug mode true

Tip: You only need an OPENROUTER_API_KEY to use all three levels — it acts as a universal fallback for any missing provider key.

🔌 MCP Configuration

Add Dev Guru to your MCP client (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "dev-guru": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/dev-guru",
        "run",
        "python",
        "src/server.py"
      ]
    }
  }
}

📡 API Endpoints

Skill Management

Method Endpoint Description
GET /skills List all loaded skills
GET /skills/{name} Get details of a specific skill
POST /skills Install a skill (URL or base64 zip)
POST /skills/upload Install a skill via file upload
DELETE /skills/{name} Delete a skill

MCP Tool

Tool Parameters Description
call_guru level, technologies, context, thinking Consu

Tools (1)

call_guruConsult the guru for code consultation based on expertise level and context.

Environment Variables

GEMINI_API_KEYGoogle Gemini API key
ANTHROPIC_API_KEYAnthropic Claude API key
OPENAI_API_KEYOpenAI API key
OPENROUTER_API_KEYOpenRouter API key (universal fallback)
NOVICE_MODELModel ID for novice level
MEDIUM_MODELModel ID for medium level
ADVANCED_MODELModel ID for expert level

Configuration

claude_desktop_config.json
{"mcpServers": {"dev-guru": {"command": "uv", "args": ["--directory", "/path/to/dev-guru", "run", "python", "src/server.py"]}}}

Try it

Call the guru to debug this complex Python function using the expert level.
I need an architectural review of my current project structure, please consult the guru.
Validate my reasoning for using a singleton pattern in this TypeScript module.
Get a code review for the provided snippet using the medium expertise level.

Frequently Asked Questions

What are the key features of Dev Guru?

Expert-based routing to Gemini, Claude, or GPT based on task complexity. OpenRouter fallback for seamless API integration. Configurable model selection per expertise level. Skill management API for dynamic skill installation. High-performance FastMCP core implementation.

What can I use Dev Guru for?

Debugging complex code issues with expert-level reasoning. Receiving architectural design pattern recommendations. Performing on-demand code reviews with structured feedback. Validating technical reasoning for coding decisions. Leveraging multiple AI models for different task complexities.

How do I install Dev Guru?

Install Dev Guru by running: git clone https://github.com/your-user/dev-guru.git && cd dev-guru && uv sync

What MCP clients work with Dev Guru?

Dev Guru works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Dev Guru docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare