Paid Source Code Structure & Correctness Checks API via x402. Unpaid tool calls return 402.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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. An unpaid call returns the x402 payment terms and does not run.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http code https://www.brainiac.software/mcp/code
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. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| files* | array | |
| change_sets | array | |
| module_edges | array | |
| proposed_paths* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"files",
"proposed_paths"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"source"
],
"properties": {
"path": {
"type": "string",
"maxLength": 260,
"minLength": 1
},
"source": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"language": {
"enum": [
"javascript",
"typescript",
"python",
"go",
"other"
],
"type": "string"
}
}
},
"maxItems": 200,
"minItems": 1
},
"change_sets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"paths"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"paths": {
"type": "array",
"items": {
"type": "string",
"maxLength": 260,
"minLength": 1
},
"maxItems": 200,
"minItems": 1
}
}
},
"maxItems": 500
},
"module_edges": {
"type": "array",
"items": {
"type": "object",
"required": [
"from_path",
"to_path"
],
"properties": {
"kind": {
"enum": [
"import",
"call",
"data",
"other"
],
"type": "string"
},
"to_path": {
"type": "string",
"maxLength": 260,
"minLength": 1
},
"from_path": {
"type": "string",
"maxLength": 260,
"minLength": 1
}
}
},
"maxItems": 5000
},
"proposed_paths": {
"type": "array",
"items": {
"type": "string",
"maxLength": 260,
"minLength": 1
},
"maxItems": 200,
"minItems": 1
}
}
}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. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| files* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"source"
],
"properties": {
"path": {
"type": "string",
"maxLength": 260,
"minLength": 1
},
"source": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"language": {
"enum": [
"javascript",
"typescript",
"python",
"go",
"other"
],
"type": "string"
}
}
},
"maxItems": 200,
"minItems": 1
}
}
}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. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| files* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"source"
],
"properties": {
"path": {
"type": "string",
"maxLength": 260,
"minLength": 1
},
"source": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"language": {
"enum": [
"javascript",
"typescript",
"python",
"go",
"other"
],
"type": "string"
}
}
},
"maxItems": 200,
"minItems": 1
}
}
}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. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| ast | any | |
| source | string | |
| language | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ast": {
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
},
"source": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"language": {
"enum": [
"javascript",
"typescript",
"python",
"go"
],
"type": "string"
}
},
"definitions": {
"__schema0": {
"type": "object",
"required": [
"type"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
},
"maxItems": 200
}
}
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 19, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.