stoplightio/prism
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations. observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0.5
- age_days: 3820
- days_rel: 47
- days_push: 7
- n_releases_24m: 19
Adoption not part of the score
5016 stars · 412 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Prism is an open-source CLI tool that turns OpenAPI v2/v3 documents or Postman Collections into a fully functional HTTP mock server with dynamic example generation, request/response validation, and a contract-testing validation proxy. It runs from the command line via Node.js and can be used standalone or in CI pipelines.
Use cases
- spin up a mock server from an OpenAPI spec
- let frontend teams develop before the backend exists
- validate API responses against an OpenAPI contract
- run contract testing in CI with a validation proxy
- generate dynamic random examples from an API description
- mock OpenAPI callbacks for webhook payloads
When to choose
- you have an OpenAPI or Postman Collection spec and need a realistic mock API quickly
- you want to check that an implemented API matches its specification
- you prefer a lightweight CLI over a hosted mocking service
- you need request and response validation during API development
When to avoid
- you need stateful mocking with persistent data across requests
- your API is not described by OpenAPI or Postman Collections
- you need a GUI-based mock management experience
- you require gRPC or GraphQL mocking
Facets
cli-tool · maturity active
mocking http-server testing api-framework cli apis developer-tools testing web-development cli cross-platform openapi swagger postman-collection mock-server contract-testing validation-proxy api-mocking nodejs
5 sources
- readme: https://github.com/stoplightio/prism · fetched 2026-08-28 · 4d0fab278b88
- homepage: https://stoplight.io/open-source/prism · fetched 2026-08-29 · e8c043a3f902
- site_page: https://docs.stoplight.io/ · fetched 2026-08-29 · a30be4a84572
- site_page: https://stoplight.io/about · fetched 2026-08-29 · 2ed9f2f75d44
- site_page: https://stoplight.io/pricing · fetched 2026-08-29 · 070c1e91d9e8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stoplightio/prism | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="stoplightio/prism")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem