BRAINIAC Source Code Structure & Correctness Checks
Server Details
Paid Source Code Structure & Correctness Checks API via x402. Unpaid tool calls return 402.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
Each tool targets a clearly distinct analysis: change coupling, concurrency hazards, error propagation, and maintainability. There is no meaningful overlap in purpose, and the descriptions make the boundaries explicit.
All tools follow a predictable `code_<descriptor>-<action>` pattern with a consistent `code_` prefix and hyphenated descriptors. The final action words vary (`analyze`, `detect`, `audit`, `index`), but they fit each tool's purpose rather than creating confusion.
Four tools is well-scoped for a focused source-code analysis suite. Each tool earns its place by covering a distinct correctness or structure concern.
The surface covers several important structural and correctness checks, including coupling, concurrency, error propagation, and maintainability. Minor gaps remain, such as dependency-cycle analysis, security checks, or test-coverage assessment, but the core scope is reasonably covered.
Available Tools
4 toolscode_change-coupling-analyzeAnalyze change couplingAInspect
Identify files outside a proposed change set that are coupled through supplied module edges, import paths, or historical co-change sets. The source is not compiled or executed. Price $0.04 USDC. POST /api/v1/code/change-coupling-analyze. Unpaid calls return 402 and do not run.
Inputs: files (required), proposed_paths (required), change_sets, module_edges.
code_concurrency-hazard-detectDetect concurrency hazardsAInspect
Flag potential race and shared-state hazards in caller-supplied source using deterministic pattern matches for async/concurrency markers, shared globals, and TOCTOU-shaped spans. The code is not executed. Price $0.04 USDC. POST /api/v1/code/concurrency-hazard-detect. Unpaid calls return 402 and do not run.
Inputs: files (required).
code_error-propagation-auditAudit error propagationAInspect
Find empty catches, swallowed promise rejections, logged-without-rethrow spans, and throw sites without local handlers in caller-supplied source. Pattern matches only; the code is not compiled or run. Price $0.04 USDC. POST /api/v1/code/error-propagation-audit. Unpaid calls return 402 and do not run.
Inputs: files (required).
code_maintainability-indexIndex source maintainabilityAInspect
Build a structural AST from a caller-supplied JavaScript, TypeScript, Python, or Go snippet, or from a caller-supplied AST, and score cyclomatic complexity, cognitive load, nesting depth, and duplicated function structure. The snippet is not executed or stored. Price $0.04 USDC. POST /api/v1/code/maintainability-index. Unpaid calls return 402 and do not run.
Inputs: ast, source, language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Paid Contract Security API via x402. Unpaid tool calls return 402.
1Paid Physical & IoT Security API via x402. Unpaid tool calls return 402.
1Paid Crypto Security API via x402. Unpaid tool calls return 402.
1Paid Account Abstraction API via x402. Unpaid tool calls return 402.
1
Related MCP Servers
FlicenseNot gradedqualityDmaintenance33 crypto security tools via x402 micropayments. Auto-refund guarantee. $0.01-$0.15/call.-- FlicenseNot gradedqualityDmaintenance33 crypto security tools via x402 micropayments. Auto-refund guarantee. $0.01-$0.15/call.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible agents to submit source code for automated SAST/SCA security audits paid via x402 USDC micropayments on Base, returning structured vulnerability findings, CWE IDs, and optional remediated code patches.MIT
- AlicenseAqualityCmaintenancePerforms static security analysis of Solana programs and generates x402 payment invoices for automated agent-to-agent audit workflows.2MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.