Skip to content

Install SpecBase

Install the CLI

If you have Go 1.23+ installed:

go install github.com/aallbrig/specbase/cmd/specbase@latest

Homebrew (macOS / Linux)

brew install aallbrig/tap/specbase

Scoop (Windows)

scoop bucket add specbase https://github.com/aallbrig/scoop-bucket
scoop install specbase

Download binary

Pre-built binaries for Linux, macOS, and Windows are available on the GitHub Releases page.

Download the archive for your platform, extract it, and add the specbase binary to your PATH.

Verify installation

specbase --version

Quick start

Query the knowledge base for a web application with authentication:

specbase query web_app --features auth,i18n --format table

Initialize a project with generated spec stubs:

specbase init web_app --features auth,i18n --out ./specs

List all available project types:

specbase list-types

MCP integration

Add SpecBase as an MCP server in your AI agent config:

{
  "mcpServers": {
    "specbase": {
      "command": "specbase",
      "args": ["mcp", "--transport", "stdio"]
    }
  }
}

This works with Claude Code, Cursor, and GitHub Copilot.