AskSQL

rahulmahadik/AskSQL
★ 2 stars TypeScript Database Updated 2d ago
AI database chat for Node and the browser: ask in plain language, review the query, get answers. Postgres, MySQL, SQLite, DuckDB, Oracle, MongoDB. Read-only AST guard, React UI, MCP server, VS Code & JetBrains.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "asksql": {
      "command": "npx",
      "args": [
        "-y",
        "rahulmahadik/AskSQL"
      ]
    }
  }
}

README Excerpt

*Ask your database a question in plain English. Review the SQL. Approve it. Get the answer.* AskSQL turns your question into a SQL query, shows you the query and a short explanation, and runs it only after you approve. It is read-only by design: a deterministic guard refuses anything that is not a SELECT, so asking it to delete rows gets you the statement written

Tools (3)

Appmongodbmysql2

Topics

aianthropicasksqldatabase-chatduckdbllmmcpmysqlnatural-languagenl2sqlollamaopenaipostgresreactsql
📊
Working with market or time-series data?
The Polymarket Historical Dataset — 18.5M+ price snapshots across 18,600+ prediction markets (CSV + SQLite). Built for backtesting & ML.
View dataset →