Back to Home
davecthomas icon

mcp_python

Verified Safe

by davecthomas

Overview

Provides AI assistants with curated Python coding best practices and guidelines for code review, improvement suggestions, and detailed explanations.

Installation

Run Command
uvx bestpractices-mcp-server

Environment Variables

  • BEST_PRACTICES_JSON_PATH
  • MAX_SEARCH_RESULTS
  • LOG_LEVEL
  • ENABLE_CACHING

Security Notes

The server does not use `eval` or similar dangerous functions. File paths for the knowledge base are loaded from environment variables, which should be configured securely. The `ErrorResponse` model actively prevents leakage of internal file paths or tracebacks in error messages. Input JSON data is schema-validated. The primary risk would stem from providing a maliciously crafted `python_best_practices.json` file, but the server only parses and serves its content, it does not execute it.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens800
Stars0
Forks0
Last Update2025-12-03

Tags

PythonBest PracticesCoding StandardsAI AssistantCode Review