# MCP Spectral

> Use this tool when you need to validate and fix OpenAPI specifications, as it provides automated linting capabilities to ensure accurate and consistent API definitions. It solves problems related to API design and development by identifying errors and inconsistencies in OpenAPI specifications. The tool takes OpenAPI specifications as input and outputs validated and corrected definitions, making it ideal for use cases involving API development, testing, and maintenance.

Canonical page: https://skillsregistry.net/skills/mark-sivill-mcp-spectral  
JSON: https://api.skillsregistry.net/v1/skills/mark-sivill-mcp-spectral

## Description

An MCP server that wraps Spectral to lint OpenAPI specifications, enabling LLMs to validate and fix API definitions.

## Trust

- **Trust score (0–1):** 0.89
- **Verification tier:** scanned
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/pjub38jr9c)
- **Repository:** <https://github.com/mark-sivill/mcp-spectral>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "mark-sivill-mcp-spectral"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mark-sivill-mcp-spectral` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mark-sivill-mcp-spectral/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
