Docs / Getting started
Introduction
Updated
SayQL lets you and AI agents like Claude Code and Cursor query your databases without handing your data to the AI: by default it gets your schema and counts, never your rows. Say what you need in plain English. SayQL knows your schema, writes the SQL with the AI you choose, and changes nothing unless you say so. AI apps such as Claude and Cursor can use it too, within the limits you set, and SayQL for teams adds rules for the AI and a record of every query.
InstallDownload and open SayQL on macOS, Windows or Linux.
Choose your AIClaude, OpenAI, Gemini, a local model and more.
Ask in EnglishQuestions, follow-ups, fixes and Improve.
How it works
- Type what you want in the Ask box, in plain English. Pick tables in the navigator to point SayQL at the right place.
- Read the SQL as it streams into the editor. Follow up to change it: "only Canada", "sort by date".
- Run it safely. Queries run read-only; anything that could change data asks you first.
SayQL follows your system's light or dark mode. Switch it with the sun and moon button in the top bar.
Next steps
- Install SayQL and open it for the first time.
- Pick an AI provider, or run a model on your own computer.
- Connect your database, or start with the demo.
- Let AI agents in (Claude Code, Cursor) and choose what they may see.
- For a company: govern every agent on a SayQL server, with its own key, tables and rows, and every query on record.
Guides
- Ask PostgreSQL questions in plain English
- Text-to-SQL for MySQL and MariaDB
- Query SQL Server and Azure SQL in plain English
- Let your team query production safely
- Write SQL with a local AI (Ollama or LM Studio)
Something missing or unclear? Ask in Discussions.