io.github.ChanMeng666/archlang-mcp
ArchLang: compile, describe, lint, validate, score, repair, fix, finish, suggest, complete, link.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@chanmeng666/archlang-mcpclaude mcp add archlang-mcp -- npx -y @chanmeng666/archlang-mcp@0.2.29
{
"mcpServers": {
"archlang-mcp": {
"command": "npx",
"args": [
"-y",
"@chanmeng666/archlang-mcp@0.2.29"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Floor plans as code.
Write a floor plan as text. Get a precise, dimensioned drawing back.
Send this to your agent
Paste this into any coding agent. The skills are listed on skills.sh: https://skills.sh/ChanMeng666/archlang
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.
For MCP clients: claude mcp add archlang -- npx -y @chanmeng666/archlang-mcp.
https://github.com/user-attachments/assets/a60f3174-6a8c-4a42-b24a-fac030d39627
Try it
npx skills add ChanMeng666/archlang
Then ask your coding agent:
Design a one-bedroom flat of about 54 m², with the front door on the north wall.
It writes the plan, compiles it and checks it. This one is 57 lines of text:
Click the drawing to open this exact plan in the playground. Change a number and it redraws.
Why text
- Change one number, and one thing moves. Nothing else is redrawn.
- The same source gives the same drawing, byte for byte.
- An agent can check its own plan without ever looking at an image.
flowchart LR
B([Brief]) --> W[Write .arch]
W --> C{Compiles?}
C -->|no| F[Apply the fix<br/>the error carries] --> C
C -->|yes| V{Matches<br/>the brief?}
V -->|no| W
V -->|yes| O([SVG · DXF · PDF · PNG])
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
Full overview · Language reference · Release notes (installed: node_modules/@chanmeng666/archlang/CHANGELOG.md) · Contributing · MIT
ArchLang is the engine behind ArchCanvas. Built by Chan Meng.
Frequently asked questions
What is io.github.ChanMeng666/archlang-mcp?
ArchLang: compile, describe, lint, validate, score, repair, fix, finish, suggest, complete, link.
How do I install io.github.ChanMeng666/archlang-mcp?
It runs on your machine. In Claude Code: claude mcp add archlang-mcp -- npx -y @chanmeng666/archlang-mcp@0.2.29. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.ChanMeng666/archlang-mcp need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.ChanMeng666/archlang-mcp open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.ChanMeng666/archlang-mcp?
It is published by ChanMeng666. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.