glintefy

glintefy

Provides comprehensive code quality analysis and automated fixing, available as a CLI and MCP server (currently in early beta with MCP part untested).

Category
Visit Server

README

glintefy

<!-- Badges --> CI CodeQL License: MIT Open in Codespaces PyPI PyPI - Downloads Code Style: Ruff codecov Maintainability security: bandit

Code review and automated fixing tools - available as CLI and MCP server.

its useable, but in a very early beta - high churn rate and braking changes ahead - released to ensure pypi package name

MCP part completely untested and NOT operational - the CLI Subservers are working, but in development


What is glintefy?

glintefy provides comprehensive code analysis:

  • 18+ Quality Analyses: Complexity, maintainability, duplication, type coverage, dead code
  • Security Scanning: Bandit integration for vulnerability detection
  • Cache Optimization: Evidence-based @lru_cache recommendations
  • Documentation Coverage: Docstring completeness analysis

Two ways to use it:

Mode Best For
CLI Direct command-line usage, CI/CD pipelines, scripts
MCP Server Integration with Claude Desktop, AI-assisted workflows

Quick Start

Installation

# Recommended: uv
pip install uv
uv pip install glintefy

# Alternative: pip
pip install glintefy

# Development
git clone https://github.com/bitranox/glintefy
cd glintefy && make dev

CLI Usage (Simple)

# Deploy configuration (recommended first step) - this creates a config file with the settings for all tests to adjust
glintefy config-deploy --target app

# Review uncommitted git changes (default)
glintefy review all

# Review all files
glintefy review all --mode full

# Run specific analysis
glintefy review quality
glintefy review security

# Cache optimization with profiling (recommended)
glintefy review profile -- python -m your_app    # Profile your app
glintefy review profile -- pytest tests/         # Or profile tests
glintefy review cache                            # Then analyze

# Clean up analysis data
glintefy review clean                            # Delete all
glintefy review clean -s profile                 # Delete profile only
glintefy review clean --dry-run                  # Preview deletion

MCP Server Usage (Simple)

Add to Claude Desktop config (~/.config/claude/claude_desktop_config.json):

{
  "mcpServers": {
    "glintefy-review": {
      "command": "python",
      "args": ["-m", "glintefy.servers.review"]
    }
  }
}

Then in Claude Desktop:

"Review the code quality of this project"


Documentation

Getting Started

Document Description
CLI Quickstart Start using CLI in 5 minutes
MCP Quickstart Set up MCP server for Claude Desktop
Installation Guide All installation methods

User Guides

Document Description
CLI Reference All CLI commands and options
MCP Tools Reference MCP tools and resources
Configuration All configuration options
Cache Profiling LRU cache optimization guide

Development

Document Description
Development Guide Setup, testing, make targets
Architecture System design overview
Contributing How to contribute

Features Overview

Analyses Available

Analysis Description CLI Command
Scope File discovery, git changes review scope
Quality Complexity, maintainability, duplication review quality
Security Vulnerability scanning (Bandit) review security
Dependencies Outdated packages, vulnerabilities review deps
Documentation Docstring coverage review docs
Performance Hotspot detection, profiling review perf
Cache LRU cache optimization review cache

Quality Metrics

Metric Tool Threshold
Cyclomatic Complexity radon ≤10
Function Length custom ≤50 lines
Nesting Depth custom ≤3 levels
Maintainability Index radon ≥20
Type Coverage mypy ≥80%
Docstring Coverage interrogate ≥80%

Requirements

  • Python 3.13+
  • Git (optional)

Git Integration

Git is optional but enables additional features:

Feature Without Git With Git
Scope Mode --mode full scans all files --mode git scans only uncommitted changes (default)
Code Churn Skipped Analyzes frequently modified files
Branch Info Shows "N/A" Displays current branch

When git is not available:

  • --mode git automatically falls back to --mode full with a warning
  • Code churn analysis is skipped silently
  • Cache analysis works without git (uses in-memory file backup)
  • All other analyses work normally

License

MIT License


Links

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
Qdrant Server

Qdrant Server

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

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