ArchLang
БесплатноПоддерживаетсяCompile, lint, validate, and repair ArchLang floor plans into professional SVG output.
Описание
Compile, lint, validate, and repair ArchLang floor plans into professional SVG output.
README
Floor plans as code.
ArchLang is an open-source (MIT) DSL for floor plans that compiles .arch source to SVG/DXF/PDF with linting and geometric validation — diffable, reproducible, and LLM-writable.
Try it
Just looking? Open the playground — no install.
Your coding agent: paste this prompt.
1. Run: npx -y skills add ChanMeng666/archlang --yes
2. Run: npx -y @chanmeng666/archlang spec (read it before writing anything)
3. Write my floor plan as plan.arch from this brief: <describe rooms, areas, adjacencies>
4. Run: npx -y @chanmeng666/archlang compile plan.arch -o plan.svg --json
then describe plan.arch --json, validate plan.arch --strict --json (same prefix); fix, recompile
5. Run: npx -y @chanmeng666/archlang finish plan.arch, then compile again to export.
Starting from a photo or PDF? Read https://archlang.uk/from-an-image. To change one room without moving the others, use `impact --lock` (https://archlang.uk/edit-one-room).
Or add the MCP server: claude mcp add --transport http archlang https://mcp.archlang.uk/mcp (locally, claude mcp add archlang -- npx -y @chanmeng666/archlang-mcp). The skills are listed on skills.sh. (A root .mcp.json file is provided for MCP directory detection.)
- ChatGPT, no install: ArchLang app in ChatGPT, then ask, for example: "Draw a two-bedroom flat of about 75 m² as an ArchLang plan, and check it."
- claude.ai, no install: add
https://mcp.archlang.uk/mcpas a custom connector (the steps) - VS Code: Marketplace or Open VSX
- Playground, in the browser: https://playground.archlang.uk
What you get
Each drawing is compiled from a file in examples/. Click a plan to open its source in the playground, then change a number and watch it redraw; click a 3D preview to open it on the 3D view.
Laneway house |
![]() Laneway house, 3D preview |
Studio flat |
![]() Studio flat, 3D preview |
Same source, plan and 3D preview. The 3D preview is extruded from the same .arch file by the separate archlang-3d package, and checked against the plan: every 3D element comes from the plan's elements, and every solid is closed. What the 3D preview shows → · Try it in 3D →
3D preview: walls, openings, floors, stairs, furniture, outdoor surfaces and fences in plain colours; the ground and the soft contact shadows are the viewer's, not part of the building and not in the file; no pitched roofs or balcony railings yet, and no sections, elevations or BIM.
More plans from examples/:
Two-bedroom flat |
Tiny house |
Hexagon pavilion |
Why text
- Exact. Areas and reachability are computed, not estimated; the same text gives the same drawing, byte for byte.
- Change one line, see what moved. Edit a number and just what depends on it moves;
impact --lockproves the rest didn't. - It checks itself. An unreachable room or an opening off its wall comes back as a message with a code and a fix your AI can apply; checks other than reachability and area are advisory. The checks → · Error codes →
What writing it as a language gives you. Rooms, walls, doors and windows have names, so the compiler can measure each room and check how the rooms connect; some mistakes come back as a message with a code that points at the exact place in the text, often with a fix (other checks are advisory); the same text gives the same bytes every time, and impact shows which parts of the drawing a change moved. More →
Limits: plan drawings in the core; no BIM or IFC, not permit drawings; it does not read images; clearances are advisory. The 3D preview's limits, as the line under the plan pairs above says: "3D preview: walls, openings, floors, stairs, furniture, outdoor surfaces and fences in plain colours; the ground and the soft contact shadows are the viewer's, not part of the building and not in the file; no pitched roofs or balcony railings yet, and no sections, elevations or BIM."
Starting from a photo? archlang.uk/from-an-image · Change one room? archlang.uk/edit-one-room
For your agent
This page is all a person needs. Everything else is written for agents: clone the repo and point yours at AGENTS.md, or give it the whole language in one call:
npx -y @chanmeng666/archlang context
MCP clients: archlang.uk/mcp · Agents: archlang.uk/agents · Full overview · Language reference
Local MCP server: Install in VS Code · Install in VS Code Insiders. Hosted MCP server: Install in VS Code · Install in VS Code Insiders. Install in Cursor: the links on archlang.uk/mcp.
https://github.com/user-attachments/assets/879a4b71-415e-4848-a4af-db9c879d6a71
Watch the full film on YouTube (3:16)
Release notes (installed: node_modules/@chanmeng666/archlang/CHANGELOG.md) · Contributing · MIT
ArchCanvas is a hosted app built on ArchLang. Maintained by Chan Meng, a single maintainer; written with AI coding agents and checked in CI. Governance.
Current releases are published from release.yml by tokenless OIDC, with npm provenance: an SLSA v1 attestation that names the tag and commit a release was built from. An older version may have none, so check before you pin. In a project that installs it, npm audit signatures --json --include-attestations lists the package under verified only when it is attested, and npm view @chanmeng666/archlang@<version> dist.attestations shows a predicateType of https://slsa.dev/provenance/v1 (it prints nothing for a version without one). Pin a version in a skill or CI with npx -y @chanmeng666/archlang@<version> <cmd>.
Установить ArchLang в Claude Desktop, Claude Code, Cursor
unyly install archlangСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add archlang -- npx -y @chanmeng666/archlang-mcpПошаговые гайды: как установить ArchLang
FAQ
ArchLang MCP бесплатный?
Да, ArchLang MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для ArchLang?
Нет, ArchLang работает без API-ключей и переменных окружения.
ArchLang — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить ArchLang в Claude Desktop, Claude Code или Cursor?
Открой ArchLang на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
автор: GitHub Actionsgnomancer
Local raw DNA analysis: haplogroups, traits, ClinVar, pharmacogenomics. Nothing is uploaded.
автор: com.gnomancerAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAIdemo
demo — MCP server via Smithery
автор: yoojoohans-jpgCompare ArchLang with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development


