clangd-tidy
A faster alternative to clang-tidy
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you have a C++ codebase where clang-tidy runtime is a CI bottleneck and you can accept that some clang-tidy features (like `--fix`) and a small set of checks are unavailable. Requires clangd to be pre-installed on your system. No security vulnerabilities are known, maintenance is active, and the permissive license poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- clangd must be installed and available on the system PATH; Python 3.8 or later required.
- Low install friction: pure Python wheel with only three lightweight runtime dependencies (attrs, cattrs, typing-extensions).
- Actively maintained with recent releases; however, requires clangd to be installed separately on the system.
License · maintenance · safety
permissive license (permissive) — Licensed under permissive terms (MIT), placing no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2026-02-09 (186 days) · last repo commit 2026-05-12 · 160 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 158,518 downloads/mo, #10,721 on PyPI
Alternatives
Verify before relying
pip install clangd-tidy
clangd-tidy -p build file.cpp
# or with formatting check:
clangd-tidy -f -p build file.cpp- Whether clangd-tidy's 'over 10x' speed claim is reproducible on typical codebases and hardware.
- Scope and impact of the several checks that clangd silently disables compared to standalone clang-tidy.
- Practical differences in diagnostic output aesthetics and whether they affect CI/CD workflows.
- Whether the optional tqdm dependency is automatically installed or must be added manually for progress bars.
What it is and what it does
clangd-tidy is a Python wrapper around clangd that performs static analysis on C++ code faster than the standalone clang-tidy tool. It acts as a drop-in replacement, accepting similar command-line arguments and integrating with existing build systems and CI pipelines. The speed improvement comes from clangd's architecture: it builds abstract syntax trees only from the files being checked, rather than processing all included headers as clang-tidy does.
The package depends on attrs, cattrs, and typing-extensions for its Python runtime, and requires clangd to be installed separately on the system. It supports features like code formatting checks via clang-format integration, `.clangd` configuration files for advanced diagnostics (such as include checks), line-based filtering of results, and output formatting for GitHub Actions. Some clang-tidy features like the `--fix` option are not supported, and a small number of checks are silently disabled because clangd does not implement them.
Use it for
- Speed up C++ static analysis in CI/CD pipelines where clang-tidy execution time is a bottleneck.
- Check header files individually without requiring them to be in the compilation database.
- Combine static analysis and code formatting checks in a single tool to reduce separate tool invocations.
- Leverage clangd's `.clangd` configuration for advanced diagnostics like unused-include and missing-include checks.
- Integrate with GitHub Actions workflows to report diagnostics with hyperlinked check names in supported terminals.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you have a C++ codebase where clang-tidy runtime is a CI bottleneck and you can accept that some clang-tidy features (like `--fix`) and a small set of checks are unavailable. Requires clangd to be pre-installed on your system. No security vulnerabilities are known, maintenance is active, and the permissive license poses no restrictions.
Install
clangd-tidy on PyPI
Before you install
Low install friction: pure Python wheel with only three lightweight runtime dependencies (attrs, cattrs, typing-extensions). Actively maintained with recent releases; however, requires clangd to be installed separately on the system.
clangd must be installed and available on the system PATH; Python 3.8 or later required.
License in practice
Licensed under permissive terms (MIT), placing no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install clangd-tidy
clangd-tidy -p build file.cpp
# or with formatting check:
clangd-tidy -f -p build file.cpp
Verify before relying
- Whether clangd-tidy's 'over 10x' speed claim is reproducible on typical codebases and hardware.
- Scope and impact of the several checks that clangd silently disables compared to standalone clang-tidy.
- Practical differences in diagnostic output aesthetics and whether they affect CI/CD workflows.
- Whether the optional tqdm dependency is automatically installed or must be added manually for progress bars.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesattrscattrstyping-extensions |
| Maintenance | Actively maintained 186 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 158,518 / month, #10,721 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: POSIXProgramming Language :: Python :: 3 :: OnlyTopic :: Software Development :: Quality Assurance |
Evidence: clangd_tidy-1.1.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fast c++ static analysis”
- clangd-tidyclangd-tidy wraps clangd to provide faster static analysis of C++…
- zubanZuban is a Rust-based Python language server and type checker…
- marisa-trieProvides memory-efficient trie data structures for fast string…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also clang-tidy · pyclang · clang · libclang · lit · scan-build · clang-format · cppyy-cling · grep-ast · pylint-exit