Skip to main content
Glama
api-commons

Spotlight MCP

by api-commons

Spotlight MCP

A Model Context Protocol server that exposes Spotlight to any AI client — so an agent can lint your API artifacts and work with rulesets conversationally. It runs the same @spotlight-rules/* engine as spotlight-cli, over stdio.

Tools

Tool

What it does

lint_artifact

Lint an artifact (content, optional format, optional ruleset) → findings (code, message, severity, path) + counts

list_rulesets

The built-in rulesets (spotlight:oas, :asyncapi, :arazzo) and their rules

list_formats

The artifact formats Spotlight can lint

validate_ruleset

Structurally validate a ruleset (alias, object, or YAML/JSON string)

Related MCP server: APIMatic Validator MCP Server

Use it

npm install
npm start          # speaks MCP over stdio

Claude Desktop / any MCP client

Add to your client's MCP server config (e.g. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "spotlight": {
      "command": "npx",
      "args": ["-y", "@spotlight-rules/spotlight-mcp"]
    }
  }
}

Then ask: "Lint this OpenAPI with Spotlight and tell me what to fix."

Part of the Spotlight suite

One engine (the CLI), one vocabulary (the spec + its rule tags): spec · cli · api (HTTP) · mcp (AI, this repo) · vscode · validator. Where spotlight-api is the HTTP surface, this is the AI surface.


Part of Spotlight Rules — a project of API Evangelist, maintained openly under API Commons. Apache-2.0.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/api-commons/spotlight-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server