Skip to main content
Glama
mcp-ollama-code-analyzer

mcp-ollama-code-analyzer

by sikienzl

πŸš€ MCP Ollama Code Analyzer

A self-hosted, privacy-focused alternative to GitHub Copilot. Uses Ollama (local LLMs) with MCP servers in Docker for real-time code analysis, refactoring, and optimization. Requires a CUDA-capable GPU for optimal performance.

GitHub Stars License Docker Pulls


πŸ“Œ Features

βœ… Local AI-powered code analysis (no cloud costs!) βœ… Dockerized MCP server (easy setup) βœ… VS Code integration (Continue/Roo) βœ… CUDA acceleration (for optimal performance) βœ… Supports multiple Ollama models (e.g., llama3, codellama) βœ… Real-time code improvements (refactoring, bug fixes, optimizations)


Related MCP server: LocalNest MCP

πŸ› οΈ Requirements

  • Docker & Docker Compose

  • NVIDIA Container Toolkit (for CUDA acceleration)

  • Ollama (locally installed)

  • CUDA-capable GPU (e.g., NVIDIA RTX 30xx/40xx, A100, etc.)

  • VS Code with Continue or Roo


πŸš€ Quick Start

1. Clone the repository

git clone https://github.com/sikienzl/mcp-ollama-code-analyzer.git
cd mcp-ollama-code-analyzer

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      A privacy-first MCP server that provides local LLM-enhanced tools for code analysis, security scanning, and automated task execution using backends like Ollama and LM Studio. It enables symbol-aware code reviews and workspace exploration while ensuring that all code and analysis remain strictly on your local machine.
      36
      ISC
    • A
      license
      B
      quality
      D
      maintenance
      A local-first MCP server that provides AI agents with safe codebase access through file discovery, hybrid lexical-semantic search, and project introspection. It features durable local memory and semantic indexing while keeping all data and processing entirely on your local machine.
      74
      87 npm
      6
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Nexus-MCP is a local MCP server for coding agents. Hybrid code search and a call graph for 10 languages give the agent the right code in one call, so it reads less. No API key, no telemetry, MIT. * 95% fewer tokens to reach the right file * About 9Γ— faster search than Grep and Read * Live Claude Code runs on 11 repos: cost per task lower on 8 of 11
      5
      901 PyPI
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A local MCP server that provides AI coding assistants with semantic search capabilities over codebases. It indexes code using local embeddings and exposes tools for efficient code retrieval, saving tokens and improving response quality.
      31 npm
      4
      MIT