ArchLang
io.github.chanmeng666/archlang-mcp- Reachability
- Responded to probe
- Signature
- Signature not assessed
- Operator
- Operator not assessed
Floor plans as code: compile, lint and repair ArchLang (.arch) floor plans to SVG, DXF and PDF.
Score: 100/100
Handshake verified by our own probe.
Tools · 13
Compile ArchLang `.arch` source (or a Plan-JSON object) to an SVG floor plan, or with `format` to a plain-text ASCII plan ("txt"), Plan JSON ("json") or an image ("png"). Format "json" returns the pla…
Report a plan's facts without rendering, so you can check it against the brief without looking at an image. Returns rooms (`area_m2`, measured on the wall centrelines; `net_area_m2`, the floor no wall…
List advisory architectural-soundness warnings (`W_*` codes) as data: unreachable room, windowless bedroom, too-narrow door, blocked doorway, furniture through a wall, circuitous path, and more. `prof…
Check a plan in one pass without returning a drawing (parse, resolve and lint): the gate a plan passes before it ships. `strict:true` makes advisory warnings fail too. Optional `graph` checks the plan…
Measure how much of a brief's intent JSON a plan satisfies, without gating. Returns { ok, satisfied, total, score, subscores, violations }, where `score` is satisfied/total in [0,1] (an empty intent s…
Correct furniture placement and return the corrected `.arch` source with a change log. It pushes furniture out of walls, doorways and door swings, separates overlapping pieces, moves fixtures that sit…
Apply the machine-applicable fixes attached to a plan's compile diagnostics and return the edited source. It corrects source-level faults (an opening off its wall becomes the attachment form, an out-o…
Complete a plan for export by adding what it lacks; run it once `lint` is clean. Two stages. `furnish` puts furniture, by room use, in each rectangular room that holds none, on every storey (a furnish…
Suggest the doors and windows a plan's room graph needs, as data; nothing is applied. For a room with no path back, a building with no entrance, a bath reachable only through a bedroom, or a windowles…
List the completion items in scope at a source byte offset: keywords, element names, ids and enum values, the same items an editor's language server offers. For structured or assisted authoring.
Look up an E_/W_ diagnostic code in the catalogue: what it means, why it is raised and how to resolve it, with an example that raises it and, for most codes when the installed core has them, `fixed`, …
Make two URLs that show a plan in the browser with nothing to install, for handing to a person. `playground` opens it in the hosted editor, rendered; `embed` draws it alone, for an iframe. The plan tr…
Explain this hosted ArchLang server in one short page: the authoring loop, the size cap, what is unavailable here, how to get an image URL for a plan, and what the server keeps (nothing). Call it firs…
Resources · 7
The whole ArchLang language on one page. Read it before writing any `.arch`.
archlang://spec
The spec, the authoring workflow, the CLI reference and the error catalog in one document, for a system prompt.
archlang://context
JSON Schema (2020-12) for the Plan-JSON object `compile` accepts as `plan_json`.
archlang://schema
GBNF grammar that constrains generation to ArchLang's statement shapes; it is looser than the parser, which remains the authority.
archlang://grammar
JSON Schema (2020-12) for a brief's Intent — the shape `validate`'s `intent` and `score`'s `brief` take.
archlang://intent-schema
Every tool both servers serve and the ones only the hosted server adds, every CLI command, the codes `fix` resolves by applicability, the export formats, the limits, what it does not do, and the autho…
archlang://capabilities
Shows a `compile` result: the drawing with pan and zoom, and the plan's lint findings. Text-only hosts read the same result as JSON.
ui://archlang/viewer
How to use
Claude Desktop or claude.ai: add a custom connector (Customize → Connectors; on Team and Enterprise plans an owner adds it under Organization settings → Connectors) with this server URL: https://mcp.archlang.uk/mcp
Cursor or Cline: add to your MCP config:
{
"mcpServers": {
"archlang": {
"url": "https://mcp.archlang.uk/mcp",
"transport": "streamable-http"
}
}
}
Or run it locally:
Runs locally from its npm package (v0.2.53). Add to your Claude Desktop / Cursor / Cline MCP config:
{
"mcpServers": {
"archlang": {
"command": "npx",
"args": [
"-y",
"@chanmeng666/archlang-mcp@0.2.53"
]
}
}
}
Source: github.com/ChanMeng666/archlang/tree/HEAD/packages/mcp (packages/mcp)