LightSpot MCP Server
# @lightspot/mcp
MCP server for [LightSpot.ai](https://lightspot.ai) — run **SEO and AI-visibility audits**, read their results and our experts' reports, and import editorial calendars from any MCP client (Claude Desktop, Claude Code, Cursor, …).
It wraps the LightSpot public API (`/v1`) as MCP tools, so an AI assistant can *"audit this site and tell me why ChatGPT doesn't cite it"* in one step.
## Requirements
- A LightSpot **API key** (`lspai_live_…`) — create one in **LightSpot → Integrations → API keys**. API access is included in the **Eclat**, **Halo** and **Zenith** plans.
- Node.js ≥ 20 (run on demand via `npx`, nothing to install globally).
## Setup
Add the server to your MCP client config and set your API key:
```json
{
"mcpServers": {
"lightspot": {
"command": "npx",
"args": ["-y", "@lightspot/mcp"],
"env": {
"LIGHTSPOT_API_KEY": "lspai_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
```
- **Claude Desktop** → `claude_desktop_config.json`
- **Claude Code** → `claude mcp add` or your project's `.mcp.json`
- **Cursor** → `~/.cursor/mcp.json`
### Environment variables
| Variable | Required | Description |
| --- | --- | --- |
| `LIGHTSPOT_API_KEY` | yes | Your API key (`lspai_live_…`). |
| `LIGHTSPOT_BASE_URL` | no | Override the API base URL (defaults to `https://lightspot.ai`). For self-hosted/testing only. |
## Tools
| Tool | What it does |
| --- | --- |
| `audit_and_wait` | Run an audit on a URL, wait for it to finish, and return a summary (score, top actions, main issues). The one-shot "audit this and tell me what's wrong." An audit of one of your sites is attached to it automatically (or pass `siteId`). Optional `lang` (`fr` or `en`) for the language of the issue texts. |
| `run_audit` | Start an audit without waiting (returns the audit id). Attached to your matching site the same way. |
| `get_audit_status` | Lightweight status of an audit (`PENDING`/`RUNNING`/`DONE`/`FAILED` + progress 0–1). |
| `get_audit` | Audit results — a trimmed summary by default, or the full payload with `full: true`. Optional `lang` (`fr` or `en`) returns issue labels and fixes in that language and translates the findings of code-based checks; findings written by the AI analysis stay in the site's language. |
| `list_sites` | List the sites in your team (with their latest score). |
| `get_site` | A site's metadata and recent audits. |
| `list_site_audits` | A site's paginated audit history. |
| `get_competitors` | Get a site's latest competitor analysis (detected competitors, tiers, citations, recommendations). Read-only — does not trigger a new analysis. Requires the Halo or Zenith plan. |
| `get_expert_report` | Read the latest report from our 8 experts (technical SEO, content, AI visibility, structured data, sitemaps, performance, visual, brand authority) for a site or a given audit: prioritized findings, recommended actions with steps, limitations and ready-to-apply artifacts. Summary by default, `full: true` for everything, `expert` to read one chapter. Read-only — does not trigger an analysis. |
| `get_action_plan` | Read a site's action plan, as the LightSpot To do page builds it: the open actions of the latest audit with the pages still to fix, our experts' and competitor recommendations in priority order, and the progress of the fixes. Summary by default (every action, up to 10 pages each; `source` keeps one kind); `actionId` returns one action in full (every page, its link and a ready-to-use fix prompt); optional `lang` (`fr` or `en`). Read-only. |
| `get_editorial_calendar` | Read a site's calendar over an ISO date range, including imported slots and content already preparing, scheduled, or published. |
| `create_editorial_calendar` | Import or update up to 50 dated editorial slots. Idempotent with `externalId`; it does not generate or publish content. |
## Example prompts
- "Audit https://example.com and give me the top 3 things to fix for AI visibility."
- "List my LightSpot sites and which one has the lowest score."
- "Get the full results for audit `<id>` and group the issues by severity."
- "What competitors were detected for my site `<siteId>`, and what should I do about them?"
- "Read the experts' report for my site `<siteId>` and fix what the structured-data expert recommends in my codebase."
- "Show me the action plan for my site `<siteId>`, then fix the first action in my codebase."
- "Create a four-week editorial calendar for my site `<siteId>` with two LinkedIn posts and one educational X thread per week, then import it into LightSpot."
- "Show me everything planned or published for site `<siteId>` between 2026-08-01T00:00:00+02:00 and 2026-09-01T00:00:00+02:00."
## Notes
- Quotas (audits/month, pages/audit) and per-key rate limits follow your LightSpot plan. Each site can be audited once per day.
- Importing editorial slots does not consume AI credits and never generates, schedules, or publishes content automatically.
- The full REST API reference lives at [lightspot.ai/docs/api](https://lightspot.ai/docs/api).
## License
MIT
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes: run_audit vs audit_and_wait (async vs blocking), get_audit_status (lightweight) vs get_audit (full results), and get_editorial_calendar vs create_editorial_calendar (read vs write) are well-separated by their descriptions. Minor overlap exists between get_audit and get_expert_report (both surface audit-derived output) and between get_site and list_site_audits, but the descriptions clarify the boundaries.
Ten of eleven names follow a predictable verb_noun pattern (get_*, list_*, run_audit, create_editorial_calendar), which is highly consistent. The lone deviation is audit_and_wait, which inverts to a noun_and_verb compound and breaks the otherwise uniform convention.
Eleven tools is a well-scoped set for an SEO/GEO audit platform, comfortably within the ideal 3-15 range. Each tool earns its place by covering a distinct phase: audit triggering, polling, results retrieval, site lookup, and calendar management.
The audit lifecycle is well covered (trigger, poll, fetch, expert report, wait convenience), and the editorial calendar supports read plus idempotent import. Gaps remain in write operations for sites (no create/delete) and the inability to trigger a new competitor analysis or delete calendar slots, but these are workable given the read-heavy workflow.