New in CppDepend 2027
AI Assistants
MCP server, cppdepend-ai for CI and pull requests, and Chat with Code, all working from your analysis facts on your own provider.
An assistant is only as good as its context. CppDepend gives it your technical debt, rules and issues, metrics, dependencies, quality gate and changes since the baseline. Three ways to use it, all on the same analysis result:
| Way | What it is | Use it to |
|---|---|---|
| MCP server | Any MCP client (Claude, Copilot, Cursor…) asks CppDepend live questions instead of guessing from source files. | Read issues, debt, metrics and dependencies on demand; run CQLinq queries. |
CLI and CI cppdepend-ai | A command-line program shipped with the product, for build servers. Works with Claude Code, Codex, Copilot, Cursor, Gemini CLI and assistants without MCP. | Review a change or pull request before merge; check the quality gate and fail the build when quality drops. |
| Built in | AI inside Visual CppDepend, using the provider you configure once. | Chat with Code, explain and fix an issue, draft a deviation justification, build prompts. |
cppdepend-ai init cppdepend-ai analyze --run cppdepend-ai review --base main
Inside Visual CppDepend
- Chat with Code: ask in plain language. The AI writes a CQLinq query, CppDepend runs it on your result, and the rows appear in a grid. Follow-up questions are supported.
- Explain this issue and Fix this issue.
- Draft deviation justification for the Deviations page.
- Review Changes and AI Agent pages.
- AI Prompt Builder: assemble a prompt from the facts CppDepend knows.
- AI Provider: OpenAI (GPT), Anthropic (Claude), Google Gemini, or any OpenAI-compatible or local server. Model, endpoint, answer length and timeout per provider; fetch the model list; test the connection.
PrivacyThe key is stored encrypted for your Windows user (DPAPI); an environment variable can override it. Options: send code snippets only, and remove absolute paths. The answer language is automatic or chosen.
Go further. Every page, setting and rule is described in the CppDepend AI documentation.Read the CppDepend AI documentation →
