Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Spectral

Lints OpenAPI and AsyncAPI documents with custom rules.

Linting and formattingNPM

GitHubWebsite

1. License

License from npm.

github.com/stoplightio/spectral

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Spectral does

Lints OpenAPI and AsyncAPI documents with custom rules.

Spectral popularity

48 / 100
Gid Score, #2211 overall
2.5M
downloads a week, npm
3,262
GitHub stars
7
agent projects use it
Spectral: downloads per weeknpm, @stoplight/spectral-cli 2,518,790
Spectral: GitHub starsstoplightio/spectral 3,262

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Spectral is used

  • Spectral joined the catalog on its public numbers (2,518,790 downloads a week on npm and 3,262 GitHub stars), not on our project count: it is a dependency in 12 public GitHub projects of our scan, 7 of them set up for AI coding agents.
  • Projects that use it most often also use Testing Library (66.7%), Husky (58.3%), jsdom (50.0%).

Often used with

In 66.7% of its projects
In 58.3% of its projects
In 50.0% of its projects
In 41.7% of its projects
In 41.7% of its projects
In 41.7% of its projects
In 58.3% of its projects
In 66.7% of its projects

More about Spectral

Funding
  • Own page: https://plant.treeware.earth/stoplightio/spectral

See all

More in Linting and formatting

Alternatives

Spectral This page

Apache-2.0Gid 482.5M/wk

Compare Spectral with another tool

Get started

Install it.

npm install @stoplight/spectral-cli

No step-by-step start for Spectral yet: we have not written its hand-checked card.