1. Conduid
  2. Developer Tools
  3. Analyzer
MCP server · Developer Tools

Analyzer

MCP server for Python code analysis with RUFF linting and VULTURE dead code detection

Unclaimed MIT devtools
56Fair

Scored 12 days ago · breakdown

About Analyzer

Analyzer is an MCP server published by Anselmoo in the Developer Tools category: mCP server for Python code analysis with RUFF linting and VULTURE dead code detection.

The repository has 11 stars and 4 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/Anselmoo/mcp-server-analyzer

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (8)

analyze-codeCombined Ruff + ty + Vulture analysis

Parameters not published.

biome-checkLint JS/TS code with Biome

Parameters not published.

biome-formatFormat JS/TS code with Biome

Parameters not published.

ruff-checkLint Python code with RUFF

Parameters not published.

ruff-check-ciCI/CD optimized RUFF output

Parameters not published.

ruff-formatFormat Python code with RUFF

Parameters not published.

ty-checkType-check Python code with ty

Parameters not published.

vulture-scanDead code detection

Parameters not published.

Ask AI

✦

Ask AI about Analyzer

Powered by Claude · Grounded in docs

I know everything about Analyzer. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.4.1Release v0.4.1 · 30 Aug 2026What's Changed fix: correct MCP registry namespace casing to io.github.Anselmoo by @Anselmoo in https://github.com/Anselmoo/mcp-server-analyzer/pull/34 Full Changelog: https://github.com/Anselmoo/mcp-server-analyzer/compare/v0.4.0...v0.4.1
v0.4.0Release v0.4.0 · 30 Aug 2026What's Changed feat: register with the MCP Registry by @Anselmoo in https://github.com/Anselmoo/mcp-server-analyzer/pull/32 chore: bump version to v0.4.0 by @Anselmoo in https://github.com/Anselmoo/mcp-server-analyzer/pull/33 Full…
v0.3.0Release v0.3.0 · 1 Jul 2026What's Changed feat: add Biome JS/TS analyzer + CI/CD hardening (Issues #7, #18) by @Anselmoo in https://github.com/Anselmoo/mcp-server-analyzer/pull/24 docs: add Biome and repo-release-tools to pre-commit, update docs by @Anselmoo in…
v0.2.2Release v0.2.2 · 22 Jun 2026What's Changed feat: add .mcpb DXT v0.4 bundle build and GitHub Release attachment by @Anselmoo in https://github.com/Anselmoo/mcp-server-analyzer/pull/20 chore: switch build-mcpb CI job to mcp2mcpb --from-dist (v0.5) by @Anselmoo in…
v0.2.1Release v0.2.1 · 24 May 2026What's Changed Refactor analyzers and enhance error handling by @Anselmoo in https://github.com/Anselmoo/mcp-server-analyzer/pull/15 fix: update release process to handle existing releases and sign artifacts by @Anselmoo in…

README

MCP Server Analyzer for Python 🐍🔍

SafeSkill 92/100

CI/CD Pipeline PyPI version Docker Code Coverage AgentSeal MCP Docs

A powerful Model Context Protocol (MCP) server that provides comprehensive Python code analysis using Ruff for linting, ty for type checking, and Vulture for dead code detection. Perfect for AI assistants, IDEs, and automated code review workflows.

🚀 Quick Start

VS Code Integration (One-Click Install)

For quick installation, use one of the one-click install buttons below...

Install with UV in VS Code Install with UV in VS Code Insiders

Install with Docker in VS Code Install with Docker in VS Code Insiders

For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).

Optionally, you can add it to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others.

Note that the mcp key is needed when using the mcp.json file.

Using uvx (recommended):

{
  "mcp": {
    "servers": {
      "analyzer": {
        "command": "uvx",
        "args": ["mcp-server-analyzer"]
      }
    }
  }
}

Using Docker:

{
  "mcp": {
    "servers": {
      "analyzer": {
        "command": "docker",
        "args": ["run", "-i", "--rm", "ghcr.io/anselmoo/mcp-server-analyzer"]
      }
    }
  }
}

Universal Installation

# Install with uvx (recommended)
uvx install mcp-server-analyzer

# Install with pip
pip install mcp-server-analyzer

# Run with Docker
docker run ghcr.io/anselmoo/mcp-server-analyzer:latest

# Install from source
git clone https://github.com/anselmoo/mcp-server-analyzer.git
cd mcp-server-analyzer
uv sync --dev
uv run mcp-server-analyzer

📋 Features

  • 🔍 RUFF Analysis: Comprehensive Python linting with auto-fixes
  • 🧠 ty Type Checking: Fast Python type analysis with rule-based diagnostics
  • 🧹 Dead Code Detection: Find unused imports, functions, and variables with VULTURE
  • ⚡ Biome JS/TS Analysis: Fast linting and formatting for JavaScript and TypeScript
  • 📊 Quality Scoring: Combined analysis with quality metrics
  • 🚀 FastMCP Framework: High-performance MCP server implementation
  • 🐳 Docker Ready: Multi-architecture containers with security signing
  • 🔒 Secure: All releases signed with Sigstore for supply chain security

📈 Analysis Examples

RUFF Linting Preview

See comprehensive linting analysis examples: 📋 RUFF Analysis Preview

VULTURE Dead Code Detection Preview

Explore dead code detection capabilities: 🧹 VULTURE Analysis Preview

🛠️ Available Tools

Tool Description Use Case
ruff-check Lint Python code with RUFF Style violations, potential errors
ruff-format Format Python code with RUFF Code formatting and consistency
ruff-check-ci CI/CD optimized RUFF output GitHub Actions, GitLab CI
ty-check Type-check Python code with ty Type safety, incorrect return values
vulture-scan Dead code detection Unused imports, functions, variables
biome-check Lint JS/TS code with Biome Style violations, potential errors
biome-format Format JS/TS code with Biome Code formatting and consistency
analyze-code Combined Ruff + ty + Vulture analysis Complete code quality assessment

🔧 Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "analyzer": {
      "command": "uvx",
      "args": ["mcp-server-analyzer"]
    }
  }
}

Zed

Add to your Zed settings.json:

"context_servers": {
  "analyzer": {
    "command": "uvx",
    "args": ["mcp-server-analyzer"]
  }
}

Claude Code (project-level)

Place .mcp.json at your project root:

{
  "mcpServers": {
    "analyzer": {
      "command": "uvx",
      "args": ["mcp-server-analyzer"]
    }
  }
}

🧪 Development

Prerequisites

  • Python 3.13+
  • uv (recommended) or pip
  • Node.js 22+ (for Biome JS/TS analysis)
  • Docker (optional)

Setup

# Clone repository
git clone https://github.com/anselmoo/mcp-server-analyzer.git
cd mcp-server-analyzer

# Install Python dependencies
uv sync --dev

# Install Biome (JS/TS analyzer)
npm ci

# Run tests
uv run pytest

# Run type checks
uv run ty check src tests

# Run pre-commit hooks
uv tool run pre-commit run --all-files

# Build Docker image
docker build -t mcp-server-analyzer .

Testing

# Run all tests
uv run pytest tests/ -v

# Run with coverage
uv run pytest --cov=src/mcp_server_analyzer --cov-report=html

# Test specific functionality
uv run pytest tests/test_server.py::TestAnalyzers::test_ruff_with_sample_code

📊 Quality Metrics

The server provides quality scoring based on:

  • Ruff Issues: Style violations, potential bugs, complexity metrics
  • ty Diagnostics: Static typing errors and warnings
  • Dead Code Detection: Unused imports, functions, variables
  • Combined Score: Weighted quality assessment (0-100)

🔒 Security

  • Signed Releases: All releases signed with Sigstore
  • Container Signing: Docker images signed with Cosign
  • Trusted Publishing: PyPI releases use GitHub OIDC trusted publishing
  • Vulnerability Scanning: Automated security scanning in CI/CD
  • Supply Chain Security: SLSA Build Level 3 compliance
  • Security Policy: See SECURITY.md for vulnerability reporting

🔍 Data Handling & Transparency

  • In-memory only: Code passed to tools is written to a temporary file, analyzed, and the file is deleted immediately — nothing is persisted between calls.
  • No network calls: The server makes no outbound network connections during analysis.
  • No telemetry: No usage data, analytics, or crash reports are collected.
  • Subprocess isolation: ruff, ty, and vulture are invoked with fixed argument lists — no shell expansion or arbitrary command execution.

📚 Documentation

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes using Conventional Commits
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments


Made with ❤️ for better Python code quality

README fetched from the repository 5 days ago. The original is authoritative.

Questions

About Analyzer

How do I install Analyzer?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Analyzer safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Analyzer still maintained?

Yes — the latest release is v0.4.1 (30 Aug 2026), and the last commit was a month ago. The repository has 11 stars and 4 open issues.