Coding Standards MCP Server

by ggerve

Integrations

  • Provides access to Python coding style guidelines based on PEP 8 and best practices for project layout, dependency management, and testing.

  • Offers React best practices including component structure, hooks usage, component patterns, state management, performance optimization, and TypeScript integration.

Coding Standards MCP Server

This MCP server provides tools for accessing coding style guidelines and best practices for various technologies (Java, Python, React).

Prerequisites

  • Python 3.8 or higher
  • MCP package (pip install mcp)
  • UV package manager (recommended)

Quick Start

  1. Install the server in Claude:
mcp install server.py
  1. Run in development mode:
mcp dev server.py

The MCP inspector will start on port 3000.

Available Tools

Style Guides

Access language-specific coding style guidelines:

  • Java: Clean code practices, naming conventions, code organization
  • Python: PEP 8 based guidelines, Pythonic code practices
  • React: Component structure, hooks usage, TypeScript integration

Best Practices

Access language-specific application best practices:

  • Java: Project structure, architecture, testing, security
  • Python: Project layout, dependency management, testing practices
  • React: Component patterns, state management, performance optimization

API Reference

  1. java_style_guide: Get Java coding style guidelines
    • Returns: Markdown formatted style guide
    • Example: nortal_coding_standards_java_style_guide()
  2. java_best_practices: Get Java application best practices
    • Returns: Markdown formatted best practices
    • Example: nortal_coding_standards_java_best_practices()
  3. python_style_guide: Get Python coding style guidelines
    • Returns: Markdown formatted style guide
    • Example: nortal_coding_standards_python_style_guide()
  4. python_best_practices: Get Python application best practices
    • Returns: Markdown formatted best practices
    • Example: nortal_coding_standards_python_best_practices()
  5. react_best_practices: Get React application best practices
    • Returns: Markdown formatted best practices
    • Example: nortal_coding_standards_react_best_practices()

Configuration

MCP Client Configuration

Add this to your MCP client configuration file (e.g., ~/.codeium/windsurf/mcp_config.json):

{ "mcpServers": { "nortal_coding_standards": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "/absolute/path/to/coding-standards-mcp/server.py" ] } } }

Replace /absolute/path/to/coding-standards-mcp/server.py with your actual server path.

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides tools for accessing coding style guidelines and best practices for various technologies including Java, Python, and React.

  1. Prerequisites
    1. Quick Start
      1. Available Tools
        1. Style Guides
        2. Best Practices
      2. API Reference
        1. Configuration
          1. MCP Client Configuration

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Provides tools for collecting and documenting code from directories.
          Last updated -
          4
          81
          12
          TypeScript
          MIT License
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          Facilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.
          Last updated -
          6
          25
          JavaScript
          AGPL 3.0
          • Apple
        • -
          security
          F
          license
          -
          quality
          A utility toolkit that enhances Claude's code interaction capabilities by providing seamless tools for Java code analysis, manipulation, and testing workflows.
          Last updated -
          2
          TypeScript
        • -
          security
          A
          license
          -
          quality
          A server that provides structured access to markdown documentation from NPM packages, Go Modules, or PyPi packages, enabling informed code generation by exposing these docs as resources or tools.
          Last updated -
          1
          TypeScript
          MIT License

        View all related MCP servers

        ID: jiob6e27n1