MCP Server Analyzer
What it does
MCP server for Python, JavaScript, and TypeScript code analysis with Ruff, ty, Vulture, and Biome
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "analyzer": { "command": "uvx", "args": [ "mcp-server-analyzer" ] } } }Claude を終了してもう一度開く
試してみる
MCP Server Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が MCP Server Analyzer を使っていると言うか、回答に MCP Server Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ MCP Server Analyzer につなげません
MCP Server Analyzer はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · MCP Server Analyzer につなげるアプリを使う
- 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user analyzer -- uvx mcp-server-analyzerClaude Code で /mcp と入力
MCP Server Analyzer が一覧にあり、接続済みと表示されれば OK です
試してみる
MCP Server Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が MCP Server Analyzer を使っていると言うか、回答に MCP Server Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
Cursor の AI チャットを Agent モードで開く
試してみる
MCP Server Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が MCP Server Analyzer を使っていると言うか、回答に MCP Server Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
VS Code の AI チャットを Agent モードで開く
試してみる
MCP Server Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が MCP Server Analyzer を使っていると言うか、回答に MCP Server Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user analyzer -- uvx mcp-server-analyzerClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"analyzer": {
"command": "uvx",
"args": [
"mcp-server-analyzer"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"analyzer": {
"command": "uvx",
"args": [
"mcp-server-analyzer"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"analyzer": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-analyzer"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント Anselmoo で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:2 か月前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5793件のうち90%よりスターが多い
- このカテゴリのほかの5793件のうち32%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5793件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
MCP Server Analyzerは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は2 か月前、最新バージョン(0.4.1)がレジストリに届いたのは2 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv), Dockerも必要です。
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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...
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
mcpkey is needed when using themcp.jsonfile.
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](examples/preview-ruff.md)
VULTURE Dead Code Detection Preview
Explore dead code detection capabilities: [🧹 VULTURE Analysis Preview](examples/preview-vulture.md)
🛠️ 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
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
- [Full Documentation](https://anselmoo.github.io/mcp-server-analyzer/) - GitHub Pages docs
- [Tools Reference](https://anselmoo.github.io/mcp-server-analyzer/tools/) - Detailed tool parameters and return types
- [MCP Specification](https://modelcontextprotocol.io/) - Learn about Model Context Protocol
- [FastMCP Framework](https://gofastmcp.com/) - High-performance MCP implementation
- [Ruff Documentation](https://docs.astral.sh/ruff/) - Python linter and formatter
- [ty Documentation](https://docs.astral.sh/ty/) - Python type checker and language server
- [Vulture Documentation](https://github.com/jendrikseipp/vulture) - Dead code finder
🤝 Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes using Conventional Commits
- Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Astral for RUFF and uv
- Jendrik Seipp for VULTURE
- Model Context Protocol team
- FastMCP framework
Made with ❤️ for better Python code quality