Python Code Reviewer

Security + bug + perf + refactor audit for Python. Returns 0-10 score + MD report.

我該用這個嗎

品質與安全性

B
說明品質
75%
結構描述完整度
80%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'python_quality_score' description lacks action verb在 python_quality_score 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~256Token(工具定義)
~890 B典型回應大小
極小的注意力影響(128k 上下文的 0.20%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "python-code-reviewer": {
      "url": "https://43-134-36-21.duckdns.org/mcp/mcp"
    }
  }
}

遠端端點

https://43-134-36-21.duckdns.org/mcp/mcpstreamable-http

它能做什麼

工具清單

工具(2)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪python_code_review(code, depth)

Review Python code and output a structured report: security vulnerabilities, bug detection, performance optimization suggestions, code standards, and refactoring advice. Args: code: The Python code to review depth: Review depth (quick/standard/deep)

輸入結構描述

{
  "type": "object",
  "properties": {
    "code": {
      "title": "Code",
      "type": "string"
    },
    "depth": {
      "default": "standard",
      "title": "Depth",
      "type": "string"
    }
  },
  "required": [
    "code"
  ],
  "title": "python_code_reviewArguments"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "python_code_reviewOutput"
}
⚪python_quality_score(code)

Return only the code quality score and brief rating, without a full report. Args: code: The Python code to score

輸入結構描述

{
  "type": "object",
  "properties": {
    "code": {
      "title": "Code",
      "type": "string"
    }
  },
  "required": [
    "code"
  ],
  "title": "python_quality_scoreArguments"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "python_quality_scoreOutput"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本2 個工具
已驗證未記錄版本2 個工具