Skip to main content
Glama

MCP Coding Standards Server

A Model Context Protocol (MCP) server that provides programming guidelines and coding standards for multiple languages. Perfect for integrating with Claude Desktop, IDEs, and other MCP-compatible clients.


Features

✨ Multi-Language Support

  • C# (CSharp), golang, javascript, python, typescript

  • Easily extensible for more languages

πŸ” Powerful Search

  • Full-text search across all guidelines

  • Relevance scoring

  • Language filtering

  • Context-aware snippets

πŸ“š Comprehensive Guidelines

  • Naming conventions

  • Async/await patterns

  • LINQ best practices (C#)

  • SOLID principles (C#)

  • Code examples and anti-patterns

πŸ› οΈ Three Essential Tools

  • list_guidelines - Browse available languages and categories

  • get_guideline - Retrieve full guideline text

  • search_guidelines - Search by keyword across all content


Related MCP server: WordPress Code Review MCP Server

Installation

npm install -g mcp-coding-standards
npx mcp-coding-standards

Development

MCP Inspector (Testing)

npm run test:inspector

Open http://localhost:5173 to visually test all tools.


Scripts

npm run build          # Compile TypeScript and copy guidelines
npm run dev            # Build and run server
npm run watch          # Watch mode for development
npm test               # Run comprehensive tests
npm run test:inspector # Open MCP Inspector
npm pack               # Create distribution tarball

Available Tools

3 tools
get_guidelineA

Get the full text of coding guidelines for a specific programming language. Optionally filter by category (e.g., naming, async, SOLID).

Inputs: language (required), category.

list_guidelinesA

List all available programming languages and their guideline categories. Returns language names, aliases, and available categories.

Inputs: no named parameters.

search_guidelinesA

Search coding guidelines by keyword. Returns relevant snippets with context. Useful for finding specific topics like "lambda expression", "async/await", or "naming conventions".

Inputs: query (required), language.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: listing available guidelines, retrieving full text, and searching by keyword. There is no overlap or ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (get_guideline, list_guidelines, search_guidelines), making them predictable and easy to understand.

    Tool Count5/5

    Three tools is an ideal size for this domain, covering the essential operations without being too few or excessive.

    Completeness5/5

    The tool set provides complete coverage for a read-only coding standards server, with listing, retrieval, and search capabilities. No obvious gaps exist for its stated purpose.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers