Listed from the MCP registry; nobody on Odel publishes it.
Scan backend routes into per-endpoint YAML, run them as API regression tests and serve mocks.
Runs on your machine from its package; the steps are below.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y ajiro-api
MCP client config
{
"mcpServers": {
"ajiro-api": {
"command": "npx",
"args": [
"-y",
"ajiro-api"
]
}
}
}Let your coding agent test the APIs it writes.
English | 日本語
Ajiro API (ajiro-api) is a CLI that statically scans your backend routes into one YAML file per endpoint, runs those files as regression tests, and serves them as mocks. It is built so that Claude Code and Codex can run "implement -> scan -> test -> fix -> re-test" with no human in the loop.

With --json, the same failure comes with the request, the response body and the handler location, so the agent can fix it and re-run on its own. In Claude Code:
/plugin marketplace add niti-lab/ajiro-api
/plugin install ajiro-api@ajiro-api
Supports Next.js Route Handlers, Hono, FastAPI, Express and Go (net/http, chi, Echo).
A sister product of Ajiro (WBS / task management).
# npm (run without installing)
npx -y ajiro-api --version
# Homebrew
brew install niti-lab/tap/ajiro-api
# cargo
cargo install ajiro-api
# GitHub Releases (macOS / Linux / Windows binaries)
# https://github.com/niti-lab/ajiro-api/releases
If ajiro-api is not on your PATH, replace it with npx -y ajiro-api in the commands below.
npx -y ajiro-api fetches the latest release every time it starts. That is handy for trying it out, but in CI and other automated runs, pin the version instead:
# run a fixed version
npx -y ajiro-api@0.2.5 test
# or add it to devDependencies and let the lockfile pin it
npm i -D ajiro-api@0.2.5
cd your-backend-project
ajiro-api init # creates ajiro-api.yaml and api/ (framework auto-detected)
ajiro-api scan # reads routes and writes YAML into api/
# start your app, then
ajiro-api test # runs every endpoint and checks the responses
Endpoints with empty tests: get an implicit smoke test (status < 500; a 4xx passes with a warning, since a 401 usually means the run is not logged in). It is only sent to GET, HEAD and OPTIONS; POST, PUT, PATCH and DELETE may change data and are skipped unless you pass ajiro-api test --smoke-unsafe. For APIs behind a login, list the login endpoint in the environment's setup: it runs first, and the token or cookie it captures can be sent with every request through the environment headers (see the YAML reference).
One YAML file per endpoint, at api/<resource>/<method>-<path>.yaml. scan writes source; humans and AI write tests and mock. scan never rewrites anything except source.
# api/users/post-users.yaml
version: 1
id: users.create
request:
method: POST
path: /users
headers:
Authorization: Bearer {{ auth.token }}
body:
name: Taro
email: taro@example.com
source: # updated by scan
framework: hono
file: src/routes/users.ts
line: 42
tests: # written by humans and AI (scan never touches it)
- name: creates a user
expect:
status: 201
body:
schema: ./schemas/user.json
match:
$.email: taro@example.com
ignore: [$.id, $.createdAt]
capture:
userId: $.id
- name: duplicate email returns 409
request:
body: { email: dup@example.com }
expect:
status: 409
mock: # used by `ajiro-api mock`
default: { status: 201, body: { id: usr_001, name: Taro } }
scenarios:
conflict: { status: 409 }
See docs/yaml-reference.md (Japanese) and skills/ajiro-api/reference.md (English) for the full syntax. The JSON Schema is available via ajiro-api schema endpoint and works for editor completion:
# yaml-language-server: $schema=https://raw.githubusercontent.com/niti-lab/ajiro-api/main/schema/endpoint.schema.json
Install the plugin to get the skill (the scan -> test -> fix -> re-run procedure) and the MCP server:
/plugin marketplace add niti-lab/ajiro-api
/plugin install ajiro-api@ajiro-api
The skill activates when the agent implements or changes HTTP API endpoints, or when you ask it to test or verify an API. See skills/ajiro-api/SKILL.md.
The MCP server is listed in the official MCP Registry as io.github.NITI-Lab/ajiro-api and on Glama, so any MCP client can use it. To use only the MCP server, add this to .mcp.json (or your client's MCP settings):
{
"mcpServers": {
"ajiro-api": { "command": "npx", "args": ["-y", "ajiro-api", "mcp"] }
}
}
Or, in Claude Code:
claude mcp add ajiro-api -- npx -y ajiro-api mcp
To keep the server from changing under you, pin the version (ajiro-api@0.2.5 in args, or npx -y ajiro-api@0.2.5 mcp).
Tools: scan, test, list, validate, get_endpoint, schema.
Paste docs/agents/AGENTS.snippet.md into your project's AGENTS.md. It is the same procedure as the Claude Code skill.
| Command | Description |
|---|---|
ajiro-api init | Create ajiro-api.yaml and api/; detect the framework |
ajiro-api scan | Statically analyse routes and write/update YAML. --check for CI drift detection (add --ignore-lines to tolerate routes that only moved), --dry-run to preview |
ajiro-api test | Run the YAML and check responses. --json, --junit <FILE>, -u (update snapshots), --env, --bail, ... |
ajiro-api list | List defined endpoints |
ajiro-api validate | Validate syntax, schema and references (duplicate ids, depends_on) |
ajiro-api mock | Serve the mock: responses (default port 4010) |
ajiro-api mcp | Run the MCP server over stdio |
ajiro-api openapi import / export | Convert from/to OpenAPI 3.x |
ajiro-api import postman / bruno | Import Postman collections or Bruno folders |
ajiro-api docs | Generate a single-file HTML API reference |
ajiro-api schema [endpoint|config] | Print the JSON Schema |
ajiro-api telemetry [on|off|status] | Usage statistics consent (off by default) |
All flags: docs/cli-reference.md (Japanese) or ajiro-api <command> --help. Exit codes: 0 success, 1 tests failed / drift / validation errors, 2 the tool itself could not run (config or I/O error).
--json output contains the failing check, expected value, actual value and the source location, so an agent can fix the problem directly. Tokens and passwords are masked as ***.
| Framework | framework value |
|---|---|
| Next.js Route Handlers | nextjs |
| Hono | hono |
| FastAPI | fastapi |
| Express | express |
| Go net/http | go-nethttp |
| Go chi | go-chi |
| Go Echo | go-echo |
GraphQL, gRPC and WebSocket are out of scope.
ajiro-api scan --check # exit 1 if YAML is out of date
ajiro-api scan --check --ignore-lines # ...but not when routes only moved to another line
ajiro-api test --env ci --junit report.xml # also writes JUnit XML
A GitHub Actions sample is in examples/github-actions/ajiro-api.yml: install, start the app in the background, wait for the port, scan --check, test, publish JUnit, upload artifacts.
ajiro-api openapi import openapi.yaml # OpenAPI 3.x -> YAML (tests are kept)
ajiro-api openapi export -o openapi.yaml # YAML -> OpenAPI 3.1
ajiro-api import postman collection.json # Postman Collection v2.1
ajiro-api import bruno ./bruno-collection # Bruno .bru folder
Add --overwrite to overwrite request and mock of existing files. tests are always kept.
ajiro-api mock # http://127.0.0.1:4010
ajiro-api mock --scenario conflict # pick a scenario at startup
Switch scenarios per request with the X-Ajiro-Scenario header or the ?__scenario= query parameter. Endpoints without that scenario return default. --delay adds latency to every response.
ajiro-api docs -o api-docs.html --title "My API"
A single file that opens in any browser, so you can hand it to people who cannot set up Swagger.
Our axes: AI agents as the primary user, plain standard YAML instead of a proprietary format, and no per-seat pricing. Prices are from the vendors' official pages as of November 2026 (annual billing).
| Product | Free tier | Team pricing | Storage format |
|---|---|---|---|
| Postman | Single user only; no team creation (changed March 2026) | Team $19/user/month | Cloud-centric, Collection JSON |
| Bruno | OSS edition; public Git provider integration | Pro $6 / Ultimate $11 per user/month | Proprietary .bru |
| Ajiro API | CLI, skill and test runner are free (MIT) | CLI is free | Standard YAML (convertible to/from OpenAPI) |
Postman and Bruno are good tools for humans building requests in a GUI, and Ajiro API does not compete there. It focuses on YAML generated from code, read and written by AI, and run continuously in CI. ajiro-api import postman and ajiro-api import bruno help you migrate.
ajiro-api telemetry on are anonymous command counts (command name, version, OS) kept; no paths, URLs or API definitions. DO_NOT_TRACK=1 always disables it.mcp, --json, non-terminal output and when CI is set. Turn it off with AJIRO_API_NO_UPDATE_CHECK=1 (or DO_NOT_TRACK=1)..env only ({{ env.NAME }}), never written in YAML. Tokens and passwords are masked as *** in output.The CLI, skill, MCP server and importers stay MIT and free in Phase 2 and later.
See CONTRIBUTING.md. We also track "GUI / mock / spec requests" via an issue label. Security reports: SECURITY.md. Changes: CHANGELOG.md.
MIT (c) 2026 NITI