Skip to content
MCP server

S1000D BREX (S1000D Stack)

MCP server that checks S1000D data modules against project BREX business rules

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI
Runs
Locally
Version
0.6.4
Listing updated
3 days ago

About S1000D BREX (S1000D Stack)

S1000D BREX (S1000D Stack) is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a terminal

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

Add to claude_desktop_config.json

{
  "mcpServers": {
    "s1000d-brex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/s1000d-brex-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "s1000d-brex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/s1000d-brex-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

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

What it does

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

Pricing

Open source

Prices change. Check shuji-bonji.github.io before you buy.

S1000D BREX (S1000D Stack) 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 to S1000D BREX (S1000D Stack)

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools