# SQLEye > SQLEye is a free desktop app (macOS, Windows, Linux) that runs local PostgreSQL and MySQL instances in one click and shows every query hitting them in real time, flagging slow queries and N+1 patterns without changing application code. It is developed and maintained by CodeROG (https://coderog.com), free to download and use, closed source (© CodeROG), and is not released yet: there are no downloads. Features marked "planned" in these pages do not exist yet. AI coding agents can use SQLEye through its built-in MCP server (off by default): start at https://sqleye.com/docs/ai-agents/. Only the Claude Code setup has been verified against a real install. Every documentation page and blog post is also available as Markdown at the same URL with .md instead of a trailing slash. The full text of everything below is in https://sqleye.com/llms-full.txt. ## Start here - [About SQLEye](https://sqleye.com/about/): what it is, who makes it, platforms, licence, price and status. - [Documentation home](https://sqleye.com/docs/index.md): what the docs cover. - [FAQ](https://sqleye.com/docs/faq/): short answers to common questions. - [Glossary](https://sqleye.com/docs/glossary/): definitions of terms, one per page. ## Documentation - [SQLEye documentation](https://sqleye.com/docs/index.md): Documentation for SQLEye, a free desktop app that runs local PostgreSQL and MySQL and shows every query live. - [AI coding agents and SQLEye](https://sqleye.com/docs/ai-agents.md): SQLEye has a local MCP server that lets coding agents manage instances and read captured queries, slow queries and N+1 groups. Off by default. - [Set up Antigravity with SQLEye](https://sqleye.com/docs/ai-agents/agents/antigravity.md): Add SQLEye to Antigravity with one click from Settings, MCP, which edits ~/.gemini/config/mcp_config.json. Not tested against Antigravity. - [Set up Augment (Auggie) with SQLEye](https://sqleye.com/docs/ai-agents/agents/augment.md): Add SQLEye to Augment (Auggie) with one click from Settings, MCP, which edits ~/.augment/settings.json. Not tested against Augment. - [Set up Claude Code with SQLEye](https://sqleye.com/docs/ai-agents/agents/claude-code.md): Add SQLEye to Claude Code with one click from Settings, MCP, or with one claude mcp add-json command. Verified against a real Claude Code install. - [Set up Codex with SQLEye](https://sqleye.com/docs/ai-agents/agents/codex.md): Add SQLEye to Codex with one click from Settings, MCP, which writes an mcp_servers.sqleye table to ~/.codex/config.toml. Not tested against Codex. - [Set up GitHub Copilot CLI with SQLEye](https://sqleye.com/docs/ai-agents/agents/copilot-cli.md): Add SQLEye to GitHub Copilot CLI with one click from Settings, MCP, which edits ~/.copilot/mcp-config.json. Not tested against Copilot CLI. - [Set up Cursor with SQLEye](https://sqleye.com/docs/ai-agents/agents/cursor.md): Add SQLEye to Cursor with one click from Settings, MCP, which edits the global ~/.cursor/mcp.json file. Not tested against Cursor. - [Set up Devin with SQLEye](https://sqleye.com/docs/ai-agents/agents/devin.md): Add SQLEye to Devin with one click from Settings, MCP, which edits ~/.config/devin/mcp_config.json. Not tested against Devin. - [Set up Factory Droid with SQLEye](https://sqleye.com/docs/ai-agents/agents/factory-droid.md): Add SQLEye to Factory Droid with one click from Settings, MCP, which edits ~/.factory/mcp.json. Not tested against Factory Droid. - [Set up Gemini CLI with SQLEye](https://sqleye.com/docs/ai-agents/agents/gemini-cli.md): Add SQLEye to Gemini CLI with one click from Settings, MCP, which edits ~/.gemini/settings.json. Not tested against Gemini CLI. - [Set up Grok Build with SQLEye](https://sqleye.com/docs/ai-agents/agents/grok-build.md): Add SQLEye to Grok Build with one click from Settings, MCP, which writes an mcp_servers.sqleye table to ~/.grok/config.toml. Not tested against Grok Build. - [Set up Kilo Code with SQLEye](https://sqleye.com/docs/ai-agents/agents/kilo.md): Add SQLEye to Kilo Code with one click from Settings, MCP, which edits ~/.config/kilo/kilo.jsonc. Not tested against Kilo Code. - [Set up Kiro with SQLEye](https://sqleye.com/docs/ai-agents/agents/kiro.md): Add SQLEye to Kiro with one click from Settings, MCP, which edits the user-level ~/.kiro/settings/mcp.json file. Not tested against Kiro. - [Enable the MCP server](https://sqleye.com/docs/ai-agents/enable.md): Turn on SQLEye's MCP server in Settings, MCP, see its status and connected agents, and learn what it creates and removes when switched on or off. - [Manual Setup for any MCP client](https://sqleye.com/docs/ai-agents/manual-setup.md): Copy SQLEye's stdio MCP server config from Settings, MCP, Manual Setup into any client that supports stdio servers, such as OpenCode, VS Code or Cline. - [Security settings and approvals](https://sqleye.com/docs/ai-agents/security.md): The three MCP security settings in SQLEye, how the approval prompt works, what read-only mode hides and what data agents can and cannot reach. - [Set up an AI agent with SQLEye](https://sqleye.com/docs/ai-agents/setup.md): One-click setup of SQLEye's MCP server in 12 coding agents from Settings, MCP, which agents are verified, and Manual Setup for any other client. - [MCP tool reference](https://sqleye.com/docs/ai-agents/tools.md): All 16 SQLEye MCP tools with arguments, limits, truncation, access class and example calls and results, including read-only mode behaviour. - [Troubleshoot MCP and agent setup](https://sqleye.com/docs/ai-agents/troubleshooting.md): Fix "SQLEye is not reachable", a row that says Not installed, tools missing in read-only mode, refused approvals and server errors in SQLEye's MCP setup. - [Connect your app to a SQLEye database](https://sqleye.com/docs/connect.md): Every SQLEye instance listens on 127.0.0.1 with no password. Use host, port and user from the Info tab, then pick your framework or client. - [Connect with psql and mysql](https://sqleye.com/docs/connect/cli-clients.md): Commands to open psql or mysql against a SQLEye instance and to create a database, using 127.0.0.1, the instance port and no password. - [Connect Django to SQLEye](https://sqleye.com/docs/connect/django.md): Configure DATABASES in settings.py with HOST 127.0.0.1, the instance port and no password to use a SQLEye PostgreSQL or MySQL instance. - [Connect .NET to SQLEye](https://sqleye.com/docs/connect/dotnet.md): Use an Npgsql or MySqlConnector connection string with Host or Server 127.0.0.1, the instance port and no password to reach SQLEye. - [Connect Go to SQLEye](https://sqleye.com/docs/connect/go.md): Connect Go to a SQLEye PostgreSQL instance with pgx or a MySQL instance with go-sql-driver/mysql using 127.0.0.1 and no password. - [Connect a GUI database client](https://sqleye.com/docs/connect/gui-clients.md): Any GUI database client that takes host, port and user works with SQLEye, including pgAdmin, DBeaver, TablePlus and DataGrip. - [Connect Laravel to SQLEye](https://sqleye.com/docs/connect/laravel.md): Set DB_CONNECTION, DB_HOST, DB_PORT, DB_DATABASE and DB_USERNAME in .env to use a SQLEye PostgreSQL or MySQL instance with Laravel. - [Connect Node.js (Prisma, Drizzle, Knex)](https://sqleye.com/docs/connect/nodejs.md): Use a DATABASE_URL pointing at 127.0.0.1 with Prisma, Drizzle or Knex to connect Node.js to a SQLEye PostgreSQL or MySQL instance. - [Connect Rails to SQLEye](https://sqleye.com/docs/connect/rails.md): Point Rails at a SQLEye PostgreSQL or MySQL instance with a DATABASE_URL using 127.0.0.1, the instance port and no password. - [Connect Spring Boot to SQLEye](https://sqleye.com/docs/connect/spring.md): Set spring.datasource.url, username and password to a jdbc URL on 127.0.0.1 to use a SQLEye PostgreSQL or MySQL instance with Spring Boot. - [Supported database engines and versions](https://sqleye.com/docs/engines.md): Which PostgreSQL and MySQL versions SQLEye can run as of 2026-11-29, where the binaries come from, and how they are downloaded. - [MySQL in SQLEye](https://sqleye.com/docs/engines/mysql.md): How SQLEye runs MySQL 8.0 and 8.4, covering managed config, root with no password, binding, how capture polls performance_schema, and limits. - [PostgreSQL in SQLEye](https://sqleye.com/docs/engines/postgresql.md): How SQLEye runs PostgreSQL 15, 16 and 17, covering managed config, trust authentication, binding, how capture works, and the connection string. - [See your first captured query in Live Eye](https://sqleye.com/docs/getting-started/first-captured-query.md): Turn on Capture for a running instance, run a query with psql or mysql, and watch it appear in the Live tab. - [Create and start your first instance](https://sqleye.com/docs/getting-started/first-instance.md): Create a local PostgreSQL or MySQL instance in SQLEye, start it, and copy its connection string in a few steps. - [Install SQLEye on Linux](https://sqleye.com/docs/getting-started/install-linux.md): How installing SQLEye on Linux x64 will work, which system libraries engines may need, and where data lives. No download is available yet. - [Install SQLEye on macOS](https://sqleye.com/docs/getting-started/install-macos.md): How installing SQLEye on macOS will work, where it stores data, and what downloads on first use. No download is available yet. - [Install SQLEye on Windows](https://sqleye.com/docs/getting-started/install-windows.md): How installing SQLEye on Windows x64 will work, where it stores data, and what downloads on first use. No download is available yet. - [Auto-start and launch at login](https://sqleye.com/docs/instances/auto-start.md): How the per-instance auto-start toggle and the Launch at login setting work in SQLEye, what happens on failure, and their defaults. - [Create an instance](https://sqleye.com/docs/instances/create.md): Create a local PostgreSQL or MySQL instance in SQLEye by choosing an engine, version, name and port in the New instance dialog. - [Find where SQLEye stores data](https://sqleye.com/docs/instances/data-location.md): Where SQLEye keeps instance data, logs, engine binaries and settings on macOS, Windows and Linux, and how to reveal the folder. - [Delete an instance](https://sqleye.com/docs/instances/delete.md): Delete a SQLEye instance, choose whether its data directory is removed too, and uninstall engine versions no instance uses. - [Choose and change an instance port](https://sqleye.com/docs/instances/ports.md): How SQLEye picks default ports 5432 and 3306, finds a free one when taken, and how to change an instance's port while stopped. - [Start and stop an instance](https://sqleye.com/docs/instances/start-and-stop.md): Start and stop SQLEye instances from the app or the tray menu, what the statuses mean, and what happens when a port is busy. - [Run several versions side by side](https://sqleye.com/docs/instances/versions-side-by-side.md): Run PostgreSQL 15, 16, 17 and MySQL 8.0 or 8.4 at the same time in SQLEye, each instance with its own port and data directory. - [Turn query capture on and off](https://sqleye.com/docs/live-eye/capture.md): Capture is per instance and off by default. See what it changes on PostgreSQL and MySQL, what it costs, and how turning it off restores config. - [See who is connected to an instance](https://sqleye.com/docs/live-eye/connections.md): The Connections tab lists clients connected to a PostgreSQL or MySQL instance with user, database, application, state and current SQL. - [Explain a captured query](https://sqleye.com/docs/live-eye/explain.md): Use Explain in the query detail panel to see a plan for a single SELECT, INSERT, UPDATE or DELETE. SQLEye never runs ANALYZE. - [Filter and search the live query stream](https://sqleye.com/docs/live-eye/filters.md): Every Live Eye toolbar control and keyboard shortcut, from Pause and Clear to Slow only, N+1 only, Errors only and shape filters. - [Detect N+1 queries](https://sqleye.com/docs/live-eye/n-plus-one.md): SQLEye flags an N+1 when one query shape repeats 5 or more times on one connection within 1000 ms with different values. Defaults and tuning. - [What is Live Eye?](https://sqleye.com/docs/live-eye/overview.md): Live Eye is SQLEye's per-instance live query stream showing SQL, duration, rows and connection, with slow-query and N+1 detection on top. - [Group queries by shape](https://sqleye.com/docs/live-eye/query-shapes.md): A query shape is a statement with literals replaced by ?. See the fingerprint rules and the Shapes tab columns for count, total, average and max. - [Find slow queries](https://sqleye.com/docs/live-eye/slow-queries.md): A query is slow when its duration reaches the threshold in Settings (default 100 ms). Use Slow only to list them and the Shapes tab to rank them. - [Privacy and your data in SQLEye](https://sqleye.com/docs/privacy-and-data.md): SQLEye has no telemetry. What it stores and where, when it uses the network, and how to remove everything it created. - [SQLEye roadmap](https://sqleye.com/docs/roadmap.md): What SQLEye is planning after the first release, from explain advice and schema tools to monitoring and backups. Plans, not promises, with no dates. - [SQLEye settings reference](https://sqleye.com/docs/settings.md): Every SQLEye setting with its default and allowed range, from slow query threshold, N+1 rules, buffer size, launch at login and theme. - [Use the tray and menu bar](https://sqleye.com/docs/tray.md): What the SQLEye tray or menu bar icon does, from start and stop instances, open the window, and quit. Closing the window only hides it. - [Troubleshooting SQLEye](https://sqleye.com/docs/troubleshooting.md): Fixes for the most common SQLEye problems, such as a port in use, an engine that will not start, missing Linux libraries or an empty stream. - [Fix an instance that won't start](https://sqleye.com/docs/troubleshooting/engine-wont-start.md): When an instance shows Error, read the banner, check logs/server.log, then check the port and missing Linux libraries. Start waits 120 seconds. - [Fix missing Linux libraries](https://sqleye.com/docs/troubleshooting/missing-linux-libraries.md): Install libaio, libnuma or ncurses when an instance fails with a Missing system library message on Linux. Package names for Debian and Fedora. - [Fix an empty Live Eye stream](https://sqleye.com/docs/troubleshooting/no-queries-showing.md): Checklist for when Live Eye shows no queries - capture, running state, port, paused stream, filters, ignored statements and MySQL history overflow. - [Fix "Port is already in use"](https://sqleye.com/docs/troubleshooting/port-in-use.md): Change the instance's port or stop the process that holds it. Commands to find which program is listening on a port on macOS, Linux and Windows. ## FAQ - [Can AI coding agents use SQLEye?](https://sqleye.com/docs/faq/can-ai-coding-agents-use-sqleye.md): Yes. SQLEye has a local MCP server, off by default, with one-click setup for 12 coding agents. Only Claude Code is verified, and SQLEye is unreleased. - [Can I use it on a production database?](https://sqleye.com/docs/faq/can-i-use-it-on-production.md): No. SQLEye manages local instances it starts itself; remote and production monitoring is planned, not built. - [Does it work with Docker or my own PostgreSQL?](https://sqleye.com/docs/faq/docker-or-existing-postgresql.md): Not in the first release. SQLEye runs its own instances; Docker containers and existing servers are not targets yet. - [Does capture slow down my database?](https://sqleye.com/docs/faq/does-capture-slow-my-database.md): Capture costs the database some throughput, so it is off by default and switching it off restores the normal config. - [Does it change my application code?](https://sqleye.com/docs/faq/does-it-change-my-application-code.md): No. You only point your app at the local connection string; your code, ORM and driver stay as they are. - [Does SQLEye send my data anywhere?](https://sqleye.com/docs/faq/does-sqleye-send-my-data.md): No. SQLEye has no telemetry; its only network use is downloading the database engine you choose. - [How does SQLEye capture queries?](https://sqleye.com/docs/faq/how-does-sqleye-capture-queries.md): It uses the server's own tooling: PostgreSQL statement logging in JSON, and MySQL performance_schema. - [Is SQLEye available yet?](https://sqleye.com/docs/faq/is-sqleye-available-yet.md): Not yet. SQLEye is in development with no downloads today; join the email list on the homepage to hear about the first release. - [Is SQLEye free?](https://sqleye.com/docs/faq/is-sqleye-free.md): Yes. SQLEye is free to download and use, closed source, with no telemetry; paid team and cloud features are only a plan. - [What counts as an N+1 query?](https://sqleye.com/docs/faq/what-counts-as-an-n-plus-one-query.md): The same query shape run 5 or more times on one connection within 1 second, with differing values. - [Which databases and versions does it run?](https://sqleye.com/docs/faq/which-databases-and-versions.md): SQLEye runs PostgreSQL 15, 16 and 17 and MySQL 8.0 and 8.4, side by side, each on its own port. - [Which operating systems does SQLEye support?](https://sqleye.com/docs/faq/which-operating-systems.md): SQLEye is planned for macOS (Apple silicon and Intel), Windows x64 and Linux x64. ## Glossary - [Query capture](https://sqleye.com/docs/glossary/capture.md): Capture is SQLEye's per-instance switch that records the statements a database runs, off by default. - [Connection string](https://sqleye.com/docs/glossary/connection-string.md): A connection string is a single text value, usually a URL, that tells an application how to reach a database. - [Eager loading](https://sqleye.com/docs/glossary/eager-loading.md): Eager loading is an ORM technique that fetches related records together with the parent query instead of one by one. - [EXPLAIN plan](https://sqleye.com/docs/glossary/explain-plan.md): An EXPLAIN plan is the database's description of how it intends to run a query, shown as a tree of steps with cost estimates. - [Instance](https://sqleye.com/docs/glossary/instance.md): An instance in SQLEye is one managed database server with its own engine version, port, data folder and settings. - [PostgreSQL jsonlog](https://sqleye.com/docs/glossary/jsonlog.md): jsonlog is a PostgreSQL log_destination setting that writes server log entries as JSON, one object per line. - [MCP (Model Context Protocol)](https://sqleye.com/docs/glossary/mcp.md): MCP, the Model Context Protocol, is an open standard for connecting AI applications to external tools and data. - [N+1 query](https://sqleye.com/docs/glossary/n-plus-one-query.md): An N+1 query is a pattern where code runs one query for a list, then one more query for each of its N rows. - [performance_schema](https://sqleye.com/docs/glossary/performance-schema.md): performance_schema is MySQL's built-in database for monitoring server execution at a low level, including statement history. - [pg_stat_activity](https://sqleye.com/docs/glossary/pg-stat-activity.md): pg_stat_activity is a PostgreSQL view with one row per server process, showing its state and current or last query. - [Query shape](https://sqleye.com/docs/glossary/query-shape.md): A query shape is a SQL statement with its literal values replaced by placeholders, so repeated queries group together. - [Ring buffer](https://sqleye.com/docs/glossary/ring-buffer.md): A ring buffer is a fixed-size store that overwrites its oldest entries when full, keeping memory use bounded. - [Sequential scan](https://sqleye.com/docs/glossary/sequential-scan.md): A sequential scan is a query plan step that reads every row of a table in physical order, ignoring any index. - [Slow query](https://sqleye.com/docs/glossary/slow-query.md): A slow query is a statement whose duration is at or above a chosen threshold; in SQLEye the default is 100 ms. ## Release notes - [SQLEye 0.1.0 release notes](https://sqleye.com/changelog/0-1-0.md): The first SQLEye release, in development: local PostgreSQL and MySQL instances plus a live query stream with slow-query and N+1 detection. ## Blog posts - [Introducing SQLEye](https://sqleye.com/blog/introducing-sqleye.md): SQLEye is a free desktop app that runs local PostgreSQL and MySQL and shows every query live. Here is what it is, how it works and where it stands. - [N+1 in Eloquent, ActiveRecord, Django, Prisma](https://sqleye.com/blog/n-plus-one-in-eloquent-activerecord-django-prisma.md): Spot and fix N+1 queries in Laravel Eloquent, Rails ActiveRecord, Django ORM and Prisma, with the slow code, the fix and the query log pattern. - [Log Every Query in Local Development](https://sqleye.com/blog/log-every-query-in-local-development.md): How to log every SQL statement in local PostgreSQL and MySQL, which settings to use, what it costs, and how to switch it off again safely. - [How to Read a PostgreSQL EXPLAIN Plan](https://sqleye.com/blog/how-to-read-an-explain-plan.md): Read a PostgreSQL EXPLAIN plan node by node, from costs and row estimates to scan and join types, EXPLAIN ANALYZE and BUFFERS, plus MySQL basics. - [Run multiple PostgreSQL versions side by side](https://sqleye.com/blog/run-multiple-postgresql-versions-side-by-side.md): Run PostgreSQL 15, 16 and 17 on one machine using separate data directories and ports, with exact initdb and pg_ctl commands and common pitfalls. - [Find slow MySQL queries with performance_schema](https://sqleye.com/blog/find-slow-queries-in-mysql-performance-schema.md): Rank MySQL queries by total time with performance_schema and the sys schema, convert picosecond timers to milliseconds, or use the slow query log. - [Find slow queries in PostgreSQL](https://sqleye.com/blog/find-slow-queries-in-postgresql.md): Use log_min_duration_statement and pg_stat_statements to find slow PostgreSQL queries, with exact settings, units and what needs a restart. - [What is an N+1 query?](https://sqleye.com/blog/what-is-an-n-plus-one-query.md): An N+1 query is one query for a list plus one more per row. Learn how to spot it, three ways to fix it, and when it is harmless. ## Comparisons - [SQLEye vs DBngin](https://sqleye.com/compare/sqleye-vs-dbngin.md): How SQLEye and DBngin compare for running local databases: live query capture versus a broader engine list. - [SQLEye vs Docker Compose](https://sqleye.com/compare/sqleye-vs-docker-compose.md): SQLEye versus running databases with Docker Compose: when containers are the better choice and when a native app with a live query view is. - [SQLEye vs Laravel Telescope](https://sqleye.com/compare/sqleye-vs-laravel-telescope.md): SQLEye watches queries at the database server; Laravel Telescope records them from inside a Laravel app. Where each fits. ## Optional - [Release notes index](https://sqleye.com/changelog/) - [Blog RSS feed](https://sqleye.com/blog/rss.xml) - [Release notes RSS feed](https://sqleye.com/changelog/rss.xml) - [Sitemap](https://sqleye.com/sitemap-index.xml)