Mzizi Registry API

Component registry (shadcn-compatible)

GitHub OpenAPI

Operations 6

GET /ui Component Registry Index #
GET /ui/{name} Individual Component #
GET /astro Astro Implementations #
GET /astro/{name} Astro Implementation #
GET /ui/{name}/docs Get component documentation #
GET /ui/{name}/versions Component version history (not served) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mzizi-dev:mzizi-dev-registry-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mzizi-dev-registry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mzizi Registry API
  version: 1.0.0
  description: 'The Mzizi API — components, brand, architecture, Ubuntu doctrine, the open DNA-helix frontend

    model, and design system. Mzizi owns and operates the registry and this API. It is an

    open-architecture project of the Bundu Foundation.


    The Mzizi API follows resource-oriented design principles. All resources

    are served as JSON with schema.org JSON-LD metadata, CORS headers, and CDN-friendly caching.


    **Files are the data layer.** Every route answers from the files in

    mzizi-dev/mzizi-registry: `registry.json`,

    the component sources on disk, `content/doctrine/**` and the generated `lib/*` modules. There

    is no database behind this API. Data that is not in those files, such as component version

    history, is not served here.


    **Base URL:** `https://api.mzizi.dev/v1`


    **Registry:** every item across the nodes and rungs of the Mzizi DNA double helix, read from

    `registry.json` and the files on disk. The live count is `meta.registryTotal` on `GET /v1/ui`;

    counts are never hardcoded in this spec, so it cannot drift from the registry.


    **MCP Server:** `https://mcp.mzizi.dev/mcp` (Streamable HTTP transport; `mzizi.dev/mcp` 308-redirects here)'
  contact:
    name: Mzizi
  license:
    name: MIT
    identifier: MIT
servers:
- url: https://api.mzizi.dev/v1
  description: Production
- url: http://localhost:3000/api/v1
  description: Development
tags:
- name: Registry
  description: Component registry (shadcn-compatible)
