npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

legis-link-mcp

v3.2.4

Published

Construction compliance AI — 9 tools, 87 regions, 10 trades. Instant code answers on mobile. Free tier available. AU (AS/NZS 3000) · UK (BS 7671) · USA all 50 states (NEC NFPA 70) · Canada · EU.

Downloads

209

Readme

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)

| Tool | What it does | |------|-------------| | Compliance check | COMPLIANT / NON-COMPLIANT verdict with exact clause | | Code reference | Look up any standard, clause, or table | | Toolbox talks | Daily trade-specific safety briefing (10 trades, 70 topics) |

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

| Tool | What it does | |------|-------------| | Technical calculations | Cable sizing, pipe sizing, voltage drop, heat load | | Safety checklist | PPE + hazard controls with regulation per item | | RAMS generator | Full Risk Assessment + Method Statement in 60 seconds | | Material compliance | COMPLIANT / NON-COMPLIANT before ordering | | Inspection requirements | Hold points, sign-off authority, form numbers | | Visual compliance | Upload a site photo — AI compliance assessment (unique in market) |


Coverage — 87 Regions, 10 Trades

| Region | Coverage | Standards | |--------|----------|-----------| | Australia | 8 states + territories | AS/NZS 3000:2018, NCC 2022, WHS Acts | | United States | All 50 states + DC | NEC NFPA 70, IBC, OSHA 29 CFR 1926 | | Canada | 10 provinces | CEC CSA C22.1, NBC, NPC | | United Kingdom | England, Scotland, Wales, N.Ireland | BS 7671:2018, CDM 2015, Gas Safe | | European Union | 14 countries | EN 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

| Tier | Price | Queries/day | Tools | |------|-------|-------------|-------| | Free | $0 | 50 | 3 | | Pro | $199/year | 1,000 | 9 |

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


Links

  • Live app: https://legis-link-mcp-production-3e9b.up.railway.app/app
  • GitHub: https://github.com/eutech-directory/legis-link-mcp
  • Smithery: https://smithery.ai/server/ricky-farmerai/construction-legis-link-mcp
  • Glama: https://glama.ai/mcp/servers/eutech-directory/legis-link-mcp

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