Skip to main content
Glama
Coding Standards MCP Server

Coding Standards MCP Server

by ggerve

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)

Related MCP server: Best Practices MCP Server

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Available Tools

3 tools
get_best_practicesB

Get application best practices for the specified language in Markdown format

Inputs: language (required). Returns: result

get_style_guideB

Get coding style guidelines for the specified language in Markdown format

Inputs: language (required). Returns: result

list_templatesB

List all available templates grouped by type and language

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_best_practices focuses on application-level best practices, get_style_guide on coding style guidelines, and list_templates on available templates. There is no overlap in functionality, making tool selection unambiguous for an agent.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (get_best_practices, get_style_guide, list_templates) with clear, descriptive verbs and nouns. The naming is uniform and predictable across all three tools.

    Tool Count3/5

    With only 3 tools, the server feels thin for a coding standards domain, which might include operations like validating code, applying templates, or managing standards. While the tools are well-defined, the count is borderline low for the apparent scope.

    Completeness2/5

    The tool surface has significant gaps for a coding standards server. It lacks CRUD operations for managing standards (e.g., create/update/delete practices or templates), validation tools, or integration with code analysis, which are core to the domain. This will likely cause agent failures in comprehensive workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides AI agents with professional coding standards, development best practices, and context-aware guidance through static documentation and AI-powered custom recommendations. Enables agents to access comprehensive development guidelines including coding rules, debugging techniques, and AI steering instructions.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants and developers to analyze code for language-specific best practices and idiomatic patterns across programming languages, CI automation, and configuration formats.
      16
      800 PyPI
      2
      MIT