paths:
  /ui:
    get:
      summary: Component Registry Index
      description: 'Returns metadata for every registry item across the Mzizi DNA double helix, from

        `registry.json` and the files on disk. `meta.registryTotal` is the live count.'
      operationId: getRegistryIndex
      tags:
      - Registry
      responses:
        '200':
          description: Registry index
          headers:
            Cache-Control:
              $ref: '#/components/headers/CachePublic'
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryIndex'
        '500':
          $ref: '#/components/responses/InternalError'
  /ui/{name}:
    get:
      summary: Individual Component
      description: 'Returns a single component with inline source code, read from `registry.json` and the

        component''s file on disk.'
      operationId: getComponent
      tags:
      - Registry
      parameters:
      - name: name
        in: path
        required: true
        description: Component name in kebab-case (e.g., "button", "use-toast")
        schema:
          type: string
          pattern: ^[a-z][a-z0-9-]*$
        examples:
          ui:
            value: button
            summary: A UI component
          hook:
            value: use-toast
            summary: A hook
          lib:
            value: utils
            summary: A library utility
      responses:
        '200':
          description: Component with source code
          headers:
            Cache-Control:
              $ref: '#/components/headers/CachePublic'
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryItem'
        '400':
          description: Invalid component name
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Component not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          $ref: '#/components/responses/InternalError'
  /astro:
    get:
      summary: Astro Implementations
      description: 'Every name with an Astro implementation (mzizi-registry#397): a pure `.astro` file beside

        the component''s `.tsx` (and `.rs`), or a framework-free `.ts` module the `.astro` files

        import. Install one with `npx @nyuchi/mzizi-cli add --target astro`.'
      operationId: listAstro
      tags:
      - Registry
      responses:
        '200':
          description: The Astro names, each with its document URL
          headers:
            Cache-Control:
              $ref: '#/components/headers/CachePublic'
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                type: object
                properties:
                  target:
                    type: string
                    enum:
                    - astro
                  install:
                    type: string
                  count:
                    type: integer
                  components:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        url:
                          type: string
                          format: uri
  /astro/{name}:
    get:
      summary: Astro Implementation
      description: 'The Astro implementation of a component, as a registry document an installer writes into

        `src/components/mzizi/`. Pure Astro: no React or other framework under it, and no client

        JavaScript unless the component''s contract allows one enhancement script. Its

        `registryDependencies` are absolute `/v1/astro/` URLs derived from the source''s flat imports

        (`./button.astro`, `./ui-utils`); its bare imports are its npm `dependencies`; a brand asset

        it imports ships beside it as a `registry:asset` file with `encoding: base64`.'
      operationId: getAstroComponent
      tags:
      - Registry
      parameters:
      - name: name
        in: path
        required: true
        description: Component name in kebab-case (e.g., "app-data-table", "button", "ui-utils")
        schema:
          type: string
          pattern: ^[a-z][a-z0-9-]*$
      responses:
        '200':
          description: The Astro document
          headers:
            Cache-Control:
              $ref: '#/components/headers/CachePublic'
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                type: object
                required:
                - name
                - type
                - target
                - dependencies
                - registryDependencies
                - files
                properties:
                  name:
                    type: string
                  type:
                    type: string
                    enum:
                    - registry:astro
                    - registry:lib
                  target:
                    type: string
                    enum:
                    - astro
                  title:
                    type: string
                  description:
                    type: string
                  dependencies:
                    type: array
                    items:
                      type: string
                  registryDependencies:
                    type: array
                    items:
                      type: string
                      format: uri
                  files:
                    type: array
                    items:
                      type: object
                      required:
                      - path
                      - type
                      - target
                      - content
                      properties:
                        path:
                          type: string
                        type:
                          type: string
                          enum:
                          - registry:astro
                          - registry:lib
                          - registry:asset
                        target:
                          type: string
                        content:
                          type: string
                        encoding:
                          type: string
                          enum:
                          - base64
        '404':
          description: Unknown component, or a component with no Astro implementation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /ui/{name}/docs:
    get:
      summary: Get component documentation
      description: 'A component''s documentation, built from the `meta` block of its item in

        `registry.json`: use cases, variants, sizes, features, accessibility notes and

        examples, plus whether it ships a hand-written demo.'
      operationId: getComponentDocs
      tags:
      - Registry
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          example: button
      responses:
        '200':
          description: Component documentation
          headers:
            Cache-Control:
              $ref: '#/components/headers/CachePublic'
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/CorsWildcard'
          content:
            application/json:
              schema:
                type: object
                required:
                - name
                - docs
                - demo
                properties:
                  name:
                    type: string
                  description:
                    type: string
                  node:
                    type: integer
                  nodeLabel:
                    type: string
                  owner:
                    type: string
                  collection:
                    type: string
                  docs:
                    type:
                    - object
                    - 'null'
                    properties:
                      id:
                        type: integer
                        description: 'Always 0: the docs come from a file, not a row.'
                      component_name:
                        type: string
                      use_cases:
                        type: array
                        items:
                          type: string
                      variants:
                        type: array
                        items:
                          type: string
                      sizes:
                        type: array
                        items:
                          type: string
                      features:
                        type: array
                        items:
                          type: string
                      a11y:
                        type: array
                        items:
                          type: string
                      examples:
                        type: array
                        items:
                          type: object
                      created_at:
                        type: string
                        description: 'Always empty: the manifest''s history is git''s.'
                      updated_at:
                        type: string
                        description: 'Always empty: the manifest''s history is git''s.'
                  demo:
                    type:
                    - object
                    - 'null'
                    description: Present when the component ships a hand-written demo.
                    properties:
                      id:
                        type: integer
                      component_name:
                        type: string
                      has_demo:
                        type: boolean
                      demo_type:
                        type:
                        - string
                        - 'null'
                      created_at:
                        type: string
                      updated_at:
                        type: string
        '404':
          description: Component not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          $ref: '#/components/responses/InternalError'
  /ui/{name}/versions:
    get:
      summary: Component version history (not served)
      description: 'Always 503. Component version history is machine-written data owned by the Mzizi

        console, not part of the registry''s files, and this API has no database. Release

        history is at `GET /v1/changelog`.'
      operationId: getComponentVersions
      tags:
      - Registry
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    RegistryItemSummary:
      type: object
      required:
      - name
      - type
      - description
      - dependencies
      - registryDependencies
      properties:
        name:
          type: string
          example: button
        type:
          type: string
          enum:
          - registry:ui
          - registry:hook
          - registry:lib
        description:
          type: string
        dependencies:
          type: array
          items:
            type: string
        registryDependencies:
          type: array
          items:
            type: string
    RegistryIndex:
      type: object
      required:
      - $schema
      - name
      - homepage
      - items
      properties:
        $schema:
          type: string
          const: https://ui.shadcn.com/schema/registry.json
        name:
          type: string
          example: mukoko
        homepage:
          type: string
          format: uri
          example: https://mzizi.dev
        items:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/RegistryItemSummary'
    RegistryFile:
      type: object
      required:
      - path
      - type
      - content
      properties:
        path:
          type: string
          example: components/ui/button.tsx
        type:
          type: string
          example: registry:ui
        content:
          type: string
          description: Full source code of the component file
    RegistryItem:
      type: object
      required:
      - $schema
      - name
      - type
      - description
      - dependencies
      - registryDependencies
      - files
      properties:
        $schema:
          type: string
          const: https://ui.shadcn.com/schema/registry-item.json
        name:
          type: string
        type:
          type: string
          enum:
          - registry:ui
          - registry:hook
          - registry:lib
        description:
          type: string
        dependencies:
          type: array
          items:
            type: string
        registryDependencies:
          type: array
          items:
            type: string
        files:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/RegistryFile'
    ServiceUnavailableError:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          example: Version history is not served by this API
        message:
          type: string
          description: Why the data is not served, and where to look instead.
  headers:
    CorsWildcard:
      schema:
        type: string
        example: '*'
    CachePublic:
      schema:
        type: string
        example: public, max-age=3600, s-maxage=86400
  responses:
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServiceUnavailable:
      description: Data this API does not serve, because it is not part of the registry's files
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceUnavailableError'