How to build a website with a local AI model

Dan Counsell · Founder of Realmac SoftwareUpdated

We’ve made RapidWeaver, a website builder for Mac, since 2004. Each guide works with any tool, then shows how in RapidWeaver Elements.

Most AI tools send what you type to a company’s servers. That’s fine for most websites, but not for everyone: a client’s unreleased product, a medical practice, or simply a preference for keeping your work on your own computer. A local model runs on your Mac instead.

What you need

  • A Mac with Apple silicon. The more memory it has, the larger the model it can run.
  • LM Studio, a free app for running AI models on your Mac.
  • A model that supports tool use, which MCP needs. LM Studio’s model browser shows which ones do.
  • RapidWeaver Elements, which includes the MCP server on every plan.

Connect LM Studio to RapidWeaver Elements

  1. In Elements, open Preferences > AI > MCP Server, turn on Allow AI tools to interact with Elements and copy the URL.
  2. In LM Studio, open the MCP settings and add Elements:
{
  "mcpServers": {
    "elements": {
      "url": "http://localhost:9712/mcp"
    }
  }
}
  1. Use the URL Elements shows if it’s different from the one above.
  2. Load a model with tool use, keep your Elements project open, and ask it to look at the project.

What to expect

Local models are slower and less capable than the largest online models, so give them smaller, clearer jobs: “add a three-column feature section below the hero”, rather than “build me a website”. Start from a starter project so the model is changing a good design rather than inventing one. And because you can click and edit anything in Elements yourself, the AI doesn’t have to get every detail right.

Questions about local AI and websites

Is it private?

The model runs on your Mac and the Elements MCP server is a local connection, so your prompts and project stay on your Mac. Publishing the site sends it to your host, as usual.

Can I use another local AI app instead of LM Studio?

Any app that can act as an MCP client and connect to a local HTTP MCP server can work with Elements. Check that yours supports it.

Does Elements need an internet connection for this?

No. Elements works offline. You only need a connection to publish, back up to Elements Cloud or use online AI tools.

Get RapidWeaver Elements for Mac

Design, build and publish your site without code, then host it anywhere. Try it free on your own project.

Download

Confirm your email and we'll send your code. Unsubscribe any time. Privacy policy