MCP servers for code review and automated fixing
Project description
glintefy
Code review and automated fixing tools - available as CLI and MCP server.
this is very early beta - high churn rate and braking changes ahead - its only released to ensure pypi package name
MCP part completely untested and NOT operational - CLI Subservers 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_cacherecommendations - 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 gitautomatically falls back to--mode fullwith a warning- Code churn analysis is skipped silently
- Cache analysis works without git (uses in-memory file backup)
- All other analyses work normally
License
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glintefy-3.0.0.tar.gz.
File metadata
- Download URL: glintefy-3.0.0.tar.gz
- Upload date:
- Size: 564.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd1b6a9886ddd27e3fa59233bdfc6b4c7674d49b29fc4d78180301a642d6b532
|
|
| MD5 |
747445df0859e865c596e1ec661ffede
|
|
| BLAKE2b-256 |
606aefb737eabcb787a57cb3588383f3d10c83c1b85eda7c98f6ada6fd97f916
|
File details
Details for the file glintefy-3.0.0-py3-none-any.whl.
File metadata
- Download URL: glintefy-3.0.0-py3-none-any.whl
- Upload date:
- Size: 190.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4d685dd07319ba9a94da69d4add68dba462dd1a2c436c0e8a46cd92f922d71b
|
|
| MD5 |
bbd778fb8e71062b02ef49af8c7d27b6
|
|
| BLAKE2b-256 |
a2ed3aaff463d93c1f5bf2021b43d88c28318f0dd14a2c3aa7eea1f3c2f14eef
|