# BRAINIAC Source Code Structure & Correctness Checks

> BRAINIAC Source Code Structure & Correctness Checks is a paid MCP server for developer tools. Pay-per-call MCP server for source code structure and correctness checks, paid via x402. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://www.brainiac.software
- **MCP Registry name:** software.brainiac/code
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-20

## About

BRAINIAC exposes source code structure and correctness checks as an MCP server that AI agents can call directly. The registry entry describes it as a paid API: unpaid tool calls return HTTP 402, so each request is settled per call rather than through an account or subscription.

The server is reached over streamable HTTP at the vendor's own endpoint. Payment uses the x402 protocol with a fixed USDC price on Base, so an agent pays for each result it requests. The vendor's site also describes the wider company's compliance, security and onchain data APIs, but this listing covers only the code checks server.

It suits developers building agents that need an automated code review step without setting up accounts or API keys.

## Features

- **Pay-per-call access:** Each tool call is paid individually in USDC on Base via x402, with no account required.
- **Streamable HTTP transport:** The server is reached at a hosted MCP endpoint using the streamable HTTP transport.
- **Source structure checks:** Analyses the structure of submitted source code, according to the registry entry.
- **Correctness checks:** Runs correctness checks on code as part of the same paid API.

## Good for

- Adding an automated structural check to an AI coding agent's workflow
- Running correctness checks on generated code before it is committed
- Letting an autonomous agent pay for code verification without a vendor account

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http code https://www.brainiac.software/mcp/code
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "code": {
      "type": "http",
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://www.brainiac.software/mcp/code
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "code": {
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "code": {
      "type": "http",
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://www.brainiac.software/mcp/code
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add code --url https://www.brainiac.software/mcp/code
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.code]
url = "https://www.brainiac.software/mcp/code"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "code": {
      "httpUrl": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http code https://www.brainiac.software/mcp/code

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "code": {
      "serverUrl": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "code": {
      "url": "https://www.brainiac.software/mcp/code",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "code": {
      "type": "streamableHttp",
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "code": {
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "code": {
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "code": {
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "code": {
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://www.brainiac.software/mcp/code
```

Enter a Name (for example "BRAINIAC Source Code Structure & Correctness Checks"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "code": {
      "type": "http",
      "url": "https://www.brainiac.software/mcp/code"
    }
  }
}
```

## Tools

The server marks all 5 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `code_maintainability-index` (says read-only): 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 Docs: https://www.brainiac.software/api/code/maintainability-index Keywords: before you merge or rely on the supplied code, language, source, ast, maintainability score, maintainability_sc
- `code_change-coupling-analyze` (says read-only): Identify files outside a proposed change set that are coupled through supplied module edges, import paths, or historical co-change sets. Docs: https://www.brainiac.software/api/code/change-coupling-analyze Keywords: before you merge or rely on the supplied code, files, proposed paths, module edges, change sets, findings, summary, explanations, Analyze change coupling, change coupling analyze.
- `code_concurrency-hazard-detect` (says read-only): 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. Docs: https://www.brainiac.software/api/code/concurrency-hazard-detect Keywords: before you merge or rely on the supplied code, files, findings, summary, explanations, Detect concurrency hazards, concurrency hazard detect
- `code_error-propagation-audit` (says read-only): Find empty catches, swallowed promise rejections, logged errors without rethrow, and throw sites without local handlers in caller-supplied source. Docs: https://www.brainiac.software/api/code/error-propagation-audit Keywords: before you merge or rely on the supplied code, files, findings, summary, explanations, Audit error propagation, error propagation audit, Source Code Structure & Correctness C
- `contact_us` (says read-only): How to contact BRAINIAC.software support: email, page URL, what to include in a message, and what not to send. Free. Does not send email.

## FAQ

### How do I pay for calls?

The registry entry says unpaid tool calls return 402, and the vendor site describes fixed USDC prices on Base via x402.

### Does BRAINIAC Source Code Structure & Correctness Checks need an account?

The vendor site says no account is needed to set up the APIs.

### How is the server connected?

The registry entry lists a streamable-http remote at the vendor's /mcp/code endpoint.

### Is BRAINIAC Source Code Structure & Correctness Checks free?

No. BRAINIAC Source Code Structure & Correctness Checks is a paid product.

### How do I add BRAINIAC Source Code Structure & Correctness Checks to Claude Code?

Run this command in your terminal: claude mcp add --transport http code https://www.brainiac.software/mcp/code

### What are the best alternatives to BRAINIAC Source Code Structure & Correctness Checks?

The closest alternatives to BRAINIAC Source Code Structure & Correctness Checks are BRAINIAC Accessibility Intelligence, BRAINIAC Application & Pipeline Security Checks, BRAINIAC Agent Execution Contract Intelligence, BRAINIAC Account Abstraction and BRAINIAC Agent Tool Schema Intelligence.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [BRAINIAC Accessibility Intelligence](https://ai-powered.com/mcp/brainiac-accessibility-intelligence): BRAINIAC Accessibility Intelligence is a paid MCP server for developer tools.
- [BRAINIAC Application & Pipeline Security Checks](https://ai-powered.com/mcp/brainiac-application-and-pipeline-security-checks): BRAINIAC Application & Pipeline Security Checks is a paid MCP server for security.
- [BRAINIAC Agent Execution Contract Intelligence](https://ai-powered.com/mcp/brainiac-agent-execution-contract-intelligence): BRAINIAC Agent Execution Contract Intelligence is a paid MCP server for legal and government.
- [BRAINIAC Account Abstraction](https://ai-powered.com/mcp/brainiac-account-abstraction): BRAINIAC Account Abstraction is a paid MCP server for crypto and web3.
- [BRAINIAC Agent Tool Schema Intelligence](https://ai-powered.com/mcp/brainiac-agent-tool-schema-intelligence): BRAINIAC Agent Tool Schema Intelligence is a paid MCP server for agent tooling.
- [BRAINIAC Card Payments, SCA & APP Scam Rules](https://ai-powered.com/mcp/brainiac-card-payments-sca-and-app-scam-rules): BRAINIAC Card Payments, SCA & APP Scam Rules is a paid MCP server for finance and payments.
- [BRAINIAC Brand Protection](https://ai-powered.com/mcp/brainiac-brand-protection): BRAINIAC Brand Protection is a paid MCP server for security.
- [BRAINIAC Ad Fraud Intelligence](https://ai-powered.com/mcp/brainiac-ad-fraud-intelligence): BRAINIAC Ad Fraud Intelligence is a paid MCP server for marketing and seo.

---
Source: https://ai-powered.com/mcp/brainiac-source-code-structure-and-correctness-checks
