NEWOur agents now make the SEO fixes on your site and check what worked →

Use SEOmatic in LM Studio

Updated

Add SEOmatic to LM Studio's mcp.json with an API key, or sign in on LM Studio 0.4.10 or later, then ask a model that can use tools. The steps take about a minute, and connecting is free.

Before you start

LM Studio 0.3.17 or later with a model that supports tool use, and a free SEOmatic account. Signing in instead of using an API key needs LM Studio 0.4.10 or later.

Add It in One Click

Add to LM Studio

Opens LM Studio 0.4.10 or later and asks you to confirm, then you sign in to SEOmatic. The link holds only SEOmatic's address, no key. Nothing happened? Use the steps below.

Connect LM Studio#

  1. Create an API key. In SEOmatic, open Settings > AI Agents. Under Use SEOmatic From Your Own Tools, click Create key and copy it. It starts with smk_live_ and is shown only once. See API keys.
  2. Open mcp.json. In LM Studio, open the Program tab in the right sidebar, then click Install > Edit mcp.json. The file is ~/.lmstudio/mcp.json on Mac and Linux, %USERPROFILE%\.lmstudio\mcp.json on Windows.
  3. Add SEOmatic. Paste the setup below, put your key in place of smk_live_your_key and save. If the file already lists other servers, add the seomatic entry next to them inside mcpServers.
  4. Ask. Start a new chat, check that SEOmatic is switched on in the chat's tools, and ask your first question. LM Studio shows each tool call before it runs.

LM Studio setup

{
  "mcpServers": {
    "seomatic": {
      "url": "https://app.seomatic.ai/api/mcp?tools=essentials",
      "headers": {
        "Authorization": "Bearer smk_live_your_key"
      }
    }
  }
}

Sign in instead of a key

On LM Studio 0.4.10 or later you can leave out the headers part. LM Studio then opens the SEOmatic page in your browser: check that it shows the right email, pick your site and click Approve. If the sign-in does not finish, use an API key as above.

?tools=essentials keeps the tool list short, because local models have small context windows and a long tool list can fill them before you ask anything. For every tool, use https://app.seomatic.ai/api/mcp without it.

Keep the key safe

mcp.json is a plain text file: anyone who can read it can use the key. If the computer is shared or lost, click Revoke on the key in Settings > AI Agents. It stops working at once.

Try Asking#

  • “How did my site do on Google this month?”
  • “Which keywords am I close to page 1 for?”
  • “List the pages Google has not indexed, and why.”
  • “Audit my homepage and tell me what to fix first.”

What It Costs#

Connecting is free. Reading your own data never uses credits: Search Console performance and insights, index status, rankings, site audits, AI citations, traffic and your tasks. Only live market lookups (keyword metrics, search results, backlinks), AI visibility scans and the fixes you approve use AI credits; every tool is labelled free or billed. On the Free plan, market lookups count against 5 free questions a month. The workspace Owner sees every credit spent, by feature, in Settings > Usage. LM Studio itself is billed by its maker, not by SEOmatic: nothing on our side counts tokens.

Nothing Changes on Your Site Without Your Approval#

LM Studio asks before every tool call: you can read and edit what it will send, then allow it once or always (change this later in App Settings > Tools & Integrations). In your CMS, LM Studio can only stage a fix in SEOmatic. A staged change is a proposal: it says what will change and why, and in Approval mode nothing touches your site until you approve it. The assistant records your decision, and it is told never to approve anything on its own judgment. Approved fixes start within seconds, the page's previous state is stored, and any applied change can be rolled back. Changes that could take a page out of Google, like a noindex, need an extra explicit confirmation.

LM Studio says SEOmatic is connected but answers without my data.
Start a new chat or session and check that SEOmatic is switched on for it: in a chat app, in the tools or connectors menu; in a terminal or code editor, in its list of MCP servers. This is the step most people miss.
The SEOmatic page says "This connection request expired".
Start the connection again from LM Studio, or paste the setup prompt again.
The Authorize page shows the wrong email or no workspace.
Click Switch account on that page and sign in with the SEOmatic account that owns the site.
Why does LM Studio say it cannot change my site?
Fixes need a live paid plan or trial. On the Free plan, or when billing is paused or failed, your assistant can read and answer only.
How do I disconnect?
Open Settings > AI Agents. Under Connected to This Workspace, click Disconnect next to LM Studio and confirm. LM Studio loses access right away. If you connected it with an API key, click Revoke on that key under Your Keys instead. See disconnect an assistant.

Was This Article Helpful?

Still need help?Email contact@seomatic.ai with your site address and a screenshot. A person replies, usually within one business day.

digi-business-uk

Each local area page used to take us half a day to create and optimize.


With SEOmatic, we can create hundreds of pages in the same time, which helps our clients make the best use of their budget.


It's transformed how we deliver scalable SEO solutions.

will-hawkins

Will Hawkins

Marketing Director, Digi-Business UK

Give Your Site an SEO Team

Agents read your Search Console data, do the work, and prove what actually moved. You decide what ships.

  • You decide what ships
  • Verified live
  • One-click rollback

14-Day Trial for $1, credited to your first payment.