OpenCalque — Claude Code MCP server: what it does, setup
OpenCalque is a Claude Code MCP server that draws 2D floor plans in JSON and exports them to PDF, DXF, or SVG. The agent edits walls, rooms, doors, and furniture.
MIT ★ 128 updated 2026-11-17
claude mcp add opencalque -- npx -y opencalqueWhat OpenCalque does
OpenCalque lets an agent create and edit 2D floor plans stored as JSON. It opens or creates a .opencalque file, applies JSON operations, then inspects the result: room and wall checks, measurements for rooms, walls, and doors, plus a rendered plan view.
The command-line package can create drawings, apply an operations file, validate plans, export PDF, PNG, SVG, and DXF, import DXF, and calculate room and element quantities. The MCP server starts with npx -y opencalque mcp. PDF output with Chinese, Japanese, or Korean text needs fonts from a checkout or the desktop app because the package includes only Noto Sans.
What it helps with
- create a 2D floor plan as JSON
- find open rooms and duplicated walls
- measure rooms, walls, and doors
- export a drawing to PDF, DXF, or SVG
Example prompts for the agent
- Draw a flat plan in
plan.opencalquewith walls, doors, rooms, and furniture. - Open
plan.opencalque, check for open rooms and duplicated walls, then show the drawing. - Measure the rooms and walls in
plan.opencalqueand export the plan toplan.pdf.
How to install OpenCalque
Platform CLI
claude mcp add opencalque -- npx -y opencalquePlatform CLI
codex mcp add cli -- npx -y opencalqueConfig file
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"opencalque"
]
}
}
}Config file
{
"servers": {
"cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"opencalque"
]
}
}
}Platform CLI
gemini mcp add cli npx -y opencalqueStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about OpenCalque
How do I install OpenCalque in Claude Code?
Run these commands in order: claude mcp add opencalque -- npx -y opencalque, then claude mcp add cli -- npx -y opencalque.
What does OpenCalque do?
OpenCalque gives an agent operations for creating and editing JSON floor plans. It checks rooms and walls, measures drawing elements, and exports plans to PDF, DXF, or SVG.
What does OpenCalque need to work?
The MCP setup uses npx. PDF output containing Chinese, Japanese, or Korean text needs fonts from a checkout or the desktop app; the package includes only Noto Sans.