# S1000D BREX (S1000D Stack)

> S1000D BREX (S1000D Stack) is an open-source MCP server for developer tools. MCP server that checks S1000D data modules against project BREX business rules. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Website:** https://shuji-bonji.github.io/s1000d-stack/
- **Repository:** https://github.com/shuji-bonji/s1000d-brex-mcp
- **MCP Registry name:** io.github.shuji-bonji/s1000d-brex-mcp
- **Categories:** developer tools, files and documents
- **Listing updated:** 2026-11-14

## About

S1000D technical publications carry their business rules in a BREX data module, and this server lets an LLM read those rules and test a document against them. It explains which elements and attributes a project allows, what allowed values mean, what standard numbering system codes refer to, and which illustration formats are permitted.

Check results name each violation with its XPath, line number, actual value, rule ID and severity. By default it follows the brexDmRef chain from the project BREX up to the default BREX and reports each layer separately; layers it cannot find come back in unresolvedBrex, and a non-empty list means the result is incomplete. Rules written as prose are returned as manual checks for a person to judge.

It does not validate against XML schema, and a passed result only means no machine-checkable rule was broken. The S1000D specification and default BREX are not bundled for licensing reasons: you obtain them from s1000d.org and point S1000D_SPEC_DIR at the folder. It is a personal project, not affiliated with ASD.

## Features

- **Rule explanation:** Lists BREX rules with target XPath, allowed values and severity.
- **SNS lookup:** Explains what a standard numbering system code refers to.
- **Value lookup:** Shows what an element or attribute value means in the project.
- **Notation listing:** Lists permitted illustration and multimedia formats per schema.
- **Layered BREX check:** Checks a data module against each BREX in the reference chain.
- **Manual-check output:** Returns prose rules separately for human judgement.

## Good for

- See what a project's BREX allows for an element
- Check a data module for rule violations with line numbers
- Decode a standard numbering system code
- Find which illustration formats a schema permits

## Install

### Claude Code (Terminal)

```sh
claude mcp add s1000d-brex-mcp -- npx -y @shuji-bonji/s1000d-brex-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "s1000d-brex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/s1000d-brex-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "s1000d-brex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/s1000d-brex-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "s1000d-brex-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/s1000d-brex-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "s1000d-brex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/s1000d-brex-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "s1000d-brex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/s1000d-brex-mcp"
      ]
    }
  }
}
```

## Tools

- `explain_brex`: Lists the rules of a BREX with target, usage, allowed values and severity
- `lookup_sns`: Returns what a standard numbering system code refers to
- `lookup_value`: Returns what an element or attribute value means in the project
- `list_notations`: Returns the illustration and multimedia formats that may be used
- `check_against_brex`: Checks a data module against a BREX and returns each violation with its location

## FAQ

### Does it validate XML schema?

No. Schema validation belongs to the separate s1000d-verify tool.

### Does a pass mean S1000D conformance?

No, only that no machine-checkable BREX rule was violated in the layers it could resolve.

### Where does the S1000D spec come from?

It is not included; download it from s1000d.org and set S1000D_SPEC_DIR.

### Who makes it?

A personal project not affiliated with ASD, which owns the S1000D trademark.

### Is S1000D BREX (S1000D Stack) free?

Yes. S1000D BREX (S1000D Stack) is open source, so you can use and self-host it for free.

### How do I add S1000D BREX (S1000D Stack) to Claude Code?

Run this command in your terminal: claude mcp add s1000d-brex-mcp -- npx -y @shuji-bonji/s1000d-brex-mcp

### What are the best alternatives to S1000D BREX (S1000D Stack)?

The closest alternatives to S1000D BREX (S1000D Stack) are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/s1000d-brex-s1000d-stack
