Listing Thumbnail

    Text-to-SQL

     Info
    Sold by: ONEKQ 
    Deployed on AWS
    Vendor Insights
    Quick Launch
    ONEKQ Text-to-SQL converts natural language questions into accurate SQL queries via generative AI. The price is ONE CENT PER QUERY. Available via REST and MCP, you can integrate the service to any agent workflow. The price is ONE CENT PER QUERY. Get instant refund for inaccurate queries.

    Overview

    ONEKQ Text-to-SQL converts your questions into SQL code. The price is ONE CENT PER QUERY.

    Ask "How many users signed up last month?", and get

    "SELECT COUNT(*) FROM users WHERE signup_date >= DATE_SUB(NOW(), INTERVAL 1 MONTH)".

    No SQL knowledge is required.

    Access the service through REST API or Model Context Protocol (MCP). Upload your database schemas once, then generate unlimited queries.

    If you think the generated SQL query is incorrect, report the error through API and get instant refunds.

    Highlights

    • One cent per query
    • Instant refund for inaccurate queries
    • Supporting REST and MCP

    Details

    Sold by

    Delivery method

    Integration protocol

    Type

    Supported services

    Deployed on AWS

    Unlock automation with AI agent solutions

    Fast-track AI initiatives with agents, tools, and solutions from AWS Partners.
    AI Agents

    Features and programs

    Vendor Insights

     Info
    Skip the manual risk assessment. Get verified and regularly updated security info on this product with Vendor Insights.

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Quick Launch

    Leverage AWS CloudFormation templates to reduce the time and resources required to configure, deploy, and launch your software.

    Pricing

    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Usage costs (1)

     Info
    Dimension
    Description
    Cost/request
    Per query generated
    Flat rate for each query generated
    $0.01

    Vendor refund policy

    Report errors via API and get instant refund

    REST

    curl -X POST <https://aws.api.onekq.ai/sql/error> -d '{ "apiKey": "key", "alias": "schema", "question": "", "query": "SQL", "timestamp": 123456, "errorDescription": "" }'

    MCP

    { "method": "tools/call", "params": { "name": "sql/report_error", "arguments": { "apiKey": "key", "alias": "schema", "question": "", "query": "SQL", "timestamp": 123456, "errorDescription": "" } } }

    How can we make this page better?

    We'd like to hear your feedback and ideas on how to improve this page.
    We'd like to hear your feedback and ideas on how to improve this page.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    Delivery details

    Supported services:
    • Amazon Bedrock AgentCore - Preview
    API-Based Agents & Tools

    API-Based Agents and Tools integrate through standard web protocols. Your applications can make API calls to access agent capabilities and receive responses.

    Additional details

    Usage instructions

    AI-powered SQL generation through MCP (Model Context Protocol) for Claude Desktop, Cursor, and Windsurf.

    Configuration

    Claude Desktop

    macOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

    Cursor

    macOS/Linux: ~/.cursor/mcp.json Windows: %USERPROFILE%\.cursor\mcp.json

    Windsurf

    macOS/Linux: ~/.codeium/windsurf/mcp_config.json Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

    { "mcpServers": { "onesql": { "command": "python3", "args": ["-c", "import urllib.request; exec(urllib.request.urlopen('<https://aws.api.onekq.ai/mcp-server.py>').read())"], "env": {"ONESQL_API_KEY": "your-api-key"} } } }

    Add "type": "stdio" for Cursor

    Usage Examples

    1. Upload Schema (Alias = Collection of CREATE TABLEs)

    Upload the following schemas with alias commerce: CREATE TABLE users (id INT PRIMARY KEY, email VARCHAR(255), created_at TIMESTAMP); CREATE TABLE products (id INT PRIMARY KEY, name VARCHAR(255), price DECIMAL(10,2), inventory INT); CREATE TABLE orders (id INT PRIMARY KEY, user_id INT, total DECIMAL(10,2), order_date TIMESTAMP); CREATE TABLE order_items (id INT PRIMARY KEY, order_id INT, product_id INT, quantity INT, price DECIMAL(10,2));

    2. List Your Schemas

    List all schema aliases Show all schemas under the alias commerce

    3. Delete Schema (When Needed)

    Delete the commerce schema

    4. Generate Queries Using Alias

    Using the commerce alias, find top 5 customers by total spending With the commerce alias, show products with low inventory With the commerce alias, find users who haven't ordered in 30 days

    Support

    Vendor support

    AWS infrastructure support

    AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 AWS reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.