AI-powered CLI agent and MCP server for database schema management.
Ask Forge is an AI-powered assistant for SchemaSmith database schema management. It brings the full SchemaSmith toolchain — schema extraction, deployment, validation, migration generation, and more — into a conversational interface powered by large language models.
Built on the Forge Barrett persona — a master database craftsman — Ask Forge speaks the language of your schemas and understands the SchemaSmith ecosystem from the ground up. It works across SQL Server, PostgreSQL, and MySQL.
With 46 tools organized into 4 tiers, 10 LLM providers, and 3 trust levels, Ask Forge gives you full control over what the assistant can do — from read-only schema exploration to running SchemaSmith tools against live databases.
Ask Forge brings AI to your schema workflow through two integration paths — plus direct CLI access when you don't need AI at all.
Run ForgeBarrett.Mcp.exe as an MCP server and connect it to Claude Desktop, VS Code, Cursor, or any MCP-compatible client. Your AI reasons over your schema using all 46 tools — with resources and prompts built in.
Don't use MCP? Ask Forge has its own agent with 10 LLM providers built in — Ollama, OpenAI, Anthropic, and more. Same 46 tools, self-contained.
Launch ask-forge for a persistent session. Browse schemas, run tools, and manage your database — no AI provider required. Full command history and direct control over all 46 tools.
Run one-off commands from your terminal for scripting and automation: ask-forge review, ask-forge design, ask-forge migrate, ask-forge troubleshoot.
Ask Forge organizes its 46 tools into four tiers, from read-only exploration to full external tool execution. Three trust levels control which tiers are accessible.
Schema navigation, data validation (nulls, orphans, duplicates), index analysis, dependency graphing, search, and diff/compare.
View Read-Only toolsMigration script generation, change suggestions, schema generation from natural language, and script saving.
View Generation toolsApply changes to schema JSON, rename tables and columns, create tables and packages, manage tokens. Requires confirmation.
View Modification toolsExecute SchemaTongs, SchemaQuench, and DataTongs against live databases for schema extraction, deployment, and data export. Includes log viewing for external tool output.
View External toolsRun locally with Ollama or connect to any cloud provider. Configure providers