# JSON Server: 5.6 out of 10

Reasonable, with limits. 8th of 10 in [Mocking and test data](https://elestia.ai/opensource/mocking/index.md).

JSON Server turns a db.json file into a fake REST API with no code. It still does that small job well for prototypes, demos and teaching. The version npm installs by default, 1.0.0-beta.15, has been in beta for more than two years and has had no release since March 2026. It also dropped features from the old 0.17.4 line. For mocking inside tests, Mock Service Worker is the stronger pick.

**Best for:** Frontend developers who need a throwaway local REST backend from a JSON file for prototypes, demos or workshops.

## Scores

- **Overall: 5.6** (likely 4.5 to 6.6)
  - Claude Opus 5.5 (5.0): It is still the quickest way to stand up a throwaway REST API, and that keeps it useful for prototypes and teaching. Holding it back are the default install being a beta for years, maintenance stalled since March, features removed in v1, no types, and a falling share. For mocking in tests, MSW does the job better for most people, and Mockttp or Nock fit Node-side work.
  - GPT-6.2 Sol (6.1): Pinning 0.17.4 is reasonable when a new project needs a real REST endpoint that saves writes with very little setup. Mock Service Worker is the stronger general choice for browser and Node tests that need different responses in each test. The long gap between stable releases and the breaking v1 upgrade path lower confidence for projects that expect to rely on it for several years.
- **Needed by many: 5.0** (likely 3.9 to 6.1)
  - Claude Opus 5.5 (5.0): Many frontend developers sometimes need a fake REST backend, but only for prototyping and demos rather than for most test suites. It covers only REST over a JSON file and does not fake functions or generate data. That makes it narrower than the whole category.
  - GPT-6.2 Sol (4.9): Mocking is a common testing problem, and a standalone HTTP server works with any frontend framework or HTTP client. JSON Server serves the narrower case of teams that want a separate, stateful REST backend. The survey identifies the general need for mocking, but gives little evidence of how many teams need this particular setup.
- **Helps a lot: 6.0** (likely 5.0 to 7.1)
  - Claude Opus 5.5 (5.0): The core workflow is simple and works, and v1 added richer filter operators and _where. But the default install is a beta, and v1 dropped --delay, custom route maps and middleware flags. It has no bundled types and is a separate process rather than in-app interception, and AI agents often write 0.17-style code that v1 rejects.
  - GPT-6.2 Sol (7.0): Version 0.17.4 makes persistent CRUD, filtering, pagination, and simple relationships easy to set up, with documented hooks for custom routes and middleware. Programmable errors and isolated tests take more work, and the stable package has no built-in TypeScript declarations. The JSON setup is straightforward for coding agents, but version-specific examples are easy to mix up and independent performance and agent evaluations are sparse.
- **Holds up over time: 4.1** (likely 3.0 to 5.3)
  - Claude Opus 5.5 (4.0): Work comes in bursts from one maintainer: about ten beta releases in January to March 2026, then nothing for eight months. v1 has stayed in beta since 2023-2024, with 619 open issues and 103 open pull requests. Sponsors fund some of the work, but the Scorecard rates Maintained at 0.
  - GPT-6.2 Sol (4.2): The last stable release was in September 2023. The repository had 60 commits and 11 releases in the past year, but its last release was a beta in March 2026, and several newer pull requests remain open. The registry listing shows one maintainer, and users have reported problems with breaking changes in v1. The beta work shows that development can resume, while the timing of a stable release remains uncertain.
- **Used widely: 5.8** (likely 4.8 to 6.9)
  - Claude Opus 5.5 (6.0): About 85.7k dependent repositories and 75k stars show very wide past adoption, much of it from tutorials and learning projects. Downloads grew only 1.23x year over year, against a median of 4.1x, so it is losing share fast to MSW and others. At 1.7M downloads per 4 weeks, it is far below MSW's 135M.
  - GPT-6.2 Sol (5.6): The tracked 85,674 dependent repositories show a substantial installed base, above Mock Service Worker and below Nock in this index. Downloads grew from 1.42 million to 1.75 million per four weeks, a 1.23× ratio against the catalog median of 4.1× and Mock Service Worker’s 4.68×. That points to a loss of relative ground despite the project’s large star count. The download figures mix versions and automated installs, so they give an imprecise view of new adoption.
- **Vouched for: 4.4** (likely 3.3 to 5.5)
  - Claude Opus 5.5 (4.0): It is endorsed widely in tutorials, courses and comparison roundups, and sponsors such as Zuplo and Mintlify back it. But it serves dev-time prototyping, so production endorsements hardly apply. Current comparisons recommend MSW over it for testing, and community discussion is thin: 1 HN story with 2 points and 5 Bluesky posts.
  - GPT-6.2 Sol (4.8): React-admin documents a dedicated adapter, and Red Hat published a hands-on example of using JSON Server for local frontend development. A more recent developer report confirms the quick setup and describes friction with delays and error responses. The evidence is strongest for prototypes, with little recent survey or independent benchmark coverage for JSON Server itself.
- **Safe: 5.7** (likely 4.6 to 6.8)
  - Claude Opus 5.5 (6.0): No OSV advisories ever, 13 runtime dependencies, and it is normally a devDependency that runs locally. The license changed briefly during the v1 betas and was switched back to MIT in beta.7. The Scorecard is 3.6, with weak code review, token permissions, pinned dependencies and security policy, and one person publishes releases.
  - GPT-6.2 Sol (5.3): The stable package has a permissive MIT license and no listed direct advisories in the sources checked. Its manifest lists 19 direct runtime dependencies, and downstream advisories show that resolved dependency versions matter. The repository’s 3.6 OpenSSF score, weak workflow permissions and review checks, and missing security policy reduce confidence in future fixes. The default npm beta also has an open report about binding beyond the requested local interface.

## Good

- One command turns a JSON file into full CRUD routes with filtering, sorting, pagination and _embed relations.
- It is a real HTTP server, so curl, Postman, mobile apps and any frontend can call it.
- There are no known advisories, it has only 13 dependencies, and the license is MIT again since beta.7.
- It is extremely well known and covered by countless tutorials, so it is easy to explain and to onboard people.

## Bad

- The default npm version is a long-running beta, and its notes warn that more breaking changes may come.
- v1 removed features from 0.17, such as --delay, --routes, --middlewares and _limit, so old guides and AI-written code often break.
- It ships no TypeScript types and cannot intercept requests inside the app or a test runner, as MSW does.
- Releases come from one maintainer, the last one was in March 2026, and 619 issues are open.

## The numbers

- Downloads, 4 weeks: 1.7M
- In a year: +23%
- GitHub stars: 76k
- Commits, 12 months: 60
- Last npm release: Mar 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/typicode/json-server
- npm: https://www.npmjs.com/package/json-server

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
