ArchLang
MCP server by ChanMeng666 Community
ArchLang is an MIT-licensed DSL for floor plans. It compiles .arch source to SVG, DXF and PDF, and checks rooms and openings. It is for architects, designers and AI assistants that draft plans as text.
Install ArchLang
Built from the published package, never by AI.
claude mcp add archlang-mcp -- npx -y @chanmeng666/archlang-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"archlang-mcp": {
"args": [
"-y",
"@chanmeng666/archlang-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"archlang-mcp": {
"args": [
"-y",
"@chanmeng666/archlang-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"archlang-mcp": {
"args": [
"-y",
"@chanmeng666/archlang-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add archlang-mcp -- npx -y @chanmeng666/archlang-mcp{
"mcpServers": {
"archlang-mcp": {
"args": [
"-y",
"@chanmeng666/archlang-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add archlang-mcp npx -y @chanmeng666/archlang-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the archlang-mcp block.
About
ArchLang describes floor plans as text. A plan is written in an .arch file, and the compiler turns it into SVG, DXF or PDF drawings. Rooms, walls, doors and windows have names, so the compiler can compute room areas and check how rooms connect. Problems such as an unreachable room or an opening off its wall are reported with a code and, often, a suggested fix. The same text always produces the same output, and the impact command shows which parts of a drawing a change moved.
The project is aimed at people who draft plans and at AI coding assistants that write them. It runs as a command line tool, an MCP server, a VS Code extension and a browser playground. A separate 3D preview is extruded from the same file. The source states that it does not produce BIM or IFC files, permit drawings, or image-based plans, and that clearance checks are advisory.
Written from the project's README and checked against it.
Tools it gives your assistant
compileCompiles an .arch file to SVG, DXF or PDF output.describeDescribes a plan file, with a JSON output option.validateValidates a plan file, with a strict mode.finishFinishes a plan file so it can be compiled to export.impactShows which parts of a drawing a change moved, with a lock option for one room.specPrints the ArchLang specification for an agent to read before writing a plan.contextReturns the whole language reference in one call.
What you need
- Node.js, to run the npx commands
- An MCP client such as Claude Code, VS Code or Cursor for the local server
- ChatGPT or claude.ai for the hosted app or connector
Try asking
- Draw a two-bedroom flat of about 75 m² as an ArchLang plan, and check it.
- Validate plan.arch in strict mode and fix any errors you find.
- Change one room in plan.arch and use impact to show what else moved.
Good to know
- Does not produce BIM or IFC files, and is not for permit drawings.
- Does not read images, so it cannot start from a photo.
- Clearance checks are advisory.
- The 3D preview has no pitched roofs, sections, elevations or BIM.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ArchLang
All alternatives →Appllama gives AI assistants research on top-grossing mobile apps, plus a build bar for native-feeling Expo and React Native screens. It suits developers building mobile apps with AI assistants.
Creates, edits and exports editable designs for AI assistants through the CoDesign MCP server, built on IMG.LY's CE.SDK design engine. It suits social teams, agencies and designers who need posters, social posts, videos and print layouts.
Pascal 3D Editor lets AI agents inspect, edit, validate, and save editable 3D building scenes through an MCP server. It is aimed at architecture, engineering, construction, and operations teams. Local use needs no Pascal account.
Agent-Native Design is the Design agent in Agent-Native, an open-source TypeScript framework. It generates and refines interactive designs with agent help. The same actions serve both the agent and the UI.
Draws and edits draw.io diagrams on a live browser canvas for AI agents such as Claude Code, Cursor and VS Code. It suits people who want to draw diagrams with AI and keep editing them by hand.
Framelink MCP for Figma gives coding assistants access to your Figma files. It supplies design data so the assistant can implement designs in any framework, mainly for use with Cursor.
Compare with Appllama, codesign or Pascal 3D Editor
ArchLang: common questions
Is ArchLang open source?
Yes. The source says ArchLang is an open-source project under the MIT license.
What file formats does ArchLang export?
The source says it compiles .arch source to SVG, DXF and PDF.
How does ArchLang check a floor plan?
The source says it computes areas and reachability and reports problems such as an unreachable room or an opening off its wall, with a code and often a fix. Other checks are advisory.
How do I install ArchLang?
In Claude Code run claude mcp add archlang-mcp -- npx -y @chanmeng666/archlang-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is ArchLang the official server?
ArchLang is a community project by ChanMeng666, not verified by a company domain.
Is ArchLang free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ArchLang safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ArchLang?
Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.
Does ArchLang work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
