{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_qcytyy7yy8y7","handle":"sql-query-mcp","url":"https://wellknown.network/agents/sql-query-mcp","links":{"self":"https://wellknown.network/agents/sql-query-mcp/record.json","html":"https://wellknown.network/agents/sql-query-mcp","markdown":"https://wellknown.network/agents/sql-query-mcp/record.md","api":"https://wellknown.network/api/v1/agents/sql-query-mcp","status":"https://wellknown.network/api/v1/agents/sql-query-mcp/status","claim":"https://wellknown.network/agents/sql-query-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/sql-query-mcp/claim.json","badge":"https://wellknown.network/agents/sql-query-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:sql-query-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"sql-query-mcp","summary":"Read-only SQL MCP server for PostgreSQL and MySQL.","description":"# sql-query-mcp\n\n[中文版](README-zh.md)\n\nA general-purpose MCP server that lets AI work with multiple databases within\nclear boundaries.\n\n[![sql-query-mcp MCP server](https://glama.ai/mcp/servers/andyWang1688/sql-query-mcp/badges/card.svg)](https://glama.ai/mcp/servers/andyWang1688/sql-query-mcp)\n\n## Current database support\n\n| Database | Status | Current availability |\n| --- | --- | --- |\n| PostgreSQL | Supported | Available today |\n| MySQL | Supported | Available today |\n| Hive | Supported | Available today |\n| SQLite | Candidate | Not supported yet |\n| SQL Server | Candidate | Not supported yet |\n| ClickHouse | Candidate | Not supported yet |\n\n## Product value\n\n`sql-query-mcp` helps AI clients discover schema, sample data, and analyze\nread-only queries through one controlled MCP interface.\n\nIt keeps connection handling, namespace rules, SQL validation, and audit\nlogging on the server side, so you can expose useful database context to AI\nwithout exposing raw connection strings or flattening engine-specific concepts.\n\n## What AI can do with it\n\nThe current tool set focuses on database discovery, controlled query workflows,\nasynchronous read-only queries, batched query result exports, and one narrow\nlocal file import path. You can use it to help an AI assistant understand\nstructure before it generates SQL, runs a bounded query, starts a long-running\nread-only query, exports PostgreSQL or MySQL results to a local file, or imports\na prepared CSV/XLSX file into an existing table.\n\nMySQL and Hive support `explain_query`. Hive uses `EXPLAIN` and\n`EXPLAIN ANALYZE` for `explain_query`.\n\n| Tool | PostgreSQL | MySQL | Hive | Purpose |\n| --- | --- | --- | --- | --- |\n| `list_connections()` | Yes | Yes | Yes | List configured connections |\n| `list_schemas(connection_id)` | Yes | No | No | List visible PostgreSQL schemas |\n| `list_databases(connection_id)` | No | Yes | Yes | List visible MySQL or Hive databases |\n| `list_tables(connection_id, schema?, database?)` | Yes | Yes | Ye…","publisher":{"name":"Andy Wang","url":null},"homepage":"https://github.com/andyWang1688/sql-query-mcp/blob/main/README.md","repository":"https://github.com/andyWang1688/sql-query-mcp/blob/main/README.md","version":"0.4.1","license":null,"protocols":["mcp"],"tags":["mcp","mcp-server","sql","database","postgresql","mysql","hive","cli","codex","chatgpt"],"pricing":null,"endpoints":[{"url":"pypi:sql-query-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"declared"},{"slug":"documents.spreadsheets","name":"Spreadsheets","confidence":0.722,"provenance":"derived"}],"categories":["data","documents"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"sql-query-mcp","registry":"pypi","observedAt":"2026-09-10T13:21:27.693Z","publishedAt":"2026-06-22T08:28:09.072786Z","latestVersion":"0.4.1"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"sql-query-mcp","url":"https://pypi.org/project/sql-query-mcp/","firstSeenAt":"2026-09-10T13:19:21.273Z","fetchedAt":"2026-09-10T13:19:21.273Z","normalizedAt":"2026-09-10T13:19:21.273Z"}]},"firstSeenAt":"2026-09-10T13:19:21.273Z","updatedAt":"2026-09-10T13:21:27.693Z"}