Ask questions in plain English — or out loud. SayQuery writes the SQL, runs it read-only against your own database, and answers back with the data.
| customer | revenue |
|---|---|
| Acme Corp | $48,200 |
| Globex | $31,750 |
| Initech | $27,900 |
No SQL, no schema-hunting, no BI dashboards to configure. Just ask.
Type or speak your question. “Which invoices are overdue?” “Break down sales by region last month.”
It uses the schema notes you provide, generates a SELECT, and runs it — writes are refused in code.
A plain-English summary, the result table, the exact SQL, and one-click export to Excel. Follow up to refine.
A complete, self-hosted app — not a demo.
Follow-ups keep context — “now only the unpaid ones, by region.” Every chat is saved to a per-user history sidebar.
Only SELECT/SHOW/DESCRIBE ever run; stacked statements are blocked. Pair with a read-only DB user for real least-privilege.
Describe your schema and quirks in a plain-text file. It’s read on every question and takes effect immediately — no retraining.
Save any query as a named report and re-run it live anytime. Export any result straight to Excel.
Optional “Talk” button connects a voice agent to the same engine — ask out loud, see the table on screen.
Runs on any PHP + MySQL server. Your database, your API key, your rules. Pluggable auth or bring your own SSO.
Flip on voice and SayQuery answers by speech while showing the data on screen. It even understands “save this as a report.” Perfect for hands-free dispatch, ops floors, and driving.
Non-SELECT queries are rejected in code — and again if you use a read-only DB user.
Nothing runs on someone else’s servers. Deploy on your own box in minutes.
Your Anthropic key and DB credentials stay in a git-ignored config on your server.
Self-host the open-source core for nothing. Go Pro when you want your own database, voice, and zero setup.
PHP 8.1+, MySQL, an Anthropic API key. That’s it.