About Arch
Arch is an MCP server published by zerotaldev in the Search category: the Zerotal agent surface — an MCP server that hands coding agents the framework's machine-readable truth: exact API signatures, live routes and schema, version-matched docs, and `zt doctor`. Conduid read 9 tools from its source: api_surface, app_info, baselines, doctor, last_error, logs and 3 more. It is published to npm as @zerotal/arch and starts with npx.
The zerotaldev/zerotal monorepo this package is published from has 2 stars and 0 forks, and its last commit was on 27 Nov 2026. The latest release is v1.15.1 (13 Sep 2026): Published to npm with provenance. It follows v1.15.0 (4 Sep 2026), and the 5 most recent releases go back to v1.14.1 (1 Sep 2026). Its topics include zerotal, bun and framework.
Install
claude mcp add arch -- npx -y @zerotal/archnpx -y @zerotal/archgit clone https://github.com/zerotaldev/zerotalTools (9)
api_surfaceThe exact public API of a Zerotal package: every export with its full TypeScript signature, including class members and static properties. This is the mechanical record CI diffs on every change, read from the version installed in this project — prefer it over recalling an API from memory. Pass `symbol` alone to find an export when you do not know which package owns it; add `package` to narrow.| Parameter | Type | Description |
|---|---|---|
| package | string | Package name, with or without the scope — "core" or "@zerotal/core". Omit to search every installed package. |
| symbol | string | Only return exports whose name contains this, case-insensitively. Omit for all. |
app_infoWhat this Zerotal app is: the Bun version, the environment it boots as, its configured URL, every registered service provider, the WebSocket paths it serves, and the version and maturity of every installed @zerotal package. Call it once at the start of a task — the installed versions decide which APIs exist, and the provider list decides which features are actually wired up.baselinesThe quality ratchets this project records — lint warnings, type casts, test-typecheck errors, documentation gaps — and the command that verifies each. The rule is that these numbers only go down: a change may remove debt freely but must not add to it. Also lists the project's own verification scripts. Read it before a change, and run the commands it names after one.doctorRun every health check against this app and return the findings with the fix for each. Covers the silent misconfigurations — an unregistered provider, a schema with two sources of truth, allowed origins that no browser will match, a missing APP_KEY — plus whatever the installed packages contribute. Run this as the last step of any task that changed the app, and treat a `fail` as work that is not finished.last_errorThe most recent error or fatal entry in this app's log trail, with its full context. The fastest way to find out why something failed — call it before reading code to guess.logsRead this app's recent log entries from its on-disk trail. Each entry carries a level, timestamp, scope and structured context. Pass `level` to set a floor — `warn` returns warnings, errors and fatals. Use it to find out what an app actually did, rather than inferring it from the code.| Parameter | Type | Description |
|---|---|---|
| contains | string | Only entries whose message contains this, case-insensitively. |
| level | string | Minimum level to include. Omit for everything. |
| limit | number | How many entries. Default ${DEFAULT_LIMIT}, max ${MAX_LIMIT}. |
routesList the HTTP routes this app has registered, with the controller, action, route name and middleware for each. Includes routes registered programmatically by providers, which reading the routes/ directory would miss. Use it to get a route name right before calling route(), and to check a route you added is actually reachable.| Parameter | Type | Description |
|---|---|---|
| method | string | Only routes with this HTTP method. Case-insensitive. |
| named | boolean | Only routes that have a name. |
| path | string | Only routes whose path contains this substring. |
schemaThe database schema this app's models declare: table, primary key, timestamps, soft deletes, and every column with its type, nullability and indexes. Read from the models' own decorator metadata, so it is what the code says rather than what the database currently holds. Check it before writing a query, a factory, or a migration.| Parameter | Type | Description |
|---|---|---|
| table | string | Only models whose table name contains this. Omit for all. |
search_docsSearch the Zerotal documentation that shipped with this project's installed version — routing, models, migrations, validation, auth, queues, Flow components, Inertia, admin, deployment and the rest. Returns the matching section of each page rather than the whole page. Use it for how a subsystem works or which approach the framework intends; use api_surface when you need an exact signature.| Parameter | Type | Description |
|---|---|---|
| limit | number | How many pages to return. Default ${DEFAULT_LIMIT}, max ${MAX_LIMIT}. |
| query * | string | What to look for, e.g. "soft deletes" or "route model binding". |
Security checks
From the zerotaldev/zerotal monorepo, not this package alone.
6 checks have not been run yet.
Releases
From the zerotaldev/zerotal monorepo.