ElasticSearch: ```bash pip install "db-query-mcp[elasticsearch]" ```
ElasticSearch: bash pip install "db-query-mcp[elasticsearch]" . Exposed over MCP by the db query mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
db-query-mcp is a mcp tool supporting diverse database querying and exporting, featuring:
Everything the assistant can do here goes through one of these:
Multi — DB Support**: Full compatibility with mainstream databases (ElasticSearch, MySQL, PostgreSQL, Oracle, SQLite, etc.)Roadmap — Expanding support for MongoDB and GraphDatabase to become full-stack DB query MCPDatabase — Connection PackageSQLite — Built-in PythonMySQL — pymysql or mysql-connector-pythonPostgreSQL — psycopg2 or psycopg2-binaryOracle — cx_OracleInstallation goes through your MCP client rather than a global install: point it at db-query-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Db Query MCP's toolset — Multi, Roadmap, Database and 4 more — is a fair guide to whether it matches your workflow. It is maintained by NewToolAI; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Db Query MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Multi | DB Support**: Full compatibility with mainstream databases (ElasticSearch, MySQL, PostgreSQL, Oracle, SQLite, etc.) |
| Roadmap | Expanding support for MongoDB and GraphDatabase to become full-stack DB query MCP |
| Database | Connection Package |
| SQLite | Built-in Python |
| MySQL | pymysql or mysql-connector-python |
| PostgreSQL | psycopg2 or psycopg2-binary |
| Oracle | cx_Oracle |
```json
{
"mcpServers": {
"es_db_mcp": {
"command": "uvx",
"args": [
"db-query-mcp",
"--db",
"elasticsearch",
"--uri",
"https://user:password@localhost:9200?index=test_data_index&ca_certs=/home/user/http_ca.crt"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.