Repo Analyzer (Local)

Analyze Git repositories to provide guidance for Dockerfile creation. Detect dependencies, programming languages, and more to streamline your development process. Enhance your workflow with detailed recommendations for both public and private repositories.

Installation

Installing for Claude Desktop

Manual Configuration Required

This MCP server requires manual configuration. Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

This will open your configuration file where you can add the Repo Analyzer (Local) MCP server manually.

Repo Analyzer MCP Server (Local)

An MCP server that analyzes Git repositories and provides Dockerfile creation guidance. Runs locally using stdio transport.

Features

  • Analyzes repository structure and dependencies
  • Detects primary programming language
  • Identifies exposed ports
  • Handles monorepo detection
  • Supports private GitHub repositories (with GITHUB_TOKEN)
  • Provides detailed Dockerfile recommendations

Prerequisites

  • Python >= 3.10
  • Git command-line tool in PATH
  • (Optional) GitHub Personal Access Token for private repos

Installation

  1. Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate  # Linux/macOS
# or
.venv\Scripts\activate     # Windows
  1. Install dependencies:
pip install -e .

Usage

With MCP Inspector

mcp-inspector python src/repo_analyzer_mcp/server.py

With VS Code / GitHub Copilot

Add to VS Code settings (JSON) or create .vscode/mcp.json:

{
  "mcp.servers": {
    "repo-analyzer-local": {
      "type": "stdio",
      "command": "/path/to/venv/python",
      "args": ["/path/to/src/repo_analyzer_mcp/server.py"],
      "env": {
        "GITHUB_TOKEN": "${env:GITHUB_TOKEN}"
      },
      "displayName": "Repo Analyzer (Local)"
    }
  }
}

Replace /path/to/ with actual paths on your system.

Environment Variables

  • GITHUB_TOKEN: GitHub Personal Access Token (required for private repos)
Share:
Details:
  • Stars


    0
  • Forks


    0
  • Last commit


    7 months ago
  • Repository age


    7 months
View Repository

Auto-fetched from GitHub .

MCP servers similar to Repo Analyzer (Local):

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit