Use SEOmatic in LM Studio
Updated
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 StudioOpens 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#
- 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. - 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.jsonon Mac and Linux,%USERPROFILE%\.lmstudio\mcp.jsonon Windows. - Add SEOmatic. Paste the setup below, put your key in place of
smk_live_your_keyand save. If the file already lists other servers, add theseomaticentry next to them insidemcpServers. - 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.

