mcp-ollama-code-analyzer
Provides real-time code analysis, refactoring, and optimization using local LLMs via Ollama.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π 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.
π 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.)
π Quick Start
1. Clone the repository
git clone https://github.com/sikienzl/mcp-ollama-code-analyzer.git
cd mcp-ollama-code-analyzerTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoβ¦
Related MCP Servers
- AlicenseCqualityCmaintenanceA 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.36ISC
- AlicenseBqualityDmaintenanceA 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.7487 npm6MIT
- AlicenseAqualityBmaintenanceNexus-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 115901 PyPIMIT
- AlicenseNot gradedqualityBmaintenanceA 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 npm4MIT