C++ Core Guidelines
About
Enforce consistent C++ style and best practices across your codebase. Analyze naming conventions, memory safety, and const correctness, and get actionable modernization suggestions up to C++23. Accelerate reviews with ready-made prompts and quick access to curated guidelines.
Details
- Author
- songjiangzhou
- Categories
- Developer Tools, Knowledge Base
Jump to
Setup
Install C++ Core Guidelines in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/songjiangzhou/cpp_guidelines_mcp
Follow the installation instructions in the repository README, then restart your MCP client.
Enforce consistent C++ style and best practices across your codebase. Analyze naming conventions, memory safety, and const correctness, and get actionable modernization suggestions up to C++23. Accelerate reviews with ready-made prompts and quick access to curated guidelines.
npx -y @smithery/cli install @SongJiangzhou/cpp_guidelines --client claude
git clone https://github.com/SongJiangzhou/cpp_guidelines_mcp.git cd cpp_guidelines_mcp uv sync uv run mcp run cpp_style_server.py
{ "mcpServers": { "cpp-style": { "command": "uv", "args": ["run", "mcp", "run", "cpp_style_server.py"], "cwd": "/path/to/cpp_guidelines_mcp" } } }
# Check a variable name check_naming("myVariable", "variable") # Analyze memory safety analyze_memory_safety("void f(int* p) { delete p; p->run(); }") # Modernize code to C++17 suggest_modern_cpp("for (int i=0; i<v.size(); i++) {...}", "cpp17") # Check const correctness check_const_correctness("class Foo { int getValue() { return x; } int x; };") # Access naming convention docs Resource: cpp-style://naming/all # Access memory best practices Resource: cpp-style://best-practices/memory
cpp_guidelines_mcp/ ├── cpp_style_server.py # MCP server entry point ├── cpp_style/ │ ├── tools/ # 5 analysis tools │ ├── resources/ # 4 reference resource categories │ ├── prompts/ # 2 prompt templates │ └── data/ # JSON knowledge base ├── fly.toml # Fly.io deployment config ├── Dockerfile # Container image └── smithery.yaml # Smithery config (local stdio mode)
- Python >= 3.12
- FastMCP>= 1.21.0
- uvpackage manager
- Deployed onFly.io
- GitHub:https://github.com/SongJiangzhou/cpp_guidelines_mcp
- Issues:https://github.com/SongJiangzhou/cpp_guidelines_mcp/issues
- Smithery:https://smithery.ai/server/SongJiangzhou/cpp_guidelines
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
AmazingMCP — MCP Server for .NET / C# Codebases
An MCP server that gives AI agents deep understanding of C# codebases via Roslyn — type search, dependency graphs, usage analysis, and architecture overviews, all from a live in-memory compilation.
Provides AI assistants with a comprehensive, one-time analysis for complete codebase context and understanding.
Scans code files for definitions, respects .gitignore, and outputs in LLM-friendly formats like XML or Markdown.
Provides AI agents with access to development best practices, security guidelines, and coding standards.
Structural codebase indexer with 17 query tools. 87% token reduction. Zero dependencies.
Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.
Official Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Remote, no-auth MCP server providing AI-powered codebase context and answers
Official Svelte MCP server, provides docs and suggestions on the generated code.
AI-to-AI code review platform — Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





