
Connect AST Cyclomatic Complexity Calculator to your AI
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Find exactly where your code needs refactoring.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 3 capabilities
We ship only the actions that matter.
01-03
3 capabilities in this set.
Part of 3 available through AST Cyclomatic Complexity Calculator.
- 01
Identify refactor candidates
This capability finds functions that are too complex and need refactoring. It flags specific functions that exceed a defined complexity threshold, telling you exactly where to start cleaning up.
- 02
Analyze complexity
Use this capability to analyze the cyclomatic complexity of source code. It scans the provided code block and returns a detailed breakdown of the complexity for every function found.
- 03
Compare complexity impact
Compare complexity between two versions of code. This helps you detect regressions, showing if a recent change increased the complexity or risk in a function.
Real work
What teams actually run
Pre-Merge Code Review
Before merging a large pull request, run the MCP to check if the new code increased the complexity of existing functions.
Legacy Code Cleanup
Feed the MCP a module of old code to identify all functions that are prime candidates for a major refactor.
Feature Comparison
Compare the complexity of the old implementation versus the proposed new implementation to ensure the fix isn't more complicated than the problem.
Module Health Check
Analyze a core service module to get a total complexity score, giving you a quick snapshot of the entire system's risk profile.
One connector, every AI
AST Cyclomatic Complexity Calculator works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put AST Cyclomatic Complexity Calculator to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
705ms average. Fast in production.
AST Cyclomatic Complexity Calculator is checked daily against the live service.
- Fastest day
- 530ms
- Slowest day
- 865ms
- 14-day trend
- Improving-17%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 3 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of AST Cyclomatic Complexity Calculator, so you can see the experience inside your AI.
It does not authenticate your account with AST Cyclomatic Complexity Calculator. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
AST Cyclomatic Complexity Calculator Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_7bidHq5myx7zxRKoE4VCnLp62IY4gA9ZCwP8xqGB/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — AST Cyclomatic Complexity Calculator capabilities are ready to use.
{
"mcpServers": {
"ast-cyclomatic-complexity-calculator-mcp": {
"url": "https://edge.vinkius.com/vk_preview_7bidHq5myx7zxRKoE4VCnLp62IY4gA9ZCwP8xqGB/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up AST Cyclomatic Complexity Calculator in Claude and other AIs
Who it's for
Built for the work AST Cyclomatic Complexity Calculator owners hand off.
This MCP is built for developers, software architects, and senior engineers. If your job involves maintaining large, complex codebases, this capability gives you an objective way to measure technical debt. You hand off code snippets, and the MCP returns actionable metrics.
- 01
Software Architect
Use it to audit the overall maintainability of a module before approving a major feature release.
- 02
Senior Developer
Run it during code reviews to ensure junior team members aren't introducing overly complex logic.
- 03
Technical Lead
Check it to track complexity trends over time and justify refactoring time in sprint planning.
FAQ
Questions AST Cyclomatic Complexity Calculator owners ask.
- 01
What is cyclomatic complexity?
It's a measure of how many independent paths exist through a function's code. A higher number means the function has more decision points (like multiple nested ifs or loops), making it harder to test and understand.
- 02
Does this MCP work with all programming languages?
The capability is designed to analyze source code by looking for specific control flow keywords and logical operators. While it handles common languages like JavaScript and TypeScript, always check the documentation for specific language support.
- 03
Can I use this to find bugs?
It doesn't find bugs directly, but it finds areas of high complexity. High complexity is a major indicator of potential bugs, making it a critical starting point for manual testing and refactoring.
- 04
How do I compare two versions of code?
You use the compare_complexity_impact capability. You provide the original code and the new code, and the MCP tells you if the change increased the complexity or introduced new risks.
- 05
Is this capability better than just reading the code?
Yes. It gives you an objective, quantifiable number. Instead of saying, 'This function is messy,' you can say, 'This function has a complexity score of 11, which is above our threshold of 10.'
- 06
How is complexity calculated?
The capability counts decision points like if, for, while, and logical operators (&&, ||) within a function, then adds 1 to the total count.
- 07
What does it mean if a function is a refactor candidate?
A function is flagged via identify_refactor_candidates when its complexity score exceeds 10, indicating it has too many execution paths and is difficult to maintain.
- 08
Can I use this to check for regressions?
Yes, the compare_complexity_impact capability allows you to compare two code snippets and see if changes increased the complexity or introduced a regression.
Explore
More in Developer Tools
Cyclomatic Complexity Calculator AI Connector
Quantitatively analyze code maintainability using cyclomatic and cognitive complexity metrics.
ViewSQL Static Query Analyzer AI Connector
Perform deterministic static analysis on SQL query strings to detect inefficient, destructive, or insecure pat
ViewWestern Astrology Calculator AI Connector
Calculate sun signs, moon signs, ascendants, and planetary positions.
ViewComplex Ion Formation Calculator AI Connector
Predict complex ion equilibria, species concentrations, and solubility impacts.
View
Suggestions
Vedic Nakshatra Calculator AI Connector
Determine precise lunar mansions (Nakshatras) and their astrological attributes.
ViewGravimetric Analysis Calculator AI Connector
Perform precise quantitative chemical analysis by calculating analyte mass and composition.
ViewSun Sign Calculator AI Connector
Calculate precise zodiac signs with year-specific cusp transitions and astrological properties.
ViewTitration Analysis Calculator AI Connector
Perform precise quantitative titration calculations for direct, back, and indirect methods.
View
Connect AST Cyclomatic Complexity Calculator to Claude, Cursor, ChatGPT & more
