
MCP server for Python code analysis with RUFF linting and VULTURE dead code detection
概览
A powerful Model Context Protocol (MCP) server that provides comprehensive Python code analysis using for linting, for type checking, and for dead code detection. Perfect for AI assistants, IDEs, and automated code review workflows. For quick installation, use one of the one-click install buttons below... 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.
README
以下为原文 README 节选,完整内容请查看原文。
MCP Server Analyzer for Python 🐍🔍
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…
安装
uvx mcp-server-analyzer配置
{
"mcpServers": {
"analyzer": {
"command": "uvx",
"args": ["mcp-server-analyzer"]
}
}
}