Install the CLI, set up your license, configure an LLM provider, and run your first schema review in minutes.
By the SchemaSmith Team · Last reviewed
That's it. Your AI agent now has 47 SchemaSmith tools at its disposal.
Ask Forge is a .NET application that requires a SchemaSmith license. Gather these before you begin.
| Requirement | Details |
|---|---|
| SchemaSmith License | A valid SchemaSmith License.lic file. See Licensing below for details. |
| .NET Runtime | Not required. The downloads are self-contained; building from source needs the .NET 10 SDK. |
| Operating System | Windows, macOS, or Linux |
| LLM Provider (optional) | For AI-powered mode, you need an LLM provider. See all supported options. All commands work without one. |
AskForge is distributed as a Windows MSI installer (SetupAskForge-Enterprise.msi).
The installer:
C:\Program Files\SchemaSmith\ForgeBarrett\ask-forge CLI and the ForgeBarrett.Mcp MCP serverDuring installation, two features are available:
%APPDATA%\Claude\claude_desktop_config.jsonFor macOS, Linux, or environments where an MSI is not suitable, AskForge is also available as a ZIP package, AskForge-Enterprise.zip. The package includes both ask-forge.exe and ForgeBarrett.Mcp.exe.
ask-forgeTo use Ask Forge as an MCP server with Claude Desktop, VS Code, or other MCP clients, see MCP Server Setup for configuration instructions — the client launches ForgeBarrett.Mcp.exe automatically.
After installing, open a new terminal and run:
ask-forge --version
To confirm configuration is working:
ask-forge show-config
Ask Forge requires a valid license to run. It looks for a file named SchemaSmith License.lic by searching in this order:
SCHEMASMITH_LICENSE environment variable (the license file or its directory)ask-forge is installedPATHSchemaSmith License.lic in the install directory (C:\Program Files\SchemaSmith\SchemaSmith\) is the simplest option.
Run a specific command and exit:
ask-forge list-tables --product ./MyProduct --template Default
Every command works without an LLM provider. See Console & Commands for the full reference.
Launch Ask Forge without arguments to enter interactive mode:
ask-forge
In interactive mode you can type commands directly (e.g., list-tables, show-config) or ask natural language questions if an LLM provider is configured.
An LLM provider enables natural language interaction but is not required for any command. Here are three ways to get started:
ollama pull llama3:8bset SCHEMASMITH_LLM_PROVIDER=OpenAI
set SCHEMASMITH_LLM_API_KEY=sk-your-key-here
set SCHEMASMITH_LLM_MODEL=gpt-4o
export SCHEMASMITH_LLM_PROVIDER=OpenAI
export SCHEMASMITH_LLM_API_KEY=sk-your-key-here
export SCHEMASMITH_LLM_MODEL=gpt-4o
For full config reference, see Configuration.
Try these commands to get productive immediately.
List all tables in a schema package:
ask-forge list-tables \
--product ./MyProduct \
--template Default
Run an instant schema review for issues:
ask-forge review-schema \
--product ./MyProduct \
--template Default
Search the built-in knowledge base:
ask-forge search-knowledge \
--query "naming conventions"
Inspect a specific table's structure:
ask-forge show-table \
--product ./MyProduct \
--template Default \
--table Users