Back to Directory/Developer Tools

io.github.eutech-directory/legis-link

Construction compliance AI. Wire sizing, load calc, battery clearance. AU, USA, CA, UK, EU.

Developer ToolsPythonv0.6.0

Legis-Link MCP — Construction Compliance AI

npm version License: MIT Glama Score

Instant construction compliance answers on mobile. Free. No install. Any phone.

Ask any compliance question in plain English. Get the exact standard, clause, and table reference back in seconds.

Live Demo

Try it now: https://legis-link-mcp-production-3e9b.up.railway.app/app

No account required. 50 free queries/day.


9 Tools

Free Tier (50 queries/day, no account)

ToolWhat it does
Compliance checkCOMPLIANT / NON-COMPLIANT verdict with exact clause
Code referenceLook up any standard, clause, or table
Toolbox talksDaily trade-specific safety briefing (10 trades, 70 topics)

Pro Tier ($199/year — 1,000 queries/day)

ToolWhat it does
Technical calculationsCable sizing, pipe sizing, voltage drop, heat load
Safety checklistPPE + hazard controls with regulation per item
RAMS generatorFull Risk Assessment + Method Statement in 60 seconds
Material complianceCOMPLIANT / NON-COMPLIANT before ordering
Inspection requirementsHold points, sign-off authority, form numbers
Visual complianceUpload a site photo — AI compliance assessment (unique in market)

Coverage — 87 Regions, 10 Trades

RegionCoverageStandards
Australia8 states + territoriesAS/NZS 3000:2018, NCC 2022, WHS Acts
United StatesAll 50 states + DCNEC NFPA 70, IBC, OSHA 29 CFR 1926
Canada10 provincesCEC CSA C22.1, NBC, NPC
United KingdomEngland, Scotland, Wales, N.IrelandBS 7671:2018, CDM 2015, Gas Safe
European Union14 countriesEN standards, IEC 60364

10 Trades: Electrical, Plumbing, HVAC, Gas fitting, Welding, Solar/Battery, Fire protection, Carpentry, Concrete, Roofing


MCP Integration

Use Legis-Link from Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI tool.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "legis-link": {
      "url": "https://legis-link-mcp-production-3e9b.up.railway.app/sse"
    }
  }
}

Cursor / Windsurf

{
  "mcpServers": {
    "legis-link": {
      "url": "https://legis-link-mcp-production-3e9b.up.railway.app/sse"
    }
  }
}

Example queries via MCP

"What cable size for 45A, 30m run, 240V single phase, NSW?"
"Generate a RAMS for electrical switchboard installation in NSW"
"Is 6mm2 XLPE cable compliant for underground installation in NSW?"
"What are the inspection hold points for a timber frame in NSW?"
"Wire size for 60A circuit, 50 feet run, 240V, California?"

Self-Host

Requirements

  • Python 3.11+
  • Anthropic API key

Install

git clone https://github.com/eutech-directory/legis-link-mcp.git
cd legis-link-mcp
pip install -r requirements.txt

Configure

cp legis_link.env.example legis_link.env
# Edit legis_link.env with your API keys

Run

python legis_link_mcp_server.py

Server runs on http://localhost:8080


API

Health check

GET /health

Compliance query

POST /api/query
{
  "trade": "Electrical",
  "region": "NSW",
  "question": "Wire size for 45A load, 30m run?",
  "api_key": ""
}

Daily toolbox talk

GET /toolbox?trade=Electrical

Toolbox PDF (Pro)

GET /toolbox/pdf?trade=Electrical&region=NSW&api_key=ll_p_xxx

Pricing

TierPriceQueries/dayTools
Free$0503
Pro$199/year1,0009

Get Pro: https://rickyfarmer.gumroad.com/l/Legis-LinkPro


Links


Results are preliminary compliance references. Always verify against the full published standard before proceeding with any installation.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y legis-link-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-eutech-directory-legis-link": {
      "command": "npx",
      "args": [
        "-y",
        "legis-link-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

legis-link-mcpnpm

Compatible MCP Clients

io.github.eutech-directory/legis-link works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More