Stop tuning queries manually.
Let AI iterate until it's fast.

https://connect.exobench.ai/mcp

An MCP server that autonomously rewrites, indexes, and benchmarks your SQL until it can't get any faster.

Your Favorite AI Agent

Start in 30 Seconds

Use with AI Assistants
Use with Code Editors
Other
claude.ai → Settings → Connectors → Add Custom Connector
1
Go to claude.ai

Click the sidebar icon on the top left corner

2
Open Connectors

Click your profile → Settings → Connectors

3
Add Custom Connector

Click "Add custom connector" and enter Name: ExoBench

4
Paste the URL

https://connect.exobench.ai/mcp

Then click Add to save the connector.

5
Start a New Chat

Open the sidebar again and click New Chat.

6
Enter your Prompt

For example:

This query is slow. Can you use ExoBench to make me an optimized version or a good index?

SELECT customer_id, SUM(amount) FROM orders 
WHERE status = 'pending' GROUP BY customer_id;

Scroll to the bottom of the chat and click Connect.

7
Authorize with GitHub

Click "Continue with Github" → "Authorize ExoQuery MCP" → "Always Allow"

Don't see your AI tool? Any MCP Client →

How It Works

ExoBench uses the Model Context Protocol (MCP) to give your AI tool direct access to a benchmarking database. The AI drives the optimization loop autonomously.

Paste Your Query

Give your AI any SQL query you want optimized.

AI Iterates Autonomously

Rewrites, creates indexes, benchmarks, and repeats until convergence.

Get Optimized Results

Receive the optimized query, indexes, and a full performance report.

What It Actually Does

Index Discovery

Finds missing indexes you didn't know you needed. Analyzes EXPLAIN plans and creates optimal single and composite indexes.

Query Rewriting

Restructures joins, subqueries, and filter ordering for optimal execution plans. Not cosmetic changes, structural ones.

Schema Suggestions

Proposes covering indexes and denormalization when the query can't be optimized further with rewrites alone.

Iterative Convergence

Doesn't stop at the first improvement. Loops until the benchmarker confirms no further gains are possible.

How Is This Different?

Manual Optimization AI Chatbot ExoBench
Runs real EXPLAIN ANALYZE You do it yourself No, guesses from syntax Yes, on real Postgres
Tests at multiple data scales Prohibitively slow Can't execute anything Automatic, one request
Tests data distribution impact Use the skew you have Can't test, only speculate Specify skew, see real plans
Verifies suggestions work If you benchmark manually No way to verify Every suggestion benchmarked
Iterates on optimizations You iterate manually Copy-paste loop AI iterates autonomously
Time per query Hours to days 30-60 min (unverified) Minutes (verified)
Your data stays private You run on staging You paste schema into chat Ephemeral DBs, synthetic data
Runs real EXPLAIN ANALYZE
You do it yourself
No, guesses from syntax
Yes, on real Postgres
Tests at multiple data scales
Prohibitively slow
Can't execute anything
Automatic, one request
Tests data distribution impact
Use the skew you have
Can't test, only speculate
Specify skew, see real plans
Verifies suggestions work
If you benchmark manually
No way to verify
Every suggestion benchmarked
Iterates on optimizations
You iterate manually
Copy-paste loop
AI iterates autonomously
Time per query
Hours to days
30-60 min (unverified)
Minutes (verified)
Your data stays private
You run on staging
You paste schema into chat
Ephemeral DBs, synthetic data

Supported Databases

ExoBench works with the databases you already use.

PostgreSQL
SQLite
Soon
MySQL
Soon
SQL Server

See It In Action

"I built ExoBench because I managed thousands of SQL queries in the financial services industry and got tired of hand-tuning every one of them."
Alexander Ioffe
Creator of ExoQuery · Software Engineer
ExoBench mascot

Get Early Access

ExoBench is currently in invite-only preview. Request access to get started.

Applications reviewed within 24–48 hours.