Dev Guru

Dev Guru

An AI-powered code consultation server that routes programming queries to specific AI models based on requested expertise levels. It enables users to receive structured feedback on debugging, architectural decisions, and code reviews from Gemini, Claude, or GPT.

Category
Visit Server

README

<div align="center">

<img src="guru.png" alt="Dev Guru" width="300"/>

๐Ÿง˜ Dev Guru

Your AI-powered code consultation MCP server.

Python FastAPI MCP Docker License

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


</div>

๐Ÿ’ก 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:
    • novice โ†’ Gemini (fast, efficient)
    • medium โ†’ Claude (balanced, analytical)
    • expert โ†’ OpenAI 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 Consult the guru about a coding problem

๐Ÿงช Testing

PYTHONPATH=. uv run pytest

๐Ÿ—๏ธ Architecture

graph LR
    A[AI Agent] -->|MCP Protocol| B[Dev Guru Server]
    B -->|novice| C[Gemini]
    B -->|medium| D[Claude]
    B -->|expert| E[GPT-5.3-codex]
    B -.->|fallback| F[OpenRouter]
    F --> C
    F --> D
    F --> E

<div align="center">

Built with ๐Ÿง˜ by devs, for devs.

</div>

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured