ClaudeCodeMod

All shelves / MCP servers

OpenCalque

io.github.laurent512/opencalque · 132 stars · TypeScript · MIT

MCP server Draw 2D floor plans as JSON: walls, doors, rooms, furniture. Check, measure, export PDF, DXF, SVG.

Install

The repo has no one-line install. Follow its README.

Published as

  • npmopencalquestdio

From the server's entry in the official MCP Registry.

Open the repo

Files

packages/cli/README.md

OpenCalque

Free, open-source 2D floor plans, stored as plain JSON. This package is the command line and the MCP server of OpenCalque: an AI agent or a script draws, edits, checks and exports architectural plans with it (walls, doors, windows, rooms, furniture, dimensions, sheets). The same drawings open in the editor at opencalque.com and in the desktop app.

For an AI agent (MCP)

npx -y opencalque mcp

With Claude Code:

claude mcp add opencalque -- npx -y opencalque mcp

For Claude Desktop, Cursor, VS Code or any other MCP client, add this to its servers:

{ "opencalque": { "command": "npx", "args": ["-y", "opencalque", "mcp"] } }

The agent opens or creates a .opencalque file with open_drawing (give it an absolute path), reads the guide once with read_guide, then edits with apply_operations and looks at the result with describe_drawing, check_drawing, measure_drawing and view_drawing (a picture of the plan). npx -y opencalque mcp plan.opencalque starts on one file.

From the command line

npx opencalque new plan.opencalque "My flat"
npx opencalque apply plan.opencalque ops.json   # a JSON array of operations
npx opencalque check plan.opencalque            # rooms that do not close, walls drawn twice…
npx opencalque png plan.opencalque --out plan.png
npx opencalque pdf plan.opencalque --out plan.pdf
npx opencalque guide                            # the format and the operations, written for an AI agent
npx opencalque --help                           # every command

Also: describe, quantities (rooms and their areas, walls, doors), svg, dxf, import (DXF), schema, validate.

The format

A drawing is JSON in millimetres, with a published JSON Schema: document, operations. Every edit is a small JSON operation, the same ones the editor uses. A guide for language models is at opencalque.com/llms-full.txt. Drawings saved since version 1.0 keep opening in every later version.

PDF export of Chinese, Japanese or Korean text needs the fonts of a checkout or the desktop app; this package carries only Noto Sans.

MIT licence. Source, issues and the desktop app: github.com/laurent512/opencalque.

Facts

Kind
MCP server
Repo
laurent512/opencalque
Group
Uncategorized
Stars
132
License
MIT
Language
TypeScript
Last push
2026-11-22
Forks
15
MCP Registry
io.github.laurent512/opencalque
Homepage
opencalque.com
Topics
2d, ai-agents, architecture, cad, editor, electron, floor-plan, floorplan, local-first, open-source, react, typescript

Also new this week

  1. 73rust-anythingio.github.erkamyaman/rust-anythingRewrite an app in Rust one piece at a time, checked against the original's recorded behavior.8.1k
  2. 144obsidian-wikiio.github.Ar9av/obsidian-wikiMemory for agents in a markdown vault you own: search, read, write, recap, context packs.3.8k
  3. 150Z-Libraryio.github.heartleo/zlibSearch and download Z-Library books, fix e-book metadata, and send books to Kindle or WeRead.3.5k
  4. 178LearnHouseapp.learnhouse/learnhouseBuild, edit and run courses, learning paths and communities in your LearnHouse academy.2.5k
  5. 183MR Officeai.mroffice/officeCreate, open and edit documents, spreadsheets and PDFs in MR Office's editor, inline in chat.2.4k
  6. 227Seal Open Datafr.sealopendata/open-dataFrench public open data (data.gouv.fr) cross-referenced by commune, EPCI and department.1.7k