# Archai Hexagonal Architecture Analyzer

> Use this tool when you need to enforce hexagonal architecture principles in Java applications, solving problems such as tight class coupling, domain package pollution, and inconsistent naming conventions. It analyzes Java code and returns violations as formatted text, accepting filename and content as input parameters. Ideal for development teams seeking automated code reviews to maintain architectural integrity within AI assistant conversations.

Canonical page: https://skillsregistry.net/skills/alefcastelo-archai-hexagonal-architecture-analyzer  
JSON: https://api.skillsregistry.net/v1/skills/alefcastelo-archai-hexagonal-architecture-analyzer

## Description

The Archai Static Analyzer MCP server provides AI assistants with code analysis capabilities focused on enforcing hexagonal architecture principles in Java applications. Built with TypeScript using the Model Context Protocol SDK, it implements various architectural rules such as limiting class dependencies, enforcing domain package isolation from infrastructure, validating use case naming conventions, and detecting improper email handling in models. The server exposes a single tool that accepts filename and content parameters, analyzes the code against these predefined rules, and returns violations as formatted text. This implementation is particularly valuable for development teams wanting to maintain architectural integrity through automated code reviews within AI assistant conversations.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** communication
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/alefcastelo-archai-hexagonal-architecture-analyzer)
- **Repository:** <https://github.com/alefcastelo/archai-static-analyzer-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "alefcastelo-archai-hexagonal-architecture-analyzer"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/alefcastelo-archai-hexagonal-architecture-analyzer` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/alefcastelo-archai-hexagonal-architecture-analyzer/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
