Connect OpenConstructionERP to AI coding assistants via MCP (Model Context Protocol): expose costs, BOQ, BIM and catalog endpoints as MCP tools so Claude Code / Antigravity / OpenCode can drive the…

MITAuto-check passedAgent Workflows

Install Oce MCP Integration

skills CLI
$ npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill oce-mcp-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction oce-mcp-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git skills-src && mkdir -p .claude/skills && cp -r skills-src/6_OpenConstructionERP/oce-mcp-integration .claude/skills/oce-mcp-integration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
oce-mcp-integration
GitHub stars
345
Token cost
~852 tokens
SKILL.md length
217 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Connect OpenConstructionERP to AI coding assistants via MCP (Model Context Protocol): expose costs, BOQ, BIM and catalog endpoints as MCP tools so Claude Code / Antigravity / OpenCode can drive the…

  • Works in 4 steps: Start read-only (browse/search), add… → Wrap long operations (BIM conversion) in… → Log every assistant action server-side… → …
  • Wiring an assistant to the ERP
  • SKILL.md covers Why MCP, What to expose (start with…, Reference implementation… and Auth & safety, plus 1 more section
  • Needs ERP_TOKEN

What it does

Oce MCP Integration is an agent skill from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction. Connect OpenConstructionERP to AI coding assistants via MCP (Model Context Protocol): expose costs, BOQ, BIM and catalog endpoints as MCP tools so Claude Code / Antigravity / OpenCode can drive the platform. Use when wiring an assistant to the ERP.

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: 221 AI skills for construction: BIM analysis, cost estimation, scheduling, document control, and automation with Claude Code. The licence is MIT.

When your agent uses it

  • Wiring an assistant to the ERP
  • Tasks that involve MCP servers

Example prompts

  • “/oce-mcp-integration”

Requirements

  • A credential in ERP_TOKEN

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Start read-only (browse/search), add writes (BOQ create, link) after testing.
  2. Wrap long operations (BIM conversion) in a progress-tool pattern instead of blocking.
  3. Log every assistant action server-side (the platform's usage ledger pattern).
  4. Publish the MCP server to the assistant marketplace (Claude Code registry, Antigravity, OpenCode).

What it can do on your machine

Read from SKILL.md and the folder at commit ce45bbf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ERP_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Oce MCP Integration loads about 852 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 217 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~852

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction at commit ce45bbf, republished under its MIT licence (© datadrivenconstruction). 217 words, ~852 tokens.

Download SKILL.mdSave it as .claude/skills/oce-mcp-integration/SKILL.md (or your agent's skills folder).
name
oce-mcp-integration
description
Connect OpenConstructionERP to AI coding assistants via MCP (Model Context Protocol): expose costs, BOQ, BIM and catalog endpoints as MCP tools so Claude Code / Antigravity / OpenCode can drive the platform. Use when wiring an assistant to the ERP.

MCP Integration for OpenConstructionERP

Why MCP

MCP (Model Context Protocol) is the 2026 standard for giving AI assistants tools. Wrapping OpenConstructionERP's REST API in an MCP server turns the assistant from a chat partner into an operator: it can load a cost base, search items, build a BOQ and read validation results itself.

What to expose (start with these)

MCP toolUnderlying APINotes
list_cost_basesGET /api/v1/costs/base-catalogfamilies, variants, positions, loaded badge
load_cost_basePOST /api/v1/costs/load-cwicr/{db_id}idempotent, returns imported/skipped
search_cost_itemsGET /api/v1/costs/?region=...&q=...SQL path, works without Qdrant
get_cost_itemGET /api/v1/costs/{id}full components[] + classification
category_treeGET /api/v1/costs/category-tree/?region=...browsing
suggest_for_elementPOST /api/v1/costs/suggest-for-elementBIM element → cost ranking
create_boq / validate_boqPOST /api/v1/boqs, /boqs/{id}/validate/estimating
import_catalogPOST /api/v1/catalog/import/{region}resource catalog

Reference implementation (TypeScript, fast)

typescript
// mcp-server: FastMCP wrapper around the ERP's FastAPI backend
import { FastMCP } from "fastmcp";

const ERP = process.env.OPENESTIMATE_URL ?? "http://localhost:8000";
const server = new FastMCP({ name: "openconstructionerp" });

server.addTool({
  name: "load_cost_base",
  description: "Load a CWICR cost base (e.g. TR_NATIONAL, ZH_CHINA) into the ERP.",
  parameters: { db_id: { type: "string", required: true } },
  execute: async ({ db_id }) => {
    const r = await fetch(`${ERP}/api/v1/costs/load-cwicr/${db_id}`, {
      method: "POST",
      headers: { Authorization: `Bearer ${process.env.ERP_TOKEN}` },
    });
    return await r.json();
  },
});

server.addTool({
  name: "search_cost_items",
  description: "Search cost items in a region by keyword.",
  parameters: { region: { type: "string" }, q: { type: "string" } },
  execute: async ({ region, q }) => {
    const r = await fetch(`${ERP}/api/v1/costs/?region=${region}&q=${encodeURIComponent(q)}&limit=20`,
      { headers: { Authorization: `Bearer ${process.env.ERP_TOKEN}` } });
    return await r.json();
  },
});

server.start({ transportType: "stdio" });

Auth & safety

  • Reuse the ERP's JWT (register a service account; bootstrap admin only for setup).
  • MCP tools must be idempotent and read-mostly: load_cost_base returns already_loaded on repeat.
  • Never expose raw credentials in tool descriptions; use env vars (ERP_TOKEN).
  • Rate-limit write tools; the ERP already enforces api_rate_limit (200/min default).

Best practices

  1. Start read-only (browse/search), add writes (BOQ create, link) after testing.
  2. Wrap long operations (BIM conversion) in a progress-tool pattern instead of blocking.
  3. Log every assistant action server-side (the platform's usage ledger pattern).
  4. Publish the MCP server to the assistant marketplace (Claude Code registry, Antigravity, OpenCode).

© datadrivenconstruction, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in 6_OpenConstructionERP/oce-mcp-integration of datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.

Open the folder on GitHubat commit ce45bbf

Compare with similar skills

Oce MCP Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Oce MCP Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Oce MCP Integration this skilldatadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction345—~852Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Agent WorkflowsAuto-check passed

More from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

All 36 skills in this repo
  • AI Agent Orchestration

    datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

    Orchestrate multiple AI agents for construction workflows: estimator, scheduler, document, QA and safety agents coordinated by a supervisor agent, with human checkpoints.

    345 GitHub stars~679 tokensUpdated 1 mo ago
    Auto-check passed
  • Embodied Carbon Esg

    datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

    Estimate embodied carbon and produce ESG/climate reporting for construction: LCA per work item, material-based carbon factors, EU taxonomy and CSRD alignment.

    345 GitHub stars~664 tokensUpdated 1 mo ago
    Auto-check passed
  • Generative AI Design

    datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

    Generative design for construction: text-to-BIM concepts, option generation, and AI-assisted design iteration with cost and carbon feedback.

    345 GitHub stars~593 tokensUpdated 1 mo ago
    Auto-check passed
  • Material Passports Circular

    datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

    Material passports and circular construction: generate per-element material inventories from BOQ/BIM, mark reuse potential and recycled content, and prepare deconstruction data.

    345 GitHub stars~634 tokensUpdated 1 mo ago
    Auto-check passed
  • ML Model Retrainer

    datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

    Automated pipeline for retraining ML models with new construction data.

    345 GitHub stars~4.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Oce Cost Browser

    datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

    Browse and search the OpenConstructionERP cost database: classification tree, SQL and semantic search, autocomplete, certainty badges, and the resource catalog.

    345 GitHub stars~637 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Oce MCP Integration

What does Oce MCP Integration do?

Connect OpenConstructionERP to AI coding assistants via MCP (Model Context Protocol): expose costs, BOQ, BIM and catalog endpoints as MCP tools so Claude Code / Antigravity / OpenCode can drive the…. Oce MCP Integration is an agent skill from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction. Connect OpenConstructionERP to AI coding assistants via MCP (Model Context Protocol): expose costs, BOQ, BIM and catalog endpoints as MCP tools so Claude Code / Antigravity / OpenCode can drive the platform.

When should I use Oce MCP Integration?

Oce MCP Integration fits situations like: wiring an assistant to the ERP; tasks that involve MCP servers.

How do I install Oce MCP Integration in Claude Code?

Run `npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill oce-mcp-integration -a claude-code`. Or copy the skill folder (6_OpenConstructionERP/oce-mcp-integration in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction) into .claude/skills/oce-mcp-integration in your project. Claude Code loads it when a task matches its description.

How do I install Oce MCP Integration in Codex?

Run `npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill oce-mcp-integration -a codex`. Or copy the skill folder (6_OpenConstructionERP/oce-mcp-integration in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction) into .agents/skills/oce-mcp-integration in your project. Codex loads it when a task matches its description.

Can I use Oce MCP Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill oce-mcp-integration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/oce-mcp-integration, .gemini/skills/oce-mcp-integration, .github/skills/oce-mcp-integration and .opencode/skills/oce-mcp-integration in your project.

What does Oce MCP Integration need to run?

Going by SKILL.md and its folder, Oce MCP Integration needs credentials named ERP_TOKEN. Our summary lists: A credential in ERP_TOKEN.

Does Oce MCP Integration access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Oce MCP Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Oce MCP Integration use?

Oce MCP Integration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Oce MCP Integration use?

About 852 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Oce MCP Integration?

Skills that share tags, products or a category with Oce MCP Integration: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Oce MCP Integration?

datadrivenconstruction (a GitHub user) maintains it in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction, which has 345 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on August 22, 2026.

Source: datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.