
S1000D Reader (S1000D Stack)
io.github.shuji-bonjiPublished by GitHub account shuji-bonjiv0.8.0Updated Nov 7, 2026
Read S1000D data and publication modules as structure, with applicability and verification status.
Overview
Reads S1000D data modules and publication modules from a local CSDB as structured content, with applicability evaluation and verification status.
- What you can do
- List data modules, PMs, DMLs, DDNs, IMFs and UPFs in a CSDB with DMC, title, issue and applicability text, filtered by code or title
- Read a data module as structure: identification, body tree, steps, warnings, tables, illustrations and titled references, or an outline of headings and sizes
- Read a publication module as a table of contents with resolved dmRef and pmRef targets
- Resolve a DMC, PMC or ICN to a file in the CSDB
- Describe the applicability vocabulary (ACT, CCT, PCT) and mark blocks applicable, notApplicable or undetermined for a given product
- Read ICN metadata files: ICN, issue, title, keywords and security classification
- When to use it
- Useful when an assistant must work with S1000D technical documentation held in a local CSDB and needs the document structure, step numbering, warnings and reference targets rather than raw XML, or needs to check which content applies to a given product.
- Requirements
- Runs locally over stdio via npx (Node.js). Needs the S1000D specification distribution obtained separately from s1000d.org, pointed at by S1000D_SPEC_DIR, and the project's data module folders via S1000D_CSDB_DIR or the csdbDirs argument. When environment variables are not passed, folders are read from a config file under the user's config directory. No authentication.
Installation
In SourceWeft
- Open S1000D Reader (S1000D Stack) in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@shuji-bonji/s1000d-reader-mcp
English | 日本語
An MCP server that lets an LLM read S1000D® data modules and publication modules as structure rather than as XML. It returns the heading hierarchy, numbered steps, warnings, cautions and notes, illustrations (ICN), tables and the titles of reference targets intact, and the server evaluates which product the content applies to (applicability) and passes on only the result. Every response carries how far the document has been verified (verification).
[!IMPORTANT] This is a personal project and is not affiliated with ASD (Aerospace, Security and Defence Industries Association of Europe). S1000D® is a registered trademark of ASD. The S1000D specification, XML schemas, default BREX and official samples are not included in any package or repository, because their terms of use do not grant redistribution. Obtain them from s1000d.org and point the
S1000D_SPEC_DIRenvironment variable at the extracted folder.
What it does
Reading applicability
The server does not return assert / evaluate expressions. Look up the attributes and values you need with describe_applicability and pass them to product in the form { "attributes": { "model": "…" }, "conditions": { … } }.
Verification status (verification)
By default the server runs XSD validation only (verify: "schema"). verify: "full" also checks against the BREX (Business Rules Exchange) chain and resolves references; verify: "none" skips them. A skipped step is reported as not-run, and a missing XSD as schema-not-found; neither is valid. In a document that violates the XSD, elements may be in positions that differ from the specification, so treat the reading of the body with suspicion as well.
Security classification (securityClassification) and size (size)
Every read_data_module and read_publication_module response starts with securityClassification: dataModule (the value in the identification and status section) and inContent (the number of body elements per value). The server does not interpret the values (S1000D leaves their meaning to the project). An agent can decide how to handle the content before quoting it. The body carries size (nodes, characters, count per kind, number of warnings) so the amount to read can be estimated.
What it does not do
[!WARNING]
- It does not summarise or translate. Its job is to return the material a summary needs (headings, step numbers, warning types, reference targets) without dropping anything.
- It does not judge conformance to S1000D. Read the details of XSD and BREX violations with
s1000d-verify-mcp, and the explanation of BREX rules withs1000d-brex-mcp.- The body is structured for 5 types only:
descript/proced/process/fault/pm. Other types returncontent.structured: falseand only the identification and status section. Unknown elements are kept askind: "unknown"with their text only and counted incontent.unknownElements.
Configuration
Folders can also be given with the tool argument csdbDirs. When the argument is given, only those folders are used; S1000D_CSDB_DIR and csdbDirs in the config file are not used (they are not added together). Folders that do not exist are skipped and listed in _notes of the response. When none is left, the tool returns no-csdb (below).
Errors
An error that the caller can fix by changing an argument is not returned as a tool failure (isError) but in the same shape as s1000d-writer-mcp.
path names the argument to fix (/path, /csdbDirs and so on), not a file path.
Config file (when environment variables are not passed, as with plugins in Claude Desktop)
If S1000D_SPEC_DIR / S1000D_CSDB_DIR are not set, the server reads the config file ~/.config/s1000d-stack/config.json (under XDG_CONFIG_HOME if it is set; S1000D_CONFIG changes the location). Claude Desktop does not pass environment variables to servers installed as plugins, and does not substitute ${VAR} written in the plugin's env. When you install the server as a plugin, write the folders here.
Environment variables take precedence when they are set. Paths that start with ~/ are accepted. The config file is read again on every call, so the server does not need to be restarted after you edit it.
Example configuration for Claude Desktop / Claude Code
Running over HTTP (embedding in a product)
The default is stdio. With --http the server starts over Streamable HTTP, so a CSDB product's server or a web application can call it over HTTP (the embedding foundation of stage 2.5).
When --host is a loopback address (127.0.0.1 / ::1 / localhost), Host and Origin are limited to localhost names (DNS rebinding protection). When bound to any other address they are not checked, so put the server behind the product's reverse proxy or authentication. Authentication, authorization and multi-tenancy are not part of this server. Environment variables and the config file work the same as with stdio.
How it works
All reading, evaluation and validation code lives in the shared library @shuji-bonji/s1000d-core; this server holds only the interpretation of arguments and the shape of the responses. The verification status is built with the same function as s1000d-verify-mcp, so the results of the two servers agree.
Development
License
MIT. S1000D® is a registered trademark of ASD. This software is not affiliated with ASD and does not include the specification, schemas or official samples.
Source: README.md at commit f84ae46
Tools
0Version history
3- v0.8.0LatestNov 7, 2026
- v0.7.1Oct 29, 2026
- v0.1.1Oct 26, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